Skip to main content
Glama
robot-structural-mcp

robot-structural-mcp

by brdz4

Listar cargas de un caso

robot_list_loads
Read-onlyIdempotent

Lists loads and applied values for a simple Robot case, flagging generated panel-to-beam loads so you can audit missing, duplicate, or sign-reversed entries.

Instructions

Lista las cargas (registros) de un caso simple: tipo, elementos cargados y valores.

Por defecto solo las definidas por el usuario, como la tabla de cargas de Robot. Robot genera además una carga BAR_UNIFORM por viga al repartir la carga de los paneles de reparto (generated_count dice cuántas); son la misma carga ya repartida: sumarlas a la del panel la cuenta dos veces. Devuelve {case:{number, name, nature}, generated_count, total, count, offset, has_more, next_offset?, items:[{index, type, generated?, object_type?, objects, objects_count?, description?, units?, values?, points?}]}. index es la posición del registro en Robot. points (solo BAR_TRAPEZOIDALE): [{x, px, py, pz}] vértices de la carga en kN/m; x relativa (0-1) si values.RELATIVE = 1, si no en m. objects es null si el registro no tiene elementos legibles (p. ej. el espectro de un caso sísmico, que trae su nombre en description y un type numérico). type: NODE_FORCE, BAR_UNIFORM, BAR_TRAPEZOIDALE, BAR_FORCE_CONCENTRATED, DEAD / BAR_DEAD (peso propio), UNIFORM (superficial en paneles), IN_CONTOUR, SURFACE_ON_OBJECT, LINEAR_ON_EDGES… values trae solo las componentes distintas de 0, con fuerzas en kN (por m o por m² según 'units'); los demás tipos se listan sin values. Ejes globales salvo que values incluya LOCAL / LOCAL_SYSTEM = 1. Sirve para auditar un caso: cargas que faltan, duplicadas o con signo equivocado (Z negativo = hacia abajo). Para el total aplicado usa robot_get_reactions (sum_fz_kn).

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

Input Schema

NameRequiredDescriptionDefault
caseYesNúmero de un caso simple (ver robot_list_load_cases).
limitNoMáximo de elementos a devolver (1-500).
offsetNoElementos a saltar; usa next_offset de la respuesta anterior.
include_generatedNotrue = incluir también las cargas que Robot genera al repartir paneles a barras.

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?

Annotations already declare readOnly/idempotent/non-destructive, so the bar is lower, yet the description adds substantial behavioral context beyond them: the double-counting hazard when summing generated BAR_UNIFORM loads with panel loads, the fact that only non-zero components appear in values, force units kN vs kN/m² depending on 'units', global axes unless LOCAL/LOCAL_SYSTEM=1, and that objects is null for non-readable records such as seismic spectra. None of this is inferable from the annotations or 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 and default scope before the detail, and nearly every sentence carries operational value (units, axes, null objects, double-counting). It is dense and the long type enumeration plus the inline return-shape block make it heavier than necessary, though not padded.

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 read-only listing tool with four fully documented parameters, annotations, and an output schema, the description covers the remaining ambiguities an agent would hit: units, coordinate reference for points, null objects, and the duplicate-load trap. Nothing needed to call it correctly appears to be 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 the baseline would be 3, but the description adds real meaning beyond the schema: it explains what 'generated' loads physically are and why include_generated matters, and clarifies that 'case' is a simple-case number cross-referenced to robot_list_load_cases. Pagination via next_offset is left to the schema, which already documents it.

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?

Opens with a specific verb+resource+scope: 'Lista las cargas (registros) de un caso simple: tipo, elementos cargados y valores.' It immediately distinguishes its default scope (user-defined loads only) from Robot-generated BAR_UNIFORM records, so an agent knows this is not the same as a total-load or reactions query. Sibling routing is named explicitly (robot_list_load_cases for case numbers, robot_get_reactions for totals).

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?

States the default behavior ('Por defecto solo las definidas por el usuario'), names the state that changes it (include_generated), and gives an explicit purpose: 'Sirve para auditar un caso: cargas que faltan, duplicadas o con signo equivocado.' It also redirects to a named alternative for the total applied ('Para el total aplicado usa robot_get_reactions (sum_fz_kn)'), which is exactly the when-to-use-another-tool guidance expected.

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