Skip to main content
Glama

ViewChat

viewchat_get_messages

Read-onlyIdempotent

Retrieve chronological messages for a specific ViewChat conversation 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": {
      "conversationId": "<conversationId>"
    },
    "name": "viewchat_get_messages"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoMaximum messages to return (default 100, max 200)
sinceNoOptional Unix timestamp (ms) lower bound
untilNoOptional Unix timestamp (ms) upper bound
offsetNoPagination offset (default 0)
groupIdNoOptional group ID asserting the conversation belongs to this group
conversationIdYesConversation ID returned by viewchat_list_conversations

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?

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and openWorldHint=false, so the safety profile is fully covered. The description contributes one extra behavioral fact — messages are returned in chronological order — but says nothing about truncation, empty results, or pagination interaction across limit/offset; the bar is lower with annotations present, so this lands at an adequate 3.

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 zero filler and the key qualifiers ('chronological', 'specific ... ID') front-loaded. It is efficient, though the brevity leaves the usage and edge-case gaps noted above.

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 100% schema coverage, full annotations and no output schema, the definition is minimally sufficient to invoke the tool correctly. It nevertheless omits anything about result ordering guarantees beyond 'chronological', behavior when the conversation ID is unknown, and how limit/offset interact — reasonable expectations for a 6-parameter retrieval tool.

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 limit, since, until, offset, groupId and conversationId are all documented in the schema itself. The description adds no parameter-level meaning (e.g., whether since/until are inclusive, or how groupId assertion failures behave), so the baseline 3 applies.

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 ('retrieve') and resource ('messages') scoped to a 'specific ViewChat conversation ID' with 'chronological' ordering. This distinguishes it from viewchat_list_conversations (which presumably supplies the ID) and from the logging/analytics siblings, though it does not name any alternative explicitly.

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: an agent can infer it needs a known conversationId, and the schema note points to viewchat_list_conversations as the source. There is no statement of when to prefer this over other retrieval paths or when not to use it (e.g., missing/unknown conversation).

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.