Skip to main content
Glama

stop_sage_session

Stop a running SageMath workspace by name to release its worker and free computational 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
Behavior2/5

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

No annotations are provided, so the description must carry the full burden. It adds the behavioral detail 'release its worker', but fails to disclose side effects (e.g., whether the workspace is deleted, if the operation is reversible, or if there are prerequisites). For a mutation tool with ambiguous siblings, this is insufficient.

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, front-loaded sentence that immediately states the action and resource. There is no wasted phrasing or redundant information.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Despite having an output schema and only one simple parameter, the tool exists among many similar session-management siblings. The description does not clarify how stop differs from cancel or interrupt, nor does it explain what 'release its worker' entails. This incompleteness leaves the agent under-informed for correct tool selection.

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?

Schema coverage is 100% and the parameter description 'Workspace name to stop' already conveys the semantics. The tool description says 'named Sage workspace', but adds no new meaning beyond the schema. Baseline of 3 is appropriate.

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 the action ('Stop') and the resource ('a named Sage workspace'), and adds the distinctive detail of 'release its worker'. This verb+resource combination differentiates it from sibling tools like reset_sage_session, interrupt_sage_session, and cancel_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 Guidelines4/5

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

The description implies a clear usage context: stopping a named workspace and releasing its worker. However, it does not explicitly mention when to prefer this over sibling tools like cancel or reset, or provide exclusions. The context is clear but lacks explicit alternative guidance.

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/XBP-Europe/sagemath-mcp'

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