Skip to main content
Glama

App: List Agent Sessions

app_list_sessions

Refresh and filter discovered local AI coding-agent sessions by agent, query, and limit so you can inspect relevant sessions quickly.

Instructions

Internal UI tool to refresh and filter discovered local agent sessions.

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

Input Schema

NameRequiredDescriptionDefault
agentNo
limitNo
queryNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

C2.6/5.0
Behavior2/5

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

No annotations and no output schema, so the description carries the full burden. It does not disclose whether 'refresh' triggers a local filesystem scan, whether the call is read-only or has side effects, how results are paginated or ordered, or what the response looks like.

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?

One short, front-loaded sentence with no filler. It is efficient, though the terseness leaves it bordering on under-specified rather than ideally structured.

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?

A three-parameter tool with no annotations, no output schema, and zero schema coverage needs considerably more than one sentence; the definition is not complete enough for an agent to call it confidently without reading the raw schema.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters1/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0% across three parameters (agent enum, limit 1-150, query). The word 'filter' only gestures at query/agent without explaining match semantics, default agent value, or the meaning of the undocumented limit bounds.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

States the verb phrase 'refresh and filter' and the resource 'discovered local agent sessions', which is more specific than the bare name. But the closest sibling, list_agent_sessions, is never contrasted, and 'refresh' leaves it unclear whether this lists data or re-scans local state.

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?

The label 'Internal UI tool' implicitly scopes the audience (UI refresh path rather than general agent listing), which is a genuine usage signal. However, there is no explicit when-to-use or when-not guidance and no pointer to list_agent_sessions as the alternative for non-UI listing.

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