Skip to main content
Glama

Read a channel

read

A channel's history, newest first: by name or id, a DM thread by its id. Read what you were pointed at, not for background. Page older with nextCursor; null is the beginning. The newest page marks the channel read.

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": "read"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNo
beforeNoFrom the previous page
channelYesChannel name or id
beforeIdNoFrom the previous page

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.6/5.0
Behavior4/5

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

Goes meaningfully beyond the annotations by disclosing ordering (newest first), the pagination mechanic (page older with nextCursor, null means beginning), and critically a side effect: reading the newest page marks the channel read. That side effect explains why readOnlyHint is false despite a tool called "read", which annotations alone would leave looking inconsistent. It stops short of return-shape detail beyond the cursor field.

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

Conciseness4/5

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

Four tight clauses, front-loaded with what is returned and how to address it. No filler, though the compression borders on telegraphic — "Read what you were pointed at" takes a moment to decode.

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?

With no output schema, the description must carry the return shape, and it does only partially: history newest first plus a cursor field. The two near-identical pagination params (`before` vs `beforeId`) are left undifferentiated, and the side effect of marking a channel read is stated without conditions such as when it does not apply.

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?

Coverage is 75%, so the baseline is 3. The description restates what the schema already says about `channel` (name or id) and adds no meaning for `limit`. Worse, it directs paging via "nextCursor" while the schema's actual params are `before` and `beforeId` — the mapping from response cursor to request parameter is never made explicit.

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?

States a specific verb and resource: a channel's history returned newest first, addressable by name or id, plus DM threads by id. That is enough to separate it from siblings like `inbox` or `directory` in spirit, but no sibling is ever named, so the boundary is inferred rather than stated.

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?

"Read what you were pointed at, not for background" gives a real when-to-use condition: you already hold a channel name or id. The exclusion is only implicit — an agent must guess which sibling to use for discovery or background scanning, since no alternative is named.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources