Skip to main content
Glama

Stop Sage Session

stop_sage_session
DestructiveIdempotent

Stop an active Sage workspace and release its worker to free resources.

Instructions

Stop a named Sage workspace and release its worker

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameYesWorkspace name to stop

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
messageNoSession cleared

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.5.0

TDQS

B3.3/5.0
Behavior3/5

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

Annotations already declare destructiveHint=true and idempotentHint=true, so the description does not need to restate those. It adds the useful behavioral detail that the worker is released, but it does not explain what is destroyed or whether the action is reversible.

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 a single efficient sentence with the action and object front-loaded. It contains no filler or redundant restatement of the tool name.

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, has one parameter, and benefits from rich annotations, but the presence of cancel_sage_session, interrupt_sage_session, and reset_sage_session leaves significant ambiguity. An agent may not know which session-control tool is appropriate without further guidance.

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 covers 100% of the single parameter with a clear description ('Workspace name to stop'). The main description adds only the word 'named', so it provides no extra semantics beyond the schema 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 uses a specific verb ('Stop') and resource ('named Sage workspace') and adds the consequence 'release its worker'. However, it does not differentiate from closely named siblings like cancel_sage_session, interrupt_sage_session, or reset_sage_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?

No guidance is given on when to use stop instead of cancel, interrupt, or reset. The sibling list contains several overlapping session-control tools, and the description provides no exclusions or alternative routing.

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