Skip to main content
Glama

Get channel history

get_channel_history
Read-onlyIdempotent

Retrieve channel history. Channel membership is required.

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_id": "<channel_id>"
    },
    "name": "get_channel_history"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNo
channel_idYes

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

C2.8/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, non-destructive, and closed-world, so the safety profile is covered. The description adds the meaningful precondition that the caller must be a channel member, which annotations do not convey. It stops short of disclosing pagination behavior, ordering (oldest vs newest first), or how far back history extends.

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?

Two short sentences with no filler, and the functional statement is front-loaded ahead of the prerequisite. It is efficient rather than padded; the issue is under-specification, not verbosity.

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?

An output schema exists, so return shape need not be explained. However, for a read tool with an undocumented limit parameter and an ambiguous notion of "history," the definition leaves real gaps: no paging guidance and no indication of what ordering or time window the agent will get.

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

Parameters2/5

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

Schema description coverage is 0%, so the description carries the burden for both parameters — yet it explains neither. channel_id is reasonably self-evident, but limit (default 50) has no stated maximum, meaning as page size, or interaction with retrieval order, leaving the agent to guess paging semantics.

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

Purpose3/5

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

The description states a verb and resource ("Retrieve channel history"), which is more specific than the name alone, but "history" is left ambiguous — messages, events, or metadata are all plausible. It does not distinguish this tool from siblings such as get_inbox or get_activity, so the agent must infer scope.

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

Usage Guidelines2/5

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

The only guidance is a prerequisite: "Channel membership is required." Nothing says when to reach for this tool rather than get_inbox or get_activity, and there are no exclusions or alternatives named. The membership note is useful context but not usage guidance.

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.