Skip to main content
Glama

Read bridge channel

bridge_read

Read messages from a shared channel after a given sequence and return JSON; use the highest returned sequence as the next since value to continue without duplicates.

Instructions

Read messages from a channel with seq greater than since (default 0 = from the start). Returns messages as JSON. Note the highest seq you receive and pass it as since next time to avoid re-reading.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "channel": "<channel>"
    },
    "name": "bridge_read"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoMax messages to return (most recent matching). Default 50.
sinceNoReturn messages with seq > since. Default 0.
channelYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.5/5.0
Behavior3/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

No annotations are supplied, so the description carries the full disclosure burden. It reasonably discloses the incremental-read behavior, the default of 0 (start of channel), and the JSON return form, but omits ordering guarantees, how `limit` interacts with `since` (whether the truncation happens before or after filtering), and what happens for an unknown channel.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Three short sentences, each carrying distinct information: the read semantics, the return form, and the pagination recipe. The most important constraint (the `since` cursor) is front-loaded with no filler.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a paginated read tool with no output schema and no annotations, the description covers the cursor mechanics adequately but leaves the message shape unexplained beyond 'as JSON' and does not resolve how `limit` truncation relates to the `since` filter.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 67%, so the schema already documents `since` and `limit` defaults and bounds. The description adds practical cursor guidance beyond the schema (track the highest seq), but says nothing about `channel`'s identifier format, which is undocumented in both schema and description.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description opens with a specific verb and resource, 'Read messages from a channel,' and adds the `since` filter semantics, so the operation is immediately identifiable. It does not explicitly contrast with the potentially confusable sibling bridge_wait, which could also surface messages, so it stops short of full sibling differentiation.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

It gives a clear usage pattern for repeated polling: record the highest seq and pass it as `since` to avoid re-reading. However, it says nothing about when to use this instead of bridge_wait for new messages, or when bridge_channels should be consulted first to obtain a valid channel.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Deploy Server

Other Tools