Skip to main content
Glama
robot-structural-mcp

robot-structural-mcp

by brdz4

Definir sección rectangular de hormigón

robot_define_concrete_section
DestructiveIdempotent

Creates or redefines a rectangular concrete column or beam section with cracked-inertia factors, validating changes by dry run and reporting resulting stiffness before assignment.

Instructions

Crea (o redefine, con overwrite) una sección rectangular de hormigón con inercia agrietada.

Devuelve {dry_run, applied, results_status_before, invalidates_results, action (create | redefine), section:{name, kind, b_cm, h_cm, material?, inertia_reduction?}, bars_affected, current?, next_step? | section_after, results_status_after}. section_after es la sección releída de Robot, con iy/iz guardadas y su relación con la inercia bruta. Crear una sección nueva no cambia ninguna barra: asígnala con robot_assign_section o al crear barras.

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>",
      "kind": "<kind>",
      "b_cm": "<b_cm>",
      "h_cm": "<h_cm>"
    },
    "name": "robot_define_concrete_section"
  }
}

Input Schema

NameRequiredDescriptionDefault
b_cmYesAncho b en cm.
h_cmYesAltura h en cm.
kindYesColumna o viga de hormigón armado.
nameYesNombre de la sección, p. ej. 'V30x50'.
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.
materialNoMaterial existente (robot_list_materials con only_used=false). Omitir = el de Robot por defecto.
iy_factorNoCoeficiente de inercia agrietada en el eje fuerte (NEC: 0.5 vigas, 0.8 columnas).
iz_factorNoCoeficiente de inercia agrietada en el eje débil.
overwriteNotrue = redefinir una sección que ya existe (cambia la rigidez de las barras que la 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.4/5.0
Behavior5/5

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

Goes well beyond the annotations (destructiveHint=true, idempotentHint=true) by disclosing that overwrite alters the rigidity of dependent bars and that applying an invalidating change requires explicit acceptance because results must be recalculated. The dry-run-then-apply workflow and the results-status transitions are spelled out, so the agent understands the side effects before calling.

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?

The first sentence is front-loaded and precise, and the final sentence about assignment is a valuable caution. However, the long enumeration of return fields (section_after, iy/iz, results_status_after) is largely redundant given that an output schema exists, which costs some conciseness.

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, multi-parameter mutation tool, the description covers the mode switch, result invalidation, the required dry-run discipline, and the follow-up assignment step. Combined with a rich output schema and full parameter coverage, an agent has everything needed to invoke it safely.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100%, including units, bounds, enum values for kind, and NEC coefficients for the inertia factors, so the baseline is 3. The description adds the create/redefine meaning of overwrite but otherwise repeats schema-level facts rather than adding new semantic depth.

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 ('Crea (o redefine, con overwrite) una sección rectangular de hormigón con inercia agrietada') and immediately disambiguates the create-vs-redefine modes. It also distinguishes itself from the assignment sibling by noting a new section does not affect any bar.

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?

Explicitly routes the agent to 'robot_assign_section' (or bar creation) after defining a section, which is the key downstream condition. It also flags that overwrite changes the stiffness of bars already using the section. It stops short of stating when to prefer redefining an existing section over creating a new one, leaving that inference to the agent.

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