Skip to main content
Glama

Cancel Import Run

onto_import_run_cancel
DestructiveIdempotent

Bricht einen eingereihten Kettenlauf ab - zwischen zwei Schritten, bereits geschriebene Datensaetze bleiben bestehen (kein Rollback). Nutze es bei Fehlkonfiguration, statt den Lauf durchlaufen zu lassen. Status vor/nach: onto_import_run_status. | EN: import, data load, staging, pipeline, cancel, run

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": {
      "run_id": "<run_id>"
    },
    "name": "onto_import_run_cancel"
  }
}

Input Schema

NameRequiredDescriptionDefault
run_idYesrun_id aus onto_import_run_source

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.3/5.0
Behavior5/5

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

Annotations already declare destructiveHint=true and idempotentHint=true, but the description adds the key operational nuance: cancellation only takes effect between two steps and already written records persist because there is no rollback. That meaningfully reframes the destructive hint (partial, graceful cancellation rather than data loss) in a way the annotations alone cannot convey.

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?

Front-loaded with the core behavior in one sentence, followed by usage reason and status-tool routing. The trailing English keyword tag is mild noise but serves discoverability and costs only a few tokens.

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 timing, no-rollback semantics and status-checking. A minor gap remains on what the agent sees if the run already completed or is mid-step, but the essential call-time context is present.

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?

There is a single parameter and schema description coverage is 100%; the schema itself says run_id comes from onto_import_run_source. The description adds no further constraint or format detail about run_id, so the baseline 3 applies when the schema does the work.

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 (abbrechen/cancel) against a specific resource (eingereihten Kettenlauf / queued chain run) and narrows scope to cancellation between two steps. It also names the sibling it hands off to for status (onto_import_run_status), so an agent can distinguish it from the status/source tools without opening a schema.

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

Usage Guidelines4/5

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

Explicitly tells the agent when to use it: on misconfiguration, instead of letting the run complete through its steps. It also routes to onto_import_run_status for checking status before and after. It stops short of stating when-not to use it (e.g. run already finished or not yet queued), so it is strong but not complete guidance.

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.