Skip to main content
Glama

List messages

list_messages
Read-onlyIdempotent

List conversation messages. Filter by ticket_id or project_id. Returns up to 500 messages ordered by created_at.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "list_messages"
  }
}

Input Schema

NameRequiredDescriptionDefault
sortNoField to sort by (default: created_at)
limitNoMaximum results (default 100, max 500)
offsetNoNumber of results to skip (default 0)
directionNoSort direction — asc (oldest first, default) or desc (newest first)
ticket_idNoFilter by ticket UUID
project_idNoFilter by project UUID (returns messages for all tickets in this project)

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 a closed world, so safety is covered. The description adds genuinely new context about result ordering and a 500-item ceiling, but omits pagination behavior (offset is never mentioned) and the interaction between multiple filters.

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?

Three short, front-loaded sentences with no filler. The final sentence partly restates schema defaults (created_at ordering, 500 maximum), which is mild redundancy but harmless reinforcement.

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?

For a six-parameter, zero-required list tool with no output schema, the description covers what it lists, the two filter modes and the return ordering/cap. It leaves significant operational gaps: unpaginated defaults, no-filter behavior, and whether the filters compose.

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 the baseline is 3. The description echoes ticket_id/project_id and the created_at ordering but adds no semantics the schema lacks, such as whether passing both filters is allowed or how project-level filtering differs in result shape.

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 uses a specific verb and resource ('List conversation messages') that clearly distinguishes it from the write-side sibling add_message, and it names the two filter dimensions. It stops short of explicitly routing against any alternative read tool, but the purpose itself is unambiguous.

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 implied through 'Filter by ticket_id or project_id', which tells an agent the two scoping modes, but there is no explicit when-to-use framing, no statement about whether the two filters can be combined, and no guidance on what a call with neither filter returns despite all six parameters being optional.

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