Skip to main content
Glama
robot-structural-mcp

robot-structural-mcp

by brdz4

Verificar cortante basal dinámico (NEC §6.2.2)

robot_check_base_shear
Read-onlyIdempotent

Compares dynamic base shear against the static requirement per NEC-SE-DS and reports pass/fail, ratio, and required scale-up factor for each seismic case.

Instructions

Compara el cortante basal del análisis dinámico con el estático, según NEC-SE-DS §6.2.2.

V dinámico = cortante basal del caso en Robot × scale, en su dirección principal. El estático se da directamente (static_shear_kn) o como coeficiente × W, con W leído de 'weight_case'. Devuelve {results_status, formula, static_shear_kn, weight_kn?, min_ratio, cases:[{case, direction, raw_shear_kn, scale, dynamic_shear_kn, ratio, passes, scale_up_factor, required_scale}], passes}. Si no cumple, scale_up_factor = min_ratio·V_est/V_din es por cuánto hay que multiplicar el caso, y required_scale el factor total resultante.

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

Input Schema

NameRequiredDescriptionDefault
casesYesCasos sísmicos a verificar, cada uno con su factor de escala.
min_ratioNoMínimo exigido: 0.80 estructuras regulares, 0.85 irregulares.
weight_caseNoCaso o combinación cuya reacción vertical total es la carga reactiva W (p. ej. la combinación de carga muerta).
static_shear_knNoCortante basal estático V en kN (NEC §6.3.2). Alternativa: seismic_coefficient + weight_case.
seismic_coefficientNoCoeficiente sísmico C = I·Sa/(R·ΦP·ΦE), como fracción de W (0.12 = 12 %).

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/closed-world, so the safety profile is covered; the description adds real behavioral context: the V_din = raw × scale relation, where W comes from, and what scale_up_factor and required_scale mean when the check fails. It does not discuss cost, rate limits, or whether cases can be re-run, but for a pure read/verify tool that is minor.

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

Conciseness5/5

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

Front-loads the comparison and code reference, then a compact formula/behavior sentence, then the return shape. The output-structure sentence partially duplicates the output schema, but it is terse and pays for itself by defining the meaning of the computed fields.

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?

Given 5 parameters, full schema descriptions and an output schema, the definition is nearly self-sufficient: input alternatives, computation, and pass/fail semantics are all covered. Missing are prerequisites (dynamic case and weight case must already exist) and unit expectations for shear values, which an agent would have to infer.

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 baseline is 3; the description goes beyond it by explaining the relationship between parameters (V_din derived from case shear times scale, W read from weight_case, static_shear_kn as an alternative to seismic_coefficient × W) rather than just restating them. It is silent on the min_ratio default thresholds, which are only in the schema.

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+resource: comparing dynamic base shear against static base shear per NEC-SE-DS §6.2.2, and names the governing code clause. This clearly separates it from the other robot_check_* verification tools (drifts, irregularities, p-delta, members).

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Usage is implied by the NEC context (run after the dynamic analysis exists, once per seismic case), and the description clarifies the two mutually exclusive ways to supply the static shear. It never states explicit preconditions, when not to use it, or how it relates to sibling checks beyond the shared prefix.

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