Skip to main content
Glama

Vaciar la cabeza: colocar

dump_apply

Coloca en sus proyectos lo de un vaciado propuesto con dump_preview, SOLO después de enseñarle la propuesta al usuario y con sus respuestas. answers: [{question: q1, answer: el value de la opción que eligió, o lo que pone si es una lectura}]. edits: lo que haya corregido él ({n, text, project, who, due, drop}). Con undo: true quita las tareas que entraron con el vaciado y nadie ha tocado.

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": {
      "dump": "<dump>"
    },
    "name": "dump_apply"
  }
}

Input Schema

NameRequiredDescriptionDefault
dumpYesEl vaciado (v1, v2…).
undoNo
editsNo
answersNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.2/5.0
Behavior4/5

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

Annotations only cover the safety flags (readOnly false, destructive false, idempotent false); the description adds real behavioral context beyond them — the user-answer requirement, the shape of corrections the user made, and the crucial caveat that undo:true only removes tasks created by the dump that nobody has touched yet. That partial-undo limitation is exactly the kind of consequence an agent could not infer from annotations. It does not describe the return value or what happens if undo and edits are sent together.

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?

Very dense and front-loaded: the sequencing constraint comes first, then the payload semantics, then the undo mode. Every clause carries information, though the telegraphic run-on style (chained parentheses and colons) makes it slightly harder to parse than a short bulleted structure would be.

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 mutating tool with no output schema and thin annotation detail, the definition covers the essentials: dependency on dump_preview, the user-consent gate, how answers and edits are shaped, and how to roll back. Missing only the outcome side — what the call returns and whether undo can be combined with edits in one call.

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 description coverage is only 25%, so the description has to compensate, and it largely does: it explains how answers map (question plus the value of the option chosen, or free text for a reading) and enumerates the editable fields in edits (n, text, project, who, due, drop) and the effect of undo. What remains unexplained is 'n' (presumably the item index in the dump) and the mutual interaction of edits with undo.

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 and resource: it places the items of a proposed dump into the user's projects, and it explicitly ties itself to the sibling dump_preview as the producer of that proposal. The only softness is that 'lo de un vaciado' is idiomatic — the agent must infer that the placed units are tasks — but the operation is clearly distinguishable from dump_preview (propose) versus dump_apply (commit).

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?

Hard precondition stated in capitals: apply ONLY after showing the proposal to the user and only with their answers, which implicitly rules out calling it straight after a preview. It also names the alternative path (dump_preview) as the required predecessor and describes the undo:true variant as a separate mode, so an agent knows both when to call it and which form to use.

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.