Skip to main content
Glama

cancel_job

Cancel your open job and refund escrow.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
job_idYesjob id
api_keyNoYour Haven API key (optional if sent as Authorization: Bearer or HAVEN_API_KEY env)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

C2.9/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full behavioral burden. It discloses one useful trait (escrow refund), but omits whether cancellation is reversible, what state the job must be in, ownership/permission requirements, and what success returns. Thin coverage for a mutation with zero annotation support.

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 tightly-worded sentence with the verb and outcome front-loaded and no filler. Appropriately sized, though it stops short of adding any conditional framing.

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?

For a mutation tool with no annotations and no output schema, the description should explain prerequisites and failure conditions. It covers only the basic action and refund, leaving key operational context to inference.

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 description coverage is 100% (job_id and api_key both documented), so the schema already handles parameter meaning. The description adds nothing beyond the schema, which matches the baseline 3 when the schema does the heavy lifting.

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?

States a specific verb ('Cancel') and resource ('your open job'), plus the side effect ('refund escrow'). This distinguishes it from post_job/submit_job/get_job, though it doesn't explicitly name a sibling.

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?

Implies scope via 'your open job' but gives no when-to-use guidance, no conditions under which cancellation is allowed (e.g. only before submission, not while in progress), and no alternatives. The agent must infer the trigger conditions.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.