Skip to main content
Glama

Confirmar o descartar una corrección

answer_correction
Idempotent

Apunta la respuesta del usuario a una corrección del lote: si (es una regla suya), no (descártala) o corregida (vale, pero dicha como él la dice, en text). Solo con su respuesta explícita, nunca por tu cuenta.

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>",
      "answer": "<answer>"
    },
    "name": "answer_correction"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesEl id de la corrección (c3), de list_corrections.
textNoCon corregida: la regla con sus palabras.
answerYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4/5.0
Behavior3/5

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

Annotations already declare this is a non-read-only, idempotent, non-destructive write. The description adds semantic outcomes per answer (si = keep as the user's rule, no = discard, corregida = accept with rewritten text), which goes beyond the annotations. But it never says what happens to the stored correction after "no", whether re-answering overwrites the prior answer (despite idempotentHint), or what is returned.

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 sentences, purpose front-loaded, followed by the safety constraint. Dense but every clause carries info (verb, three answer meanings, text requirement, constraint). Slightly cramped by the nested parentheticals, but no filler.

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 3-param mutation tool with annotations covering safety and no output schema, the definition covers what to do, when not to, and the enum semantics. The remaining gap is downstream effect/failure behavior, which is minor given the annotation coverage.

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?

At 67% schema coverage the description fully compensates: it maps each of the three enum values to a meaning and specifies the condition that requires the optional `text` field ("corregida ... en text"). The schema gives only the enum, not its semantics, so the description adds real decision-relevant meaning.

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 concrete verb+resource: recording ("Apunta") the user's answer to a batch correction, and unpacks what each answer value means. It's clearly distinct from list_corrections or save_correction by describing the act of answering an existing correction, though it never names those siblings.

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?

Includes a strong negative constraint: "Solo con su respuesta explícita, nunca por tu cuenta" — only act on the user's own explicit answer, never guess. That's a genuine when-not rule. It stops short of pointing at alternatives (e.g. list_corrections to stage corrections first), so there's a small gap.

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.