Skip to main content
Glama
robot-structural-mcp

robot-structural-mcp

by brdz4

Borrar cargas de un caso

robot_delete_loads
DestructiveIdempotent

Deletes selected loads from a case by index after dry-run validation, requiring a fresh load listing and refusing Robot-generated panel loads.

Instructions

Borra cargas (registros) de un caso por su índice. NO hay deshacer.

Consulta antes robot_list_loads para obtener los índices: cambian tras cada borrado, así que vuelve a listar antes de borrar otra vez. Devuelve {dry_run, applied, results_status_before, invalidates_results, case:{number, name}, records_before, to_delete:[{index, type, objects}], next_step? | records_after, results_status_after}. Se niega a borrar las cargas que Robot genera al repartir paneles (desaparecen solas al borrar la carga del panel).

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": {
      "case": "<case>",
      "indexes": "<indexes>"
    },
    "name": "robot_delete_loads"
  }
}

Input Schema

NameRequiredDescriptionDefault
caseYesNúmero del caso simple.
dry_runNotrue (por defecto) = solo valida y describe lo que haría, sin modificar nada. false = aplica el cambio. Haz siempre primero el ensayo y muestra el plan al usuario.
indexesYesCampo 'index' de las cargas en robot_list_loads.
discard_resultsNoObligatorio true para aplicar un cambio que invalida resultados vigentes del modelo (habrá que recalcular). Ponlo solo si el usuario lo aceptó.

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

A4.8/5.0
Behavior5/5

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

Beyond destructiveHint=true and idempotentHint=true, it discloses that there is no undo, that indexes shift after each deletion, that the tool refuses to delete loads auto-generated by panel splitting, and that applying a change can invalidate current model results requiring recalculation. This is exactly the behavioral context annotations cannot convey.

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-loaded with purpose and the no-undo warning, then procedure, then return shape, then the refusal rule — a sensible order. The long brace-enclosed listing of return fields is somewhat heavy for a tool that already has an output schema, though it does communicate the two conditional result branches.

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, branching (dry-run vs applied) mutation tool, the description covers irreversibility, prerequisite listing, index volatility, guard behavior, and consent requirements. Nothing essential for correct invocation is missing.

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 per-parameter definitions are already documented; the description adds workflow meaning (dry_run is a mandatory first step, discard_results requires explicit user consent, indexes must come from robot_list_loads and are volatile). It does not add syntax detail beyond that, which is acceptable given the schema.

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 and resource ("Borra cargas (registros) de un caso por su índice") plus the irreversible nature ("NO hay deshacer"). It also delimits scope by refusing to delete Robot-generated panel loads, which distinguishes it from a generic element-deletion sibling.

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?

Gives explicit when-to-use workflow: call robot_list_loads first to get indexes, re-list before each additional delete because indexes shift, and always run dry_run first showing the plan to the user. It also sets the condition for discard_results (only if the user accepted result invalidation).

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.