# delete_stream

Deletes a stream, specified by the provided resource 'name' parameter. * The resource 'name' parameter is in the form: 'projects/{project name}/locations/{location}/streams/{stream name}', for example: 'projects/my-project/locations/us-central1/streams/my-streams'. * This tool returns a long-running operation. Use the 'get_operation' tool with the returned operation name to poll its status until it completes. Operation may take several minutes; do not check more often than every ten seconds.

Agent View of the PolicyLayer registry record for `delete_stream`. HTML page: https://policylayer.com/tools/com-googleapis-datastream-mcp/delete-stream

## Facts

- Tool: `delete_stream`
- 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: Destructive (Critical risk)
- Registry record: grade F, identity unverified
- Server auth posture: open
- Server rate-limited: no
- Parameters: 2 (1 required)
- Recommended policy verdict: Hidden

## Parameters

| Parameter | Type | Required | Description |
| --- | --- | --- | --- |
| `name` | string | yes | Required. The name of the stream resource to delete. |
| `requestId` | string | no | Optional. A request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if i |

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": "delete_stream",
    "arguments": {
      "name": "<name>"
    }
  }
}
```

## Why delete_stream is rated Critical

This tool permanently deletes a stream resource from Google Cloud Datastream. Deletion operations are inherently irreversible and destructive. The high severity reflects the blast radius: an AI agent with misuse could delete production data pipelines, interrupting critical data replication workflows. The confidence is high because the intent is unambiguous from both the name and description.

From the tool's own definition: "Tool name is 'delete_stream' and description states 'Deletes a stream' with no reversibility mentioned. The operation removes a Google Cloud Datastream resource by name, which is an irreversible action that cannot be undone."

Risk signals: Bulk/mass operation — affects multiple targets

## Use case

AI agents call delete_stream to permanently remove resources in Mcp, typically in cleanup and lifecycle workflows. It does its job in a single call, and there is no undo.

## Recommended policy (PolicyLayer)

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

```json
{
  "version": "1",
  "default": "deny",
  "hide": [
    "delete_stream"
  ]
}
```

## Other tools on Mcp (9)

- `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
- `list_streams` — Read — https://policylayer.com/tools/com-googleapis-datastream-mcp/list-streams.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
