Skip to main content
Glama
robot-structural-mcp

robot-structural-mcp

by brdz4

Máximos y mínimos (envolvente)

robot_get_result_extremes
Read-onlyIdempotent

Compute maximum and minimum result components across elements and load cases, returning envelopes with governing bar/node, case, and position for peak forces, reactions, or displacements.

Instructions

Máximo y mínimo de cada componente sobre un conjunto de elementos y casos, con su ubicación.

Es la forma rápida de obtener envolventes (Robot busca internamente). Devuelve {results_status, quantity, cases, elements_count, extremes:[{component, unit, max:{value, bar|node, case, x?}, min:{value, bar|node, case, x?}}]}. Unidades: fuerzas kN, momentos kN·m, desplazamientos mm, giros rad. x = posición relativa en la barra (se evalúan 11 estaciones). En bar_forces cada extremo trae además structural_type, section, storey, start_node y end_node de la barra, para no tener que consultarla aparte. section, storey y structural_type solo aplican a bar_forces (para «la columna más cargada» usa structural_type='COLUMN'). En node_displacements se incluyen los nudos de la malla de paneles. Mismas convenciones de signo que robot_get_bar_forces; en casos espectrales el signo no es físico.

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

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.
storeyNoNombre exacto de un piso (ver robot_list_storeys). Incluye las columnas que nacen en ese piso y las vigas de su nivel superior; las vigas de cubierta son las del último piso.
sectionNoNombre exacto de una sección (ver robot_list_sections) para filtrar barras.
quantityYesQué resultado envolver: esfuerzos en barras, reacciones o desplazamientos de nudos.
selectionNoNúmeros de elemento: '1to10', '3 7 12', '1to50By5'. Omitir = todos.
componentsNoComponentes a evaluar. Omitir = las seis de la magnitud (F/M o U/R).
structural_typeNoFiltra por tipo estructural de la barra: COLUMN (columnas) o BEAM (vigas).

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

A4.6/5.0
Behavior5/5

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

Goes well beyond the readOnly/idempotent annotations: declares output units (kN, kN·m, mm, rad), discloses that x is sampled at 11 stations (an approximation limit the agent otherwise would not know), explains that bar_forces extremes carry structural_type, section, storey and node info to avoid a second lookup, and warns that signs are non-physical in spectral cases.

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-loads the core definition in the first sentence, then moves to return shape, units and caveats in a logical order. Dense but nearly every clause carries information; the unit enumeration and the structural_type aside could be tightened slightly.

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 7-parameter read tool with an output schema, the description covers the remaining unknowns: units, sampling resolution, filter applicability per quantity, and sign convention caveats. An agent has enough to call it correctly without inspecting siblings.

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 adds real meaning on top by scoping section, storey and structural_type to bar_forces only, noting panel-mesh nodes appear in node_displacements, and clarifying the x coordinate semantics. It does not restate cases/selection syntax, which the schema already covers well.

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: max/min of each component over a set of elements and cases, with location, plus the value proposition that Robot computes envelopes internally. It is clearly distinguishable from per-element siblings such as robot_get_bar_forces, and it explicitly references that sibling only for sign conventions.

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?

Explains that this is the fast path for envelopes versus reading full results, and gives a concrete selection recipe ('para «la columna más cargada» usa structural_type='COLUMN'). It does not state an explicit when-not or name the alternative tool for detailed per-element output, so it stops short of a 5.

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