# 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.

Agent View of the PolicyLayer registry record for `list_streams`. HTML page: https://policylayer.com/tools/com-googleapis-datastream-mcp/list-streams

## Facts

- Tool: `list_streams`
- Server: Mcp (`https://datastream.googleapis.com/mcp`) — https://policylayer.com/tools/com-googleapis-datastream-mcp.md
- Homepage: https://github.com/https://datastream.googleapis.com/mcp
- Risk category: Read (Low risk)
- Registry record: grade F, identity unverified
- Server auth posture: open
- Server rate-limited: no
- Parameters: 8 (1 required)
- Recommended policy verdict: Allowed

## Parameters

| Parameter | Type | Required | Description |
| --- | --- | --- | --- |
| `failed` | boolean | no | 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 | no | Optional. Use to get streams that are currently in state RUNNING. |
| `pageSize` | integer | no | 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 | no | 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 | no | Optional. Use to get streams whose display name contains the provided name. |
| `createTimeAfter` | string | no | 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 | no | 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.

## Example call (MCP tools/call, JSON-RPC 2.0)

```json
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "list_streams",
    "arguments": {
      "parent": "<parent>"
    }
  }
}
```

## 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 own 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…"

## Use case

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.

## Recommended policy (PolicyLayer)

Verdict: **Allowed**. Enforced by the PolicyLayer MCP gateway (https://policylayer.com/mcp-gateway) before a call reaches Mcp:

```json
{
  "version": "1",
  "default": "deny",
  "tools": {
    "list_streams": {}
  }
}
```

## Other tools on Mcp (9)

- `delete_stream` — Destructive — https://policylayer.com/tools/com-googleapis-datastream-mcp/delete-stream.md
- `run_stream` — Execute — https://policylayer.com/tools/com-googleapis-datastream-mcp/run-stream.md
- `get_operation` — Read — https://policylayer.com/tools/com-googleapis-datastream-mcp/get-operation.md
- `get_stream` — Read — https://policylayer.com/tools/com-googleapis-datastream-mcp/get-stream.md
- `get_stream_object` — Read — https://policylayer.com/tools/com-googleapis-datastream-mcp/get-stream-object.md
- `list_connection_profiles` — Read — https://policylayer.com/tools/com-googleapis-datastream-mcp/list-connection-profiles.md
- `list_static_ips` — Read — https://policylayer.com/tools/com-googleapis-datastream-mcp/list-static-ips.md
- `list_stream_objects` — Read — https://policylayer.com/tools/com-googleapis-datastream-mcp/list-stream-objects.md
- `lookup_stream_object` — Read — https://policylayer.com/tools/com-googleapis-datastream-mcp/lookup-stream-object.md

## For agents

This record is a snapshot. Live verdicts and the full registry:

- Check every server in your MCP config at once: `npx -y policylayer stack`
- Vet a server before you add it: install the mcp-precheck skill — `npx skills add https://policylayer.com` (skill text: https://policylayer.com/skill.md)
- Query the registry over MCP: endpoint `https://api.policylayer.com/mcp` — tools `check_mcp_server`, `check_mcp_stack`, `check_tool`, `search_registry`, `get_change_events`

---

Source: the PolicyLayer MCP registry — one continuously verified record per MCP server. Full record: https://policylayer.com/registry?q=com-googleapis-datastream-mcp · API: https://policylayer.com/registry/api · Policy library: https://policylayer.com/policies/com-googleapis-datastream-mcp
