Skip to main content
Glama
robot-structural-mcp

robot-structural-mcp

by brdz4

Modos de vibración y masas participantes

robot_get_modal_results
Read-onlyIdempotent

Retrieve modal periods, frequencies, participating mass percentages, cumulative mass, and modes needed to reach 90% in X/Y for NEC-SE-DS seismic checks.

Instructions

Periodos, frecuencias y masa participante por modo (% de la masa total), con acumulados.

Devuelve {results_status, case, name, modes_count, total_mass_t:{x, y, z}, cumulative_mass_pct:{ux, uy, uz}, modes_to_90_pct:{ux, uy}, modes:[{mode, period_s, frequency_hz, mass_ux_pct, mass_uy_pct, mass_uz_pct, cum_ux_pct, cum_uy_pct, cum_uz_pct}]}. cumulative_mass_pct es el acumulado con TODOS los modos calculados (no solo los listados); modes_to_90_pct es el primer modo en que el acumulado alcanza 90 % en X y en Y, o null si no se alcanza (la NEC-SE-DS exige ≥ 90 % en cada dirección horizontal).

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "robot_get_modal_results"
  }
}

Input Schema

NameRequiredDescriptionDefault
caseNoNúmero del caso modal. Omitir = primer caso de análisis modal.
max_modesNoMáximo de modos a listar.

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

A3.6/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnlyHint, idempotent, non-destructive), and the description adds real behavioral context beyond them: that cumulative_mass_pct is computed over ALL calculated modes rather than only the listed ones, and that modes_to_90_pct returns null when 90% is not reached. The meaning of results_status values is left unexplained.

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?

The purpose statement is front-loaded and efficient, but the long inline type signature duplicates the output schema that already exists. Front-loading and the closing semantic note about modes_to_90_pct earn their place; the field-by-field return listing largely does not.

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 an output schema is supplied and annotations cover the safety profile, the description is nearly complete: it explains units, the null case, the aggregation semantics, and the regulatory threshold. The only meaningful gap is what values results_status can take and what a failure looks like to the caller.

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 both `case` and `max_modes` are already documented, establishing a baseline of 3. The description does add one genuine clarification — that the cumulative values ignore the `max_modes` truncation — but it never names the parameters directly, so the added meaning requires inference.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The opening sentence names a specific resource ("Periodos, frecuencias y masa participante por modo") plus the unit context "% de la masa total", so an agent can immediately tell this returns modal analysis output rather than storey, bar, or reaction results. It lacks an explicit contrast with sibling tools, which keeps it below a 5.

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 only implied through the parenthetical about NEC-SE-DS requiring ≥90% participating mass per horizontal direction, which signals the tool supports code-compliance checking. There is no explicit when-to-use/when-not statement and no named alternative (e.g. robot_check_irregularities or robot_get_storey_results) for related questions.

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