Skip to main content
Glama
modus-agendi

managed-agent-control-mcp

session_list

List sessions filtered by optional agent ID and statuses, with pagination support using returned next_page token.

Instructions

List sessions, optionally filtered to one agent_id and/or statuses.

statuses filters by session status (e.g. ["running", "idle"]). Returns id + status each; page with the returned next_page token when has_more is true.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
agent_idNo
statusesNo
limitNo
pageNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior4/5

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

Without any annotations, the description carries the full burden of explaining behavior. It discloses that it supports pagination via a next_page token and returns id + status for each session. It does not mention idempotency or side effects, but as a listing operation, these are minimal. The description provides sufficient behavioral context beyond a simple 'list sessions'.

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?

The description is extremely concise: two sentences that cover the purpose, filters, and pagination detail. It is front-loaded with the main action and uses no wasted words. Every sentence adds value.

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?

Given the tool has 4 parameters, no annotations, and an existing output schema, the description covers the essential aspects: purpose, filters, and pagination. It is missing details like error handling or what happens with empty results, but the output schema likely covers return structure. Overall, it is sufficiently complete for a simple listing tool.

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 coverage is 0%, so the description must compensate. It explains the statuses parameter with an example, and the page parameter through pagination context. However, the limit parameter is not described, and the agent_id is only briefly mentioned as optional. The description adds value for most parameters but is incomplete for limit, which lowers the score from a 4 to a 3.

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?

The description clearly states 'List sessions' with the specific verb 'list' and resource 'sessions', and it explains optional filters by agent_id and statuses. It distinguishes from sibling tools like session_get which retrieves a single session, and other session actions. The purpose is unambiguous.

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?

The description provides clear context for when to use this tool: to list sessions with optional filtering and pagination. It implicitly excludes actions like getting a single session (session_get) or mutating sessions (session_delete). However, it does not explicitly state when not to use it or compare to alternatives, which would elevate it to a 5.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/modus-agendi/managed-agent-control-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server