Skip to main content
Glama

pause_session

Pauses an active session in the mesh using its session ID to temporarily halt agent workflows while preserving state for later resumption.

Instructions

Pause execution of an active session in the mesh.

Input Schema

NameRequiredDescriptionDefault
session_idYesID of the session to pause

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.1

TDQS

C2.9/5.0
Behavior2/5

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

With no annotations, the description carries the full behavioral burden and delivers little: it does not state what happens to in-flight work, whether the pause is reversible via resume_session, whether any permission or session-state prerequisite applies, or what the tool returns. For a state-mutating tool, this is a significant gap.

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?

A single front-loaded sentence with no filler. It is appropriately sized, though its brevity is partly the source of the transparency gaps rather than a pure virtue.

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?

The tool is simple (one required string, no output schema, no nesting), so little is strictly needed. Still, for a state-changing session control, the description omits the lifecycle context (resumability, effect on running tasks) that would let an agent call 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?

There is only one parameter (session_id) and schema coverage is 100%, so the schema already documents it fully. The description adds nothing beyond the schema, which is acceptable at this coverage level but earns only the baseline.

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 ('Pause') and resource ('execution of an active session in the mesh'), which is unambiguous and implicitly contrasts with the sibling resume_session. It stops short of explicitly naming that sibling, so it falls just under the top mark.

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 phrase 'active session' implies a precondition (the session must be running), but there is no explicit when-to-use, when-not-to-use, or pointer to resume_session as the inverse operation. An agent must infer routing from sibling names alone.

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