# lookup_stream_object

Lookup a stream object by its source object identifier. Parameters: * The 'parent' parameter is the name of the stream in the form: 'projects/{project name}/locations/{location}/streams/{stream name}', for example: 'projects/my-project/locations/us-central1/streams/my-stream'. * The 'source_object_identifier' parameter is the source database object identifier. Different source databases have different identifier formats. Examples: * Oracle, PostgreSQL, SQL Server and Spanner databases the identifier is 'schema' and 'table'. * MySQL databases the identifier is 'database' and 'table'.

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

## Facts

- Tool: `lookup_stream_object`
- 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: 2 (2 required)
- Recommended policy verdict: Allowed

## Parameters

| Parameter | Type | Required | Description |
| --- | --- | --- | --- |
| `parent` | string | yes | Required. The parent stream that owns the collection of objects. |
| `sourceObjectIdentifier` | object | yes | Required. The source object identifier which maps to the stream object. |

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": "lookup_stream_object",
    "arguments": {
      "parent": "<parent>",
      "sourceObjectIdentifier": {}
    }
  }
}
```

## Why lookup_stream_object is rated Low

This tool performs a read-only lookup of stream object metadata within Google Cloud Datastream. It takes a stream identifier and source object identifier as parameters and returns information about that object. There are no side effects, no data modification, no code execution, and no destructive operations. This is clearly a Read category tool with low severity since it only retrieves information.

From the tool's own definition: "Tool name is 'lookup_stream_object' and description states it 'Lookup a stream object by its source object identifier' — a query operation that retrieves metadata about a stream object without modifying, deleting, or executing code."

## Use case

AI agents call lookup_stream_object 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": {
    "lookup_stream_object": {}
  }
}
```

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