Skip to main content
Glama
robot-structural-mcp

robot-structural-mcp

by brdz4

Reacciones en apoyos

robot_get_reactions
Read-onlyIdempotent

Retrieves support-node reactions in global axes and sums them by load case to check applied weight and seismic base shear.

Instructions

Reacciones en los nudos apoyados (ejes globales, kN y kN·m) y su suma por caso.

Devuelve {results_status, cases:[{number, name, analysis}], totals:[{case, sum_fx_kn, sum_fy_kn, sum_fz_kn}], total, count, offset, has_more, next_offset?, items:[{node, by_case:[{case, fx_kn, fy_kn, fz_kn, mx_knm, my_knm, mz_knm}]}]}. 'totals' es la suma de reacciones de toda la estructura: en casos de gravedad sum_fz_kn es el peso aplicado; en casos sísmicos sum_fx_kn / sum_fy_kn es el cortante basal del caso. FZ positivo = hacia arriba. 'selection' filtra nudos; por defecto, todos los apoyados. 'totals' no depende de la paginación: si solo quieres el peso o el cortante basal, llama con limit=1.

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

Input Schema

NameRequiredDescriptionDefault
casesYesNúmeros de caso o combinación: '5', '1 2 3', '101to108' (ver robot_list_load_cases). Al leer resultados se ignoran los que no existan; en las verificaciones robot_check_* es un error.
limitNoMáximo de elementos a devolver (1-500).
offsetNoElementos a saltar; usa next_offset de la respuesta anterior.
selectionNoNúmeros de elemento: '1to10', '3 7 12', '1to50By5'. Omitir = todos.

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare readOnly/idempotent/non-destructive, so the safety profile is covered. The description adds real behavioral context the annotations cannot: units, sign convention (FZ positive = upward), what 'totals' physically means in gravity vs seismic cases, and the default 'selection' behavior. No error handling or behavior for missing cases is stated here, though the schema covers that.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Purpose is front-loaded in one sentence, but the intervening line is a long literal dump of the response shape even though an output schema exists, which is redundant bulk. The genuinely valuable clauses (totals semantics, sign convention, limit=1 tip) are buried after it.

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 paginated read tool with full schema coverage and an output schema, the definition is essentially complete: scope, units, sign convention, pagination independence and filtering defaults are all present. The only shortfall is that the redundant inline return-shape listing substitutes for other context rather than adding to it.

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. The description still adds meaning beyond the schema by explaining that 'selection' defaults to all supported nodes and by giving the practical limit=1 idiom for retrieving totals without paging through items.

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: reactions at supported nodes, in global axes and explicit units (kN and kN·m), plus per-case sums. The scoping to 'nudos apoyados' distinguishes it from displacement/force result tools without needing to name a sibling.

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?

Gives concrete routing advice: use robot_list_load_cases to build the 'cases' string, and call with limit=1 when you only need the total weight or base shear since 'totals' is pagination-independent. It lacks an explicit statement of when NOT to use it (e.g. versus robot_check_base_shear), which keeps it from a 5.

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