Skip to main content
Glama

List agent conversations

list_conversations
Read-only

List conversations for an agent in a space (id, status, title). Pass a conversation id to get_conversation to read the transcript. Get agent ids from list_agents.

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": {
      "spaceId": "<spaceId>",
      "agentId": "<agentId>"
    },
    "name": "list_conversations"
  }
}

Input Schema

NameRequiredDescriptionDefault
pageNo1-based page number (default 1)
limitNoMax conversations to return (default 20)
agentIdYesAgent ID from `list_agents`
spaceIdYesSpace ID

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false, and openWorldHint=false, so the safety profile is covered. The description adds value the annotations cannot: the shape of what comes back (id, status, title) in the absence of an output schema, plus the dependency on `list_agents` for ids. It stops short of noting result ordering or how pagination interacts with totals.

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?

Three short sentences, front-loaded with the core action, then the routing rule, then the id source. Every sentence carries distinct information with no repetition of the title or annotations.

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 list tool with full schema coverage and complete annotations, the definition covers purpose, sibling routing, and returned fields — enough to call it correctly. It lacks only secondary detail such as default ordering or result-count behavior, which is minor here.

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%: page, limit, agentId, and spaceId are each documented in the schema, including defaults and the `list_agents` provenance. The description's mention of agent ids largely repeats what the agentId schema field already says, adding no new syntax or constraints.

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 opens with a specific verb and resource plus scope: 'List conversations for an agent in a space,' and even names the fields surfaced (id, status, title). It explicitly routes transcript reading to `get_conversation`, so an agent can separate it from the sibling without opening a schema.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

It states the condition that selects the sibling ('Pass a conversation id to `get_conversation` to read the transcript') and supplies the prerequisite for a required parameter ('Get agent ids from `list_agents`'). No alternatives are left to inference for the main list-vs-read decision.

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.