Skip to main content
Glama

История чата

messenger_messages
Read-onlyIdempotent

Read a bank chat's message history with local paging: set limit, skip the newest messages via offset, and cap each message with max_chars to keep replies short.

Instructions

История чата, старые сверху.

Банк отдаёт одну страницу истории; параметры листают её ЛОКАЛЬНО: limit — сколько сообщений показать (0 = вся страница); offset — сколько САМЫХ НОВЫХ пропустить (окно старее: offset=20, 40, …). Отсчёт с КОНЦА страницы — не то же самое, что offset у messenger_conversations(), где отсчёт с начала списка чатов; max_chars — кап текста одного сообщения (0 = целиком). Обрезка всегда помечена и называет полную длину.

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": {
      "conversation_id": "<conversation_id>"
    },
    "name": "messenger_messages"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNo
offsetNo
max_charsNo
conversation_idYes

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.2

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already cover the read-only, idempotent, non-destructive profile, and the description adds real behavioral context the annotations cannot carry: only one page comes from the bank, parameters window it locally, and truncated text is always marked with its full length. It does not mention auth/access requirements, but for a read tool this is a substantial addition.

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?

The first line front-loads purpose and ordering, then parameters are listed in a scannable structure. The layout is slightly verbose with stacked emphasis and multi-line parentheticals, but nearly every clause conveys distinct semantics rather than filler.

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?

An output schema exists, so return-value documentation is not needed, and the description fully covers the non-obvious part of this tool: how paging and truncation behave. The main remaining gap is the meaning of the required conversation_id (identifier source/format) for a tool an agent will call repeatedly.

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

Parameters4/5

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

With 0% schema description coverage, the description carries the load and does it well for three of four parameters: limit's 0-means-whole-page edge case, offset's count-from-the-end semantics with example values, and max_chars' truncation behavior. Only conversation_id is left undefined, which keeps it from a 5.

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

Purpose5/5

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

The description names a specific resource and scope: chat history returned oldest-first, one page at a time. It also explicitly distinguishes its own offset semantics from messenger_conversations(), so an agent can tell the two apart without opening either schema.

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 makes clear this is the tool for reading history and explains that pagination happens locally over a single bank-supplied page, which directly shapes how an agent should iterate. It stops short of saying when to prefer a sibling (e.g. messenger_conversations to first find a conversation), so it is clear context but not full routing guidance.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.