Skip to main content
Glama

list_messages

Read-only

Recent messages, chronological within a bounded window. Supports literal body search, threads and pagination; deleted messages are markers.

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": {
      "project_id": "<project_id>"
    },
    "name": "list_messages"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNo
searchNo
reply_toNo
before_seqNo
project_idYes

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=true, destructiveHint=false and a closed world, so safety is covered. The description adds genuinely non-obvious context: results are chronological, limited to a bounded recent window, and deleted messages surface as markers rather than being dropped. It does not clarify what the bound actually is or how pagination terminates, so it adds value without delivering a full behavioral picture.

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 dense sentence with the scope, ordering and key capabilities front-loaded; every clause carries information. It reads as a fragment rather than a sentence, but there is no filler wording.

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 no output schema and no parameter descriptions, the description should carry more weight. It covers ordering and tombstone behavior but leaves open the pagination cursor semantics, the default and maximum limit behavior, and the fact that project_id is mandatory and scopes the whole result set.

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 0% across 5 parameters, so the description must compensate and only partly does. 'Literal body search' usefully tells the agent that search is exact-text, and 'threads' and 'pagination' loosely map to reply_to and limit/before_seq, but none of the parameters are named and the relationships (e.g. whether reply_to includes or excludes the parent) stay ambiguous.

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 names the resource (messages) and its scope: recent, chronologically ordered, bounded window, with search/threads/pagination support. That is specific enough to distinguish it from get_message (single retrieval) without opening a schema, though it omits an explicit verb and the word 'recent' is undefined.

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: list-style retrieval with search and thread filtering, versus get_message for a single message. There is no explicit when-to-use or when-not-to-use statement, and no mention of how it relates to siblings like get_inbox or list_participants.

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