Skip to main content
Glama
@cmssy/mcp-server

@cmssy/mcp-server

Official

Cancel record import

cancel_record_import
Destructive

Stops an unfinished record import in uploading, queued, running, or awaiting-confirmation states; already-written records remain, no further rows are written, and the import cannot be resumed.

Instructions

Stop a record import that has not finished - uploading, queued, running or awaitingConfirmation. Records already written stay; no further row is written. A cancelled import cannot be resumed.

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": {
      "jobId": "<jobId>"
    },
    "name": "cancel_record_import"
  }
}

Input Schema

NameRequiredDescriptionDefault
jobIdYesThe import job's id

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.148.0

TDQS

A4.1/5.0
Behavior5/5

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

Annotations already flag destructiveHint=true, and the description goes beyond them with the exact blast radius: rows already written are retained, no further row is written, and the action is irreversible. For a destructive mutation this is precisely the context an agent needs before invoking.

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, front-loaded with the action and its state gate, followed by the consequence. Every clause carries distinct information: eligibility states, retained rows, no further writes, irreversibility.

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 destructive operation with no output schema, the definition covers eligibility, side effects, and irreversibility well. The only gap is what the call returns or what happens on an ineligible job (error vs no-op), a minor omission given annotation coverage.

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, jobId, and the schema already describes it at 100% coverage. The description adds no format, sourcing, or lookup guidance for the id, so it neither compensates nor detracts — the schema carries the parameter burden entirely.

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 ('Stop a record import') plus a state precondition (uploading, queued, running or awaitingConfirmation), which is far more than a restatement of the name. It does not name a sibling such as resume_record_import or get_record_import, though 'A cancelled import cannot be resumed' implicitly routes away from resume.

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?

The enumerated eligible states tell an agent exactly when this call is valid, which is real usage context rather than implied guidance. It stops short of stating the inverse case (e.g. that completed or failed imports cannot be cancelled) or explicitly naming the alternative tool for non-cancellable jobs.

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

Deploy Server

Other Tools