Skip to main content
Glama

cancel_job

Idempotent

Cancel pending follow-up steps for an AutoDL power-on or instance-switch job using its job ID; accepted power requests remain active and no automatic shutdown occurs.

Instructions

取消开机/切换任务的后续步骤,不撤销已接受的电源请求,不自动关机或恢复。

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
job_idYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.5/5.0
Behavior4/5

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

Annotations already declare readOnly=false, idempotent=true, destructive=false, so the safety profile is covered. The description adds meaningful behavioral context beyond this: cancellation is limited to subsequent steps and will not revoke an accepted power request, auto power off, or restore prior state — exactly the non-obvious semantics an agent needs.

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?

A single compact sentence that front-loads the primary action and then lists the three things the tool does not do. No filler; every clause earns its place.

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?

An output schema exists so return values need not be explained, and annotations cover the safety profile, leaving scope as the main descriptive burden — which is handled well. However, for a mutation tool with no annotation on permissions and a completely undocumented required parameter, the definition stops short of being fully self-sufficient.

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

Parameters2/5

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

Schema description coverage is 0% and the single parameter job_id is left entirely undocumented in both the schema and the description; the description says nothing about what a job_id is or where to obtain it (e.g., from job_status). Only the obviousness of the parameter name keeps this above a 1.

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 names a specific verb (取消 / cancel) and the precise scope of the operation: the remaining steps of a power-on or switch job. This distinguishes it reasonably well from siblings like power_off or job_status, though it never names an alternative tool directly.

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?

Usage is implied by the negative scoping ('does not revoke the accepted power request'), which tells the agent when cancel_job is the wrong tool for undoing a power request, but there is no explicit when-to-use guidance or reference to alternatives such as wait_for_job or job_status.

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