Skip to main content
Glama

cancel_job

Cancel a running job by terminating its process group, preserving the job directory and any partial outputs.

Instructions

Stop a running job. Terminates the job's process group; the job directory and any partial outputs are left in place.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
job_idYes
Behavior4/5

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

With no annotations, the description carries full burden. It discloses that the job directory and partial outputs remain, which is important behavioral context beyond the basic action. Does not mention permissions or reversibility, but is generally transparent.

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 concise with two sentences. The second sentence adds necessary detail without redundancy. Could be slightly improved by front-loading parameter info, but it is efficient.

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 single-parameter tool with no annotations or output schema, the description covers the action and outcome but lacks parameter guidance. It is adequate but has a clear gap in completeness.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters1/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, so the description must compensate for the parameter. However, the description does not mention 'job_id' or any parameter, leaving the agent to infer from the schema alone, which only provides a title.

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 'Stop a running job', using a specific verb and resource. It distinguishes itself from sibling tools like list_jobs, get_job_status, etc., which do not perform cancellation.

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 provided on when to use this tool vs alternatives (e.g., checking status first), nor are there any exclusions or prerequisites mentioned. The description implies usage but does not give explicit context.

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/Nimieeee/schrodinger-mcp'

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