Skip to main content
Glama

Borra una anotación

delete_annotation
Destructive

Borra una anotación. Destructivo: exige confirm=true.

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": {
      "id": "<id>",
      "annotationId": "<annotationId>",
      "confirm": "<confirm>"
    },
    "name": "delete_annotation"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesId de la web (campo `id` de `/v1/sites`).
confirmYesDebe ser `true`.
annotationIdYesId de la anotación (campo `id` de `list_annotations`).
idempotency_keyNoOpcional. Un reintento con el mismo valor devuelve la misma respuesta sin repetir la escritura.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.2/5.0
Behavior2/5

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

Annotations already declare destructiveHint=true and readOnlyHint=false, and the schema already makes confirm a required enum of "true", so both sentences restate structured data rather than adding to it. Nothing is said about irreversibility, whether related data is affected, or what the idempotency_key does on retries — despite the tool carrying a non-idempotent annotation alongside an idempotency_key parameter.

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?

Two short, front-loaded sentences with no filler; the destructive nature and the confirmation gate are placed first. It is slightly under-written rather than verbose, and 'Destructivo' duplicates the annotation flag.

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?

For a single-record delete with a fully documented schema and explicit destructive annotations, most of what an agent needs is already in structured fields. The description nonetheless omits recovery/irreversibility context and does not reconcile the idempotentHint=false annotation with the optional idempotency_key, which is the one genuinely confusing point.

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?

Schema description coverage is 100% and each parameter is documented inline (site id, annotation id, confirm, idempotency_key), so the baseline of 3 applies. The description only echoes the confirm parameter and adds no semantics for id or annotationId beyond what the schema states.

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?

"Borra una anotación" names a specific verb (borrar) and resource (anotación), so the operation is unambiguous. It does not, however, distinguish itself from the nearby create_annotation and list_annotations siblings, which the agent must infer from the names alone.

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

Usage Guidelines3/5

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

The description states a hard prerequisite (confirm=true) which effectively signals 'only call this when you truly intend to delete'. It gives no explicit when-to-use vs when-not guidance, no mention of how to obtain a valid annotationId, and no pointer to list_annotations for discovery.

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