Skip to main content
Glama

Moneda

list_agent_sessions

Read-only

List your scoped autonomous agent sessions, newest first, with status, policy, remaining period cap, and expiry. Filter by status to find ACTIVE sessions ready to execute against.

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

Input Schema

NameRequiredDescriptionDefault
statusNoOptional status filter.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, so safety is covered; the description still adds value by disclosing sort order, result scoping ('your scoped'), and the specific fields returned (policy, remaining period cap, expiry). It does not disclose pagination or result-size limits, which keeps it short of a 5.

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 short sentences with zero padding; the core purpose and ordering come first and the filter guidance follows. Every clause carries information the agent cannot get elsewhere.

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?

With no output schema, the description usefully enumerates the returned fields, and the readOnly annotation covers the safety profile. The remaining gap is behavioral scope — no pagination/limit behavior and no explicit tie-break against list_active_sessions.

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?

Schema coverage is 100% and the enum is fully listed, but the schema's own description is bare ('Optional status filter'). The tool description adds real semantics by tying ACTIVE to executable sessions, telling the agent which enum value is operationally relevant rather than leaving six values undifferentiated.

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?

States a specific verb and resource ('List your scoped autonomous agent sessions') plus the ordering ('newest first') and the returned fields (status, policy, remaining period cap, expiry). An agent can distinguish it from get_agent_session (single) and create/revoke siblings 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 Guidelines3/5

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

'Filter by status to find ACTIVE sessions ready to execute against' gives one concrete usage scenario. However, no alternatives are named — it never says when to prefer this over list_active_sessions or when to fall back to get_agent_session for a single session — so routing requires inference.

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.

Resources