Skip to main content
Glama
folio-pdf-translate

folio-pdf-translate

by BrotherMou

cancel_translation

Cancel an in-progress translation job to stop processing while preserving partial files, without delivering them as a completed translation.

Instructions

Cancel this translation process group. Keep partial files, but do not deliver them as complete.

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": {
      "job_id": "<job_id>"
    },
    "name": "cancel_translation"
  }
}

Input Schema

NameRequiredDescriptionDefault
job_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.5/5.0
Behavior3/5

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

With no annotations, the description carries the full burden, and it does add real behavioral value by disclosing the side effect: partial output files survive but are not marked as complete. It leaves out idempotency, whether completed or queued jobs can be cancelled, permission requirements, and what the caller gets back to confirm cancellation.

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?

Two short sentences, zero filler; the action is front-loaded and the retention/delivery caveat follows immediately after. 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?

For a one-parameter destructive tool with no annotations and no output schema, the definition covers the main effect on artifacts but omits error conditions, reversibility, and any confirmation of success. Adequate to identify the tool, thin for calling it safely.

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 0%, so the schema does not explain job_id at all, and the description's phrase "this translation process group" only loosely gestures at identifying the target job. It never states where the job_id comes from (presumably start_translation) or whether it identifies a group versus a single job.

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?

"Cancel this translation process group" gives a specific verb plus a specific resource, and the scope word "group" distinguishes it from cancelling an individual file. It does not name or contrast any sibling such as start_translation or get_translation_status, so the agent gets a clear purpose without routing help.

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 only implied: an agent can infer this is the abort path for an in-flight translation started elsewhere. There is no statement of preconditions (e.g., must the job be running? should status be checked first?), no when-not-to-use, and no alternative named.

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