Skip to main content
Glama
grandMA2 MCP
by drohi-r

list_agent_sessions

List recent multi-agent task sessions from long-term memory, with an optional limit, to review past orchestration activity.

Instructions

    List recent multi-agent task sessions from long-term memory.

    Args:
        limit: Number of most recent sessions to return (default 10)
    

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
limitNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

C2.9/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full behavioral-disclosure burden. It says the sessions come from long-term memory and are recent, but it does not state read-only behavior, permission requirements, ordering guarantees, pagination behavior, or what a returned session includes.

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?

The description is short and front-loads the purpose before documenting the parameter. The Args-style formatting is slightly mechanical but does not add meaningful bloat.

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 simple list tool with one optional parameter and an output schema, the definition covers the core purpose and parameter meaning. It remains incomplete on usage context and behavioral details such as ordering, permissions, and pagination, which would help an agent invoke it confidently.

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?

The schema has 0% description coverage, and the description adds useful meaning for the single parameter by explaining that "limit" is the number of most recent sessions to return and that the default is 10. This compensates somewhat for the schema gap, though it does not specify allowed ranges or behavior for edge values.

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 uses a specific verb, "List", and a specific resource, "recent multi-agent task sessions from long-term memory". It is clear what the tool does, though it does not explicitly distinguish itself from related session tools such as inspect_sessions or recall_agent_session.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

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

The description gives no guidance on when to use this tool versus alternatives, nor does it state any exclusions or prerequisites. An agent can infer it is for browsing recent sessions, but the choice between this and related session-inspection tools is left unresolved.

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

Deploy Server

Other Tools