Skip to main content
Glama

Delete Scraper Run

scraper_run_delete
DestructiveIdempotent

Permanently delete one finished retained run from the current authenticated scope before the 30-day retention limit. Refused while active, while its charge is unresolved, or while old raw retry receipts for a legacy synchronous result are still draining. New results use payload-free pointers and can be deleted immediately. A matching retry within 24 hours then reports the result unavailable without executing or charging again; after the receipt expires, the key can start new paid work. This cannot be undone and never refunds a charge.

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": "scraper_run_delete"
  }
}

Input Schema

NameRequiredDescriptionDefault
run_idYesServer-issued run ID of a finished run.
verbosityNoconcise: short summary of the answer; full: the whole answer. Only shapes the output.
idempotency_keyNoOptional and ignored: this call never charges, so it needs no retry key.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.5/5.0
Behavior4/5

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

Adds substantial behavior beyond the annotations: non-refundable, irreversible, retry within 24h yields 'unavailable' without executing or charging, and the key can start new paid work after the receipt expires. Also discloses refusal conditions the annotations cannot express. Slightly dense but genuinely informative.

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-loads the action and scope in the first sentence, then layers refusal conditions and retry semantics. Every sentence carries behavioral information, though the retry-receipt clause is dense and could be tightened.

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?

For a destructive paid tool with no output schema, the definition covers irreversibility, billing outcome, retry behavior, and eligibility preconditions. An agent has everything needed to avoid a wrong or wasted call.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so the schema already documents run_id, verbosity, and idempotency_key. The description's constraint that only finished, retained, within-retention runs qualify adds real meaning about what run_id values are acceptable.

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 ('Permanently delete'), a precise resource ('one finished retained run'), and scope ('current authenticated scope ... before the 30-day retention limit'). The 'finished' and 'refused while active' framing implicitly separates it from the cancel sibling without opening either 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?

Clearly states the conditions under which the call is valid (finished run, within retention, charge resolved) and the three refusal cases. It does not name an explicit alternative (e.g. cancel for active runs) or say what to do when refused, so it stops short of full when/when-not routing.

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.

Resources