Skip to main content
Glama

agda_job_cancel

Abort a pending Agda job by its job id and release its command slot, freeing the server to accept new type-checking or interaction requests.

Instructions

Abort a pending Agda job and release its Agda command slot

Input Schema

NameRequiredDescriptionDefault
jobYesJob id returned by a pending tool result

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv0.3.1
    • changedInput schema / $schema
      Previous value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema"
  2. First observedv0.3.0

TDQS

A3.8/5.0
Behavior3/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 the key side effect (slot release) but leaves open permissions, behavior on already-completed/unknown jobs, and whether the job's results become unrecoverable.

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?

One short sentence, front-loaded with the verb and resource, with zero filler. Every clause earns its place by adding the side-effect detail.

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

Completeness4/5

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

For a single-parameter cancel tool with full schema coverage and no output schema, the description covers purpose, scope, and effect sufficiently to invoke it correctly. Missing only edge-case behavior for non-pending jobs.

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 single 'job' parameter is already documented as 'Job id returned by a pending tool result'. The description adds nothing about the parameter, so the baseline 3 applies.

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?

States a specific verb ('Abort') and resource ('a pending Agda job') and adds the concrete effect ('release its Agda command slot'). No sibling tool cancels jobs, and the description makes its distinct role obvious against agda_job_await / agda_job_status.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

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

The word 'pending' implicitly scopes usage to not-yet-completed jobs, which is genuinely useful guidance. But it never says what to do instead (agda_job_status to check state, agda_job_await to wait) or how it behaves on non-pending jobs.

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