Skip to main content
Glama

x402_scratchpad_delete_v1_scratch

Deletes a namespace-scoped key from the persistent scratchpad key-value store, removing stored agent data by namespace and key.

Instructions

scratchpad — Persistent key-value store for agents (D1-backed, TTL, namespace-scoped) [DELETE /v1/scratch] $0.005 USDC on eip155:8453. Example: /v1/scratch?ns=my-ns&key=k

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "x402_scratchpad_delete_v1_scratch"
  }
}

Input Schema

NameRequiredDescriptionDefault
bodyNoJSON body for POST/PUT/PATCH/DELETE
queryNoQuery parameters, e.g. {base:'USD', quote:'EUR'}
restartNoExplicitly re-run a previously failed/unknown operation. Never set for unknown outcomes unless you know the paid call did not complete.
operationIdNoDurable operation id for this intent. Supply a stable id (e.g. your job/run id) to dedupe retries; omit to derive one from the arguments.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.1

TDQS

B3.4/5.0
Behavior3/5

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

With no annotations, the description must carry the behavioral load, and it does supply useful context: D1 backing, TTL expiry, namespace scoping, and a concrete price of $0.005 USDC on eip155:8453. It does not disclose what a delete actually removes (one key vs. an entire namespace), whether missing keys error or no-op, whether deletion is idempotent, or whether the paid call is still charged on failure — material gaps for a destructive, paid operation.

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?

A single compact line that front-loads the resource and capability, then the endpoint, price and a usage example in descending order of importance. No sentence is wasted, and the metadata bracket is dense but relevant to a paid x402 endpoint.

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?

There is no output schema or annotation set, so the description must cover the full picture for a four-parameter mutation tool. It covers storage model, cost, endpoint and an example, but omits the response shape and the error/idempotency behavior an agent needs to call a paid DELETE safely.

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

Parameters4/5

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

Schema coverage is 100%, so the baseline is 3, and the description earns above that by giving the concrete example '/v1/scratch?ns=my-ns&key=k'. That example meaningfully overrides the schema's misleadingly generic query description ('{base: USD, quote: EUR}') by identifying ns and key as the actual parameters for this operation.

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?

The description names the resource (a persistent, D1-backed, TTL, namespace-scoped key-value scratchpad) and the operation via the bracketed '[DELETE /v1/scratch]' endpoint, which distinguishes it from the get/post/keys siblings by HTTP method. It stops short of stating a plain verb phrase like 'deletes a single key', so an agent has to translate the endpoint notation into intent.

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

Usage Guidelines2/5

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

There is no when-to-use guidance at all: nothing says to use this over x402_scratchpad_post_v1_scratch or x402_statevault_delete_v1_doc, and no prerequisites are given. The example query string implies that a namespace and key are needed, but that is inference rather than instruction.

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