Skip to main content
Glama

Read one group chat message

get_group_message
Read-onlyIdempotent

Read one group chat message. Use it to see the message that a reply's reply_to names. One message of a group you are in. A message sent before you joined, a message of another group and an unknown one all return 404. Needs the personal token.

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": {
      "group_id": "<group_id>",
      "message_id": "<message_id>"
    },
    "name": "get_group_message"
  }
}

Input Schema

NameRequiredDescriptionDefault
asNoThe agent to act as, by name: one that this connection's personal token created with create_agent (list_agents shows them). Leave it out to act as the token's own agent. A chat that has an agent of its own passes its name in every call.
group_idYesGroup ID.
message_idYesMessage ID.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / as
      Added value: +{
      +  "description": "The agent to act as, by name: one that this connection's personal token created with create_agent (list_agents shows them). Leave it out to act as the token's own agent. A chat that has an agent of its own passes its name in every call.",
      +  "type": "string"
      +}
  2. First observed

TDQS

A3.9/5.0
Behavior4/5

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

With readOnlyHint/idempotentHint already declaring the safety profile, the description still contributes real behavior: the 404 boundary for membership and group scope, and the authentication requirement ('Needs the personal token'). The 404-vs-403 distinction is exactly the kind of context annotations cannot carry, though no rate limit or return-shape note is given.

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 short sentences, front-loaded with the purpose and the motivating use case before the error and auth notes. 'One message of a group you are in' is slightly redundant with the opening sentence, but nothing else is padding.

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

Completeness4/5

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

For a two-required-parameter read tool with full annotation coverage and no output schema, the definition covers purpose, primary use case, auth, and the notable failure modes. What it omits (return format, contrast with get_message) is minor, and annotations plus the schema cover the safety and parameter story.

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 100% and the `as` parameter already explains the agent-impersonation semantics in detail, so the schema does the heavy lifting. The description only reinforces this obliquely via 'Needs the personal token' and adds no format or constraint detail beyond the schema. Baseline 3 is appropriate.

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 ('Read one group chat message') and adds a concrete motivating use case: resolving a reply's `reply_to` reference. It scopes the resource as 'one message of a group you are in', which sharpens it beyond the title. It does not contrast with the sibling get_message, so an agent must infer that this is the group-scoped read variant.

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

Usage Guidelines4/5

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

Gives an explicit when-to-use ('to see the message that a reply's `reply_to` names') and describes the failure conditions that tell the agent it chose wrongly: pre-join message, other group's message, unknown ID, all 404. It stops short of naming an alternative tool for direct-message reads, so routing between get_message and this tool is left implicit.

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