Skip to main content
Glama
cshenx
by cshenx

list_sessions

Lists stored local chat sessions to help Codex and Claude coordinate; verify peer reachability through native discovery and avoid ambiguous names.

Instructions

Discover local chats for Codex-to-Claude coordination. For same-runtime peers use native session discovery and messaging first. Stored listings do not prove Agentpeers reachability. Never silently choose an ambiguous name.

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.6.2

TDQS

A3.7/5.0
Behavior3/5

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

No annotations or output schema are provided, so the description carries the full behavioral burden. It usefully warns that stored listings do not prove Agentpeers reachability and that ambiguous names must not be silently chosen, but it does not state whether this is read-only, what local storage is accessed, or what a caller should do with ambiguous results.

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?

Four short sentences, front-loaded with the core purpose and followed by usage caveats. Every sentence adds guidance, though the final ambiguity rule is result-consumption guidance rather than tool behavior.

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 zero-parameter list tool with no annotations or output schema, the description covers purpose and key caveats but omits the return shape and how sessions are identified or disambiguated. It is adequate but incomplete for an agent that must interpret the listing.

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 has zero parameters and the schema is empty, so there are no parameter semantics to document. Per the baseline for 0 params, a 4 is appropriate.

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 gives a specific verb and resource: 'Discover local chats for Codex-to-Claude coordination.' It also distinguishes the tool from native same-runtime discovery, though it does not define what a 'session' or 'local chat' contains.

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 explicitly says same-runtime peers should use native session discovery and messaging first, which is a clear when-not condition. It does not explicitly compare against sibling tools like inbox or message_status, but the usage context is clear.

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