Skip to main content
Glama

cancel_deep_scan

Idempotent

Cancel an in-progress Internet.nl deep scan using its scan ID. Marks it cancelled, stops polling, and leaves completed results untouched; safe to call twice.

Instructions

Cancel an in-progress Internet.nl deep scan. Marks the scan cancelled; the polling loop then withdraws the upstream Internet.nl batch, usually within ten seconds. Requires scanId returned by start_deep_scan. Nothing is deleted: a scan that already finished keeps its results and is left alone, so calling this twice is safe. An unknown or expired scanId returns 404. Use when the user changes their mind mid-scan or when polling get_deep_scan_status would otherwise time out. No auth.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
scanIdYesDeep scan ID returned by start_deep_scan

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv1.10.0
    • removedInput schema / additionalProperties
      Removed value: -false
  2. First observedv0.1.0

TDQS

A4.7/5.0
Behavior5/5

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

Beyond annotations, the description discloses the cancellation mechanism ('withdraws the upstream Internet.nl batch, usually within ten seconds'), non-destructive nature ('Nothing is deleted... keeps its results'), idempotency ('calling this twice is safe'), and error handling ('unknown or expired scanId returns 404'). It also notes 'No auth.' These details add significant value beyond the idempotentHint and destructiveHint annotations.

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?

The description is concise, with the primary action front-loaded. Each sentence adds necessary information (behavior, prerequisites, safety, error, use case) without redundancy or fluff. The structure is logical and easy to parse.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given the tool's simplicity (one parameter, no output schema), the description covers all essential aspects: purpose, behavior, timing, idempotency, error cases, and authentication. It also names related tools (start_deep_scan, get_deep_scan_status), making the context fully self-contained.

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?

The schema already provides full coverage (100%) for the single parameter scanId with a clear description. The tool description repeats 'Requires scanId returned by start_deep_scan,' which adds no new meaning beyond the schema. Since schema coverage is complete, a baseline score of 3 is appropriate.

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?

The description states a specific verb ('Cancel') and resource ('an in-progress Internet.nl deep scan'), clearly distinguishing it from sibling tools like start_deep_scan and get_deep_scan_status. It also names the required input (scanId) and the context of use, leaving no ambiguity about what the tool does.

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

Usage Guidelines5/5

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

Explicitly states when to use: 'when the user changes their mind mid-scan or when polling get_deep_scan_status would otherwise time out.' It also clarifies prerequisites (requires scanId from start_deep_scan) and idempotency ('calling this twice is safe'), which guides appropriate usage versus alternatives.

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