Skip to main content
Glama
robot-structural-mcp

robot-structural-mcp

by brdz4

Definir tipo de apoyo

robot_define_support
DestructiveIdempotent

Defines or redefines a rigid support type by setting which translational and rotational degrees of freedom are restrained, with dry-run validation before applying changes.

Instructions

Crea (o redefine, con overwrite) un tipo de apoyo rígido indicando qué grados de libertad restringe.

Por defecto, empotramiento (los seis restringidos); articulado = rx, ry, rz en false. Devuelve {dry_run, applied, results_status_before, invalidates_results, action, support:{name, fixed}, nodes_affected, next_step? | results_status_after}. Definirlo no lo coloca en ningún nudo: usa robot_assign_support.

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

Input Schema

NameRequiredDescriptionDefault
rxNoGiro X restringido.
ryNoGiro Y restringido.
rzNoGiro Z restringido.
uxNoDesplazamiento X restringido.
uyNoDesplazamiento Y restringido.
uzNoDesplazamiento Z restringido.
nameYesNombre del apoyo, p. ej. 'Empotrado'.
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.
overwriteNotrue = redefinir un apoyo existente (afecta a los nudos que lo usan).
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.6/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true, idempotentHint=true and readOnlyHint=false, so the safety bar is partly met structurally. The description adds the key consequence the annotations cannot convey: overwrite 'afecta a los nudos que lo usan', and that defining alone does not place the support. It does not itself explain the results-invalidation/discard_results workflow, which lives only in the schema.

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, then presets, then the sibling hand-off — a sensible order with no filler sentences. The enumerated return-field list is somewhat redundant given an output schema exists, but it still signals the presence of 'next_step?' and 'invalidates_results', which is workflow-relevant.

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, results-invalidating mutation tool with 10 parameters, the description covers what it does, the preset semantics, the destructive overwrite consequence, and the critical next-step routing to robot_assign_support. Return values are covered by the output schema, so leaving them to structured data is appropriate.

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, but the description adds real meaning beyond the schema by mapping common engineering presets to parameter values (all six true = empotramiento; rx/ry/rz false = articulado). That is interpretive guidance the schema's per-flag 'restringido' text does not supply.

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?

The description opens with a concrete verb and resource ('Crea (o redefine, con overwrite) un tipo de apoyo rígido') and immediately scopes it to 'qué grados de libertad restringe'. It distinguishes itself from the placement sibling by stating 'Definirlo no lo coloca en ningún nudo: usa robot_assign_support', so an agent can separate define from assign without opening either schema.

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?

It names the alternative explicitly (robot_assign_support) and the condition that selects it (definition vs. placement). It also gives preset-level guidance ('Por defecto, empotramiento... articulado = rx, ry, rz en false') and explains overwrite as redefining an existing support, so the agent knows when each mode applies.

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