Skip to main content
Glama
agent-intercom

agent-intercom

by ryul99

List sessions

who

List live local agent sessions, optionally include ended or crashed sessions and filter by tool name to find active or stale coding agents.

Instructions

List agent sessions on this machine. By default only currently live sessions are shown; pass all=true to include ended or crashed ones.

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": "who"
  }
}

Input Schema

NameRequiredDescriptionDefault
allNoInclude ended or stale sessions. Defaults to false.
toolNoFilter by tool name, e.g. pi, claude-code, codex.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.6/5.0
Behavior3/5

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

With no annotations at all, the description carries the full burden. It helpfully discloses that results are filtered to live sessions by default and that ended or crashed sessions are excluded unless all=true, but it says nothing about ordering, permissions, or what a returned session record contains.

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 sentences, zero filler, with the default behavior stated before the override. Every clause earns its place and the most decision-relevant information comes first.

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 two-optional-parameter read tool with a fully described schema and no output schema, this covers the essentials: what is listed and how the default result set differs from the widened one. Only the absence of any hint about the returned session fields keeps it short of complete.

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 coverage is 100%, so both parameters are already documented in structured data, which sets the baseline at 3. The description restates the `all` flag semantics (adding that crashed sessions appear) but never mentions the `tool` filter, so it adds only marginal meaning beyond the schema.

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+resource ('List agent sessions on this machine'), which is meaningfully narrower than the sibling names like history or whoami. It stops short of explicitly contrasting itself with whoami or history, so the agent must infer the boundary, but the scope statement is concrete enough to act on.

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?

It implies when to use the tool (enumeration of local agent sessions) and explains the key behavioral switch for widening the query. There is no explicit guidance on when to prefer a sibling such as whoami or history, and no mention of prerequisites, so usage is only implied.

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