Skip to main content
Glama
robot-structural-mcp

robot-structural-mcp

by brdz4

Crear pisos y asignarles las barras

robot_create_storeys
DestructiveIdempotent

Creates building storeys from specified levels and assigns each structural bar to the storey whose height interval contains its highest end; reports unassigned bars above the top level.

Instructions

Crea los pisos (storeys) y asigna a cada uno sus barras.

Cada barra va al piso cuyo tramo (nivel inferior, nivel superior] contiene su extremo más alto: las columnas que nacen en el piso y las vigas de su nivel superior (las de cubierta, al último piso; las que están en el nivel base o por debajo, al primero). Las barras por encima del último nivel quedan sin piso y se informan. La asignación es fija (no automática), así que se repite esta herramienta si cambia la geometría. Los paneles no se asignan. Devuelve {dry_run, applied, …, existing, storeys:[{name, bottom_m, top_m, height_m, bars_count}], unassigned_bars, next_step? | results_status_after}.

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

Input Schema

NameRequiredDescriptionDefault
namesNoNombre de cada piso, en el mismo orden. Omitir = 'Piso 1', 'Piso 2'…
levelsYesNivel superior de cada piso en m, de abajo arriba, p. ej. [3.1, 6.2, 9.3].
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.
replaceNotrue = borrar antes los pisos existentes (Robot crea uno por defecto en los modelos nuevos).
base_levelNoNivel inferior del primer piso, en m.
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.3/5.0
Behavior4/5

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

Annotations already flag destructive=true and idempotent=true, so the safety profile is carried. Beyond that, the description discloses real behavior: assignment is a fixed snapshot rather than automatic, bars above the top level remain unassigned and are reported, and panels are excluded. It does not warn that replace=true wipes existing storeys — that risk lives only in the schema — which keeps it from a 5.

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?

Purpose is front-loaded in the first line, and the assignment-rule detail earns its space because it determines correctness. The trailing pseudo-schema dump of the return object ({dry_run, applied, …, storeys:[…]}) is the weakest part — an output schema already exists, so that inline sketch is redundant noise.

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, geometry-dependent tool this covers what an agent needs: the partitioning rule, the re-run requirement, unassigned-bar reporting, and the panel exclusion. With an output schema present and full parameter coverage, the remaining gap is minor — the deletion consequence of `replace` and dry-run-first protocol are left entirely to the schema.

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 genuine meaning: the interval rule "(nivel inferior, nivel superior]" explains exactly which bar lands in which storey, which is the non-obvious semantics of `levels` and `base_level`. It adds logic the schema does not encode.

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 opening sentence names a specific verb+resource ("Crea los pisos (storeys)") and immediately adds the second operation that defines this tool: assigning bars to each storey. That combination separates it cleanly from robot_list_storeys and from robot_create_bars without needing to open 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 Guidelines4/5

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

It gives a concrete operational rule for when to re-run: "La asignación es fija (no automática), así que se repite esta herramienta si cambia la geometría", plus an explicit exclusion ("Los paneles no se asignan"). It does not name a sibling alternative or state a precondition chain (e.g. create bars first), so it stops short of a full when/when-not/alternative statement.

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