Skip to main content
Glama
robot-structural-mcp

robot-structural-mcp

by brdz4

Flechas de vigas

robot_get_bar_deflections
Read-onlyIdempotent

Retrieve maximum elastic bar deflection per load case or service combination, with vertical/lateral values and L/deflection ratios, to verify beam or column serviceability limits.

Instructions

Flecha máxima de cada barra (mm) medida desde la cuerda que une sus extremos deformados, por caso.

Devuelve {results_status, cases, total, count, offset, has_more, next_offset?, items:[{bar, length_m, by_case:[{case, uz_mm, uy_mm, x_uz, l_over_uz, passes?}]}], worst?}. uz es la flecha en el eje local z (vertical en vigas), uy la lateral; x_uz la posición relativa (0-1) del máximo; l_over_uz = L/|uz|. Es la flecha elástica inmediata con la rigidez del modelo: para la diferida (ACI 24.2.4) multiplica la parte permanente por ξ/(1+50ρ'). Usa una combinación de servicio (SLS) o los casos por separado. Para limitarla a vigas, structural_type='BEAM'.

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_bar_deflections"
  }
}

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.
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.
selectionNoNúmeros de elemento: '1to10', '3 7 12', '1to50By5'. Omitir = todos.
limit_ratioNoDenominador del límite L/n a comprobar (ACI 24.2.2: 240, 360 o 480). Omitir = no se comprueba.
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.2/5.0
Behavior4/5

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

Annotations already declare a safe read-only, idempotent, non-destructive operation, and the description adds real behavioral context: results are elastic immediate deflections using model stiffness, deferred deflection (ACI 24.2.4) requires multiplying the permanent part by ξ/(1+50ρ'), and the optional 'passes?' field appears when limit_ratio is set. It does not cover failure modes or unit conventions beyond mm, keeping it below 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?

Front-loads the definition, then the response shape, then the interpretation caveats and usage hints. It is dense but nearly every sentence carries information; the inline enumeration of return keys is somewhat redundant given the output schema, though the field meanings (uz, uy, x_uz, l_over_uz) justify it.

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 an eight-parameter results tool with nested per-case output, the description covers what is measured, how the value is computed, how to obtain deferred deflection, how the L/n check is triggered, and how to narrow to beams. Nothing an agent needs to call it correctly is missing.

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 coverage is 100%, so the schema already documents all eight parameters in detail. The description adds only marginal semantics beyond that, mainly that 'cases' should be service combinations and that structural_type='BEAM' restricts to beams, so the baseline 3 is appropriate.

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 precise verb and resource: maximum deflection of each bar (mm) measured from the chord joining its deformed ends, per case. The chord-relative definition itself distinguishes this from node displacements or bar forces, so an agent can tell what it gets without opening the 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?

Gives concrete usage guidance: use a service combination (SLS) or separate cases, and pass structural_type='BEAM' to restrict to beams; limit_ratio ties into an ACI 24.2.2 L/n check. It does not explicitly exclude or route to a sibling such as node displacements or drift checks, so it stops short of a full when/when-not statement.

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