Skip to main content
Glama

list_chats

Lists all registered chats, newest first, showing key, folder and chat ID. Use a chat ID to target messages to a specific session.

Instructions

List the chats (Claude Code sessions and Codex threads) registered in this space, newest first, with their key, folder and chat id. Pass a chat id as send_message to_chat to write to exactly that chat.

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_chats"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.0.1-alpha.2

TDQS

A3.7/5.0
Behavior3/5

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

With no annotations, the description carries the full burden, and it does disclose ordering ('newest first') and the returned fields (key, folder, chat id). It says nothing about result limits, pagination, or the boundaries of 'this space', so a caller cannot predict behavior on large or empty spaces.

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?

Two tight sentences, front-loaded with the operation and scope, followed by the practical hand-off to send_message. Every clause earns its place with no redundancy.

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?

There is no output schema and no annotations, so the description must carry the return shape itself, and it does by naming the three fields and the sort order plus the id's purpose. It falls short only on volume/limit behavior and on how 'this space' is bounded.

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?

The tool takes zero parameters, so there is no parameter semantics to explain and the baseline of 4 applies. Nothing in the description misleads about inputs.

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 verb 'List' plus the disambiguated resource ('chats (Claude Code sessions and Codex threads) registered in this space') tells an agent exactly what is returned and scoped. It does not, however, distinguish itself from the sibling search_sessions, which an agent could plausibly pick for a similar need.

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: the second sentence describes a downstream workflow (pass a returned chat id to send_message's to_chat), which implicitly frames this as the discovery step before messaging. There is no explicit when-to-use or when-not-to-use guidance, and no alternative named for read/search patterns.

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