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
group_idYesGroup ID.
message_idYesMessage ID.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior5/5

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

Beyond the read-only, idempotent, non-destructive annotations, the description adds meaningful behavioral context: access is limited to groups you are in, several cases return 404, and a personal token is required. This gives the agent important preconditions and failure behavior.

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?

The description is compact and front-loaded: purpose first, then usage, access constraints, error behavior, and auth. Each sentence contributes useful information without unnecessary wording.

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 simple two-parameter read tool with rich annotations and full schema coverage, the description covers purpose, use case, access limits, 404 cases, and authentication. The main remaining gap is that it does not describe the returned message content, though the output is strongly implied by the tool name.

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%, so group_id and message_id are already fully documented in the schema. The description adds slight context by linking message_id to a reply's reply_to field, but does not otherwise explain parameter meaning beyond the schema.

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 gives a specific verb and resource: read one group chat message. It is broadly distinguishable from group-write siblings like send_group_message, but it does not explicitly contrast with the similarly named get_message, leaving the sibling boundary implicit.

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?

It provides a clear use case: fetching the message referenced by a reply's reply_to field. It does not name alternatives or exclusions, such as when to use get_message instead, but the intended context is clear.

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