list_streams
Lists streams in a given project and location. For example: { parent: "projects/my-project/locations/us-central1" create_time_after: 2025-10-02T10:15:33Z create_time_before: 2025-10-03T00:00:00Z display_name: bookstore page_size: 100 running: true } will return up to 100 running streams in projec...
This record as markdown: /tools/com-googleapis-datastream-mcp/list-streams.md
What list_streams does on Mcp
AI agents call list_streams to retrieve information from Mcp without modifying anything. It is typically the context-gathering step in research, monitoring, and reporting workflows, before the agent takes action elsewhere.
| Parameter | Type | Required | Description |
|---|---|---|---|
failed | boolean | — | Optional. Use to get streams that are currently in state FAILED or FAILED_PERMANENTLY. |
parent | string | Yes | Required. The parent that owns the collection of streams. Must be in the format `projects/*/locations/*`. For example: 'projects/my-project/locations/us-central |
running | boolean | — | Optional. Use to get streams that are currently in state RUNNING. |
pageSize | integer | — | Optional. Use to limit the number of streams returned. Valid values are between 1 and 1000 inclusive. Defaults to 1000 if not provided or outside of the valid r |
pageToken | string | — | Optional. A page token, received from a previous `list_streams` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provid |
displayName | string | — | Optional. Use to get streams whose display name contains the provided name. |
createTimeAfter | string | — | Optional. Use to get streams that were created on or after the provided date/time, formatted as RFC-3339. Common Examples: 2023-09-24T15:30:00Z or 2023-09-24T15 |
createTimeBefore | string | — | Optional. Use to get streams that were created before the provided date/time, formatted as RFC-3339. Common Examples: 2023-09-24T15:30:00Z or 2023-09-24T15:30:0 |
Parameters from the server's own tool schema.
Why list_streams is rated Low
This tool purely retrieves and lists existing Datastream resources without creating, modifying, deleting, or executing any operations. It is a read-only query operation with minimal blast radius—exposure would only allow an attacker to enumerate streams and their metadata within a GCP project.
From the tool's definition Tool name is 'list_streams' and description states 'Lists streams in a given project and location.' The example shows filtering and pagination parameters (parent, create_time_after, create_time_before, display_name, page_size, running) used to query and…
Attacks that exploit this kind of access
The rule that runs list_streams safely
PolicyLayer is an MCP gateway: it sits between your AI agents and Mcp, and checks every tool call against a rule you set before the call runs. Nothing changes on the server itself. For list_streams, this is the rule to start with:
list_streams is read-only, so it stays allowed. Everything else on the server is denied unless you say otherwise.
The button opens the PolicyLayer dashboard: create your workspace, connect Mcp, apply this rule, and every list_streams call is checked against it from then on.
Questions about list_streams
Lists streams in a given project and location. For example: { parent: "projects/my-project/locations/us-central1" create_time_after: 2025-10-02T10:15:33Z create_time_before: 2025-10-03T00:00:00Z display_name: bookstore page_size: 100 running: true } will return up to 100 running streams in projects/my-project/locations/us-central1 that were created on or after 2025-10-02T10:15:33 UTC and before 2025-10-03T00:00:00 UTC, and have "bookstore" in their display name. It is categorised as a Read tool in the Mcp MCP Server, which means it retrieves data without modifying state.
list_streams accepts 8 parameters: failed, parent, running, pageSize, pageToken, displayName, createTimeAfter, createTimeBefore. Required: parent. The full parameter table on this page comes from the server's own tool schema.
Register the MCP server in PolicyLayer and add a rule for list_streams: allow, deny, rate-limit, or require approval. Point your MCP client at the PolicyLayer proxy URL and the rule is enforced on every call, before it reaches Mcp. Nothing to install.
list_streams is a Read tool with low risk. Read-only tools are generally safe to allow by default.
Yes. Add a rate_limit block to the list_streams rule in your PolicyLayer policy. For example, setting max: 10 and window: 60 limits the tool to 10 calls per minute. Rate limits are tracked per agent session and reset automatically.
Set action: deny in the PolicyLayer policy for list_streams. The AI agent will receive a policy violation error and cannot call the tool. You can also include a reason field to explain why the tool is blocked.
list_streams is provided by the MCP server (https://datastream.googleapis.com/mcp). PolicyLayer sits as a proxy in front of this server to enforce policies before tool calls reach the server.
More on , and thousands of servers like it.
This server
Across the catalogue