Skip to main content
Glama
robot-structural-mcp

robot-structural-mcp

by brdz4

Cuantías de vigas y columnas (ACI 318-19)

robot_check_rc_members
Read-onlyIdempotent

Checks rectangular RC beams and columns for required longitudinal and transverse reinforcement and minimum steel per ACI 318-19 using ULS load combinations.

Instructions

Acero longitudinal y transversal requerido en vigas y columnas rectangulares de hormigón (ACI 318-19).

Pasa las combinaciones últimas (ULS), p. ej. las de robot_create_nec_combinations; un caso espectral suelto no sirve (sus esfuerzos no tienen signo). Devuelve {results_status, cases, materials, summary:{checked, failing, skipped}, total, count, offset, has_more, next_offset?, items:[…]}. Viga: {bar, kind:'BEAM', section, b_cm, h_cm, d_cm, flexure:{mu_neg_knm, mu_pos_knm, as_top_cm2, as_bottom_cm2, as_min_cm2, rho_top, rho_bottom}, shear:{vu_kn, phi_vc_kn, av_s_cm2_m, av_s_min_cm2_m}, ok, problems}. Columna: {bar, kind:'COLUMN', section, b_cm, h_cm, governs:{case, x, pu_kn, muy_knm, muz_knm}, rho_required, as_required_cm2, shear_y, shear_z, ok, problems}. As_top/bottom: la mayor entre la requerida y la mínima. av_s en cm²/m (área de todas las ramas por metro). Momentos en los nudos (no a la cara del apoyo: conservador). Secciones no rectangulares o no de hormigón (p. ej. dobles T prefabricadas) se omiten en 'skipped'. Una barra sin tipo estructural se clasifica por su geometría (kind_from_geometry: vertical = columna). No incluye diseño por capacidad ni esbeltez.

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>",
      "fc_mpa": "<fc_mpa>",
      "fy_mpa": "<fy_mpa>"
    },
    "name": "robot_check_rc_members"
  }
}

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).
fc_mpaYesResistencia del hormigón f'c en MPa (dato del proyecto).
fy_mpaYesFluencia del acero longitudinal fy en MPa (dato del proyecto).
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.
fyt_mpaNoFluencia de los estribos. Omitir = fy.
sectionNoNombre exacto de una sección (ver robot_list_sections) para filtrar barras.
cover_cmNoDistancia de la cara al centro de las barras longitudinales (cm).
selectionNoNúmeros de elemento: '1to10', '3 7 12', '1to50By5'. Omitir = todos.
bars_per_faceNoBarras por cara en columnas (3 = 8 barras en total).
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.3/5.0
Behavior5/5

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

Annotations already declare read-only, idempotent, non-destructive, bounded behavior, and the description goes well past them: which sections are silently dropped into 'skipped', how untyped bars are classified by geometry (vertical = column), that moments are taken at the joints (conservative), the unit convention for av_s, that as_top/as_bottom is the max of required and minimum, and the explicit scope limits (no capacity design, no slenderness).

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, input requirement and caveats are front-loaded and clearly ordered, but the middle section transcribes the full response shape, per-kind item fields and units — content the output schema already carries. That block is a large share of the text and displaces nothing, so the definition is denser than it needs to be.

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 12-parameter verification tool the description closes the gaps that matter: valid input type, unit conventions, what gets skipped and why, how ambiguous bars are classified, and the boundaries of the code check. The presence of an output schema makes the field-by-field listing redundant rather than necessary, but 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 all 12 parameters are already documented in the schema, including the case-number syntax and the note that non-existent cases are an error for check_* tools. The description reinforces the ULS-case requirement and hints that structural_type drives the geometry fallback, but adds no format or selection detail beyond what the schema provides — the baseline 3 applies.

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?

The first sentence names the concrete deliverable — required longitudinal and transverse steel in rectangular RC beams and columns — and pins the code (ACI 318-19), so an agent can separate it from the safety checks (drifts, base shear, P-Delta) and from the create/list tools 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 an explicit input precondition (ULS combinations, e.g. those from robot_create_nec_combinations) and a concrete exclusion: a standalone spectral case is invalid because its forces carry no sign. That is strong when/when-not guidance for the caller, though it does not explicitly contrast the tool with other check_* siblings or say when a member check is out of scope versus another verification.

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