Skip to main content
Glama

Cancelar job

cancel_job

Cancela um job pendente ou pede parada de um em execução. Trabalho já concluído (por habitação) não é desfeito; o resultado informa o que foi aplicado.

Escopo: profile:read · Risco: low · Efeitos: Marca cancelamento.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "id": "<id>"
    },
    "name": "cancel_job"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.5/5.0
Behavior4/5

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

Annotations only give the generic safety profile (readOnlyHint=false, destructiveHint=false, non-idempotent); the description adds real behavioral content on top: completed work is not reverted, the outcome is reported back, and the operation 'marks cancellation' rather than hard-deleting. The scope/risk/effects line reinforces the low-risk, reversible-ish nature without contradicting the annotations. It stops short of explaining latency or what happens on a second call (non-idempotency is only implied).

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?

Two sentences covering the action, the state distinction and the irreversibility caveat, plus a compact metadata line — front-loaded and essentially waste-free. The scope/risk/effects stamp is slightly boilerplate but cheap.

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 one-parameter mutation with no output schema, the description covers what happens (pending vs running), what is not affected (completed work), and that the response reports what was applied. The remaining gap is the identifier parameter's meaning, which is the one thing an agent could get wrong.

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?

The single required parameter 'id' has 0% schema description coverage, and the description never mentions it or clarifies whether it is a job id, a reservation id, or a name. With low coverage the description is expected to compensate, and here it does not at all.

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 and resource ('Cancela um job') and goes further by splitting the semantics into pending jobs (cancel) versus running jobs (request a stop), which is exactly the distinction an agent needs. It is clearly not a read tool, so it separates itself from get_job/list_jobs, but it never names a sibling or a related tool explicitly.

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 state-based phrasing (pending → cancel, running → request stop), and the caveat that already-completed work is not undone tells the agent one situation where calling is pointless. There is no explicit guidance on when not to use it or what alternative exists if the job is already finished.

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.