Skip to main content
Glama

collab.get_messages

Retrieve recent messages from a collaboration room with cursor-based pagination (stable since_id).

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": {
      "room_id": "<room_id>"
    },
    "name": "collab.get_messages"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNo
room_idYes
since_idNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.4/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 burden. It does disclose a genuine behavioral trait—cursor-based pagination via a 'stable since_id'—which tells the agent the cursor is durable across calls. However, it omits ordering (newest-first?), whether access requires room membership, rate limits, and any description of what a message looks like.

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?

A single tight sentence with the resource front-loaded and the pagination qualifier parenthetical. Nothing is wasted, though 'stable since_id' is telegraphic jargon that assumes the reader already knows the cursor idiom.

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 three-parameter read tool with no annotations and no output schema, the definition covers purpose and pagination but leaves the agent guessing about return shape and message ordering. Those gaps matter because there is no structured field elsewhere to fill them.

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 description coverage is 0%, so the description must compensate for three documented-by-name-only parameters. It clarifies that since_id functions as a stable cursor, which the bare 'string' type does not convey, but it says nothing about room_id's format/identifier source or about limit's role beyond what the schema's default of 50 and maximum of 100 already state.

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: 'Retrieve recent messages from a collaboration room.' An agent can distinguish this from the write-side sibling collab.send_message and from collab.list_rooms purely from the text. It does not explicitly name a sibling it is not, so it stops short of a 5.

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?

Usage is only implied: the phrase 'recent messages' signals a forward-reading history fetch, and the pagination note hints at iterative calls. There is no explicit when-to-use, no when-not, and no mention of prerequisites such as room membership or auth.

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