Skip to main content
Glama

FERS Structural Analysis

Run code checks

run_unity_checks
Read-only

Solve a model and return its code-check (unity-check) results: per-entity utilizations, status, and the calculation trace behind each rule. The model's analysis.unity_checks must already be defined (see add_unity_check). On this hosted server the solve does NOT run here: the tool validates the model, parks it and returns an open_url that solves it in the user's browser, where the results are shown. Give the user the link; after they open it, get_results with the model_ref returns the numbers here. Set include_report=true to also get the rendered HTML hand-calc report.

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": "run_unity_checks"
  }
}

Input Schema

NameRequiredDescriptionDefault
modelNoStringified FERS model JSON that includes analysis.unity_checks
detailNoHow much result data to return. 'summary' (peak forces, displacements and reactions with where they occur — smallest, usually enough), 'standard' (default: envelopes + node displacements + reactions), or 'full' (adds section forces and the complete internal-force series; can be hundreds of thousands of tokens on a real model).
model_refNoHandle from a builder or stash_model, used INSTEAD of `model`. Avoids sending the whole document on every step; the tool returns the same handle back.
result_filterNoAdvanced: emit only these result blocks, overriding `detail`. Any of: local_envelopes, global_envelopes, local_end_forces, global_end_forces, section_forces, internal_force_series, local_displacements, node_displacements, reactions. An empty list is a maximal strip. Unity checks, summaries and diagnostics are never filtered.
include_reportNoEmbed the rendered HTML hand-calc report in the response. Default false — it is large. Use the free render_report tool on a saved result instead.
idempotency_keyNoOptional. Reuse when retrying so the retry is recognised as the same request.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / model_ref / description
      Previous value: -"Handle from stash_model, used INSTEAD of `model`. Avoids sending the whole document on every step; the tool returns the same handle back."New value: +"Handle from a builder or stash_model, used INSTEAD of `model`. Avoids sending the whole document on every step; the tool returns the same handle back."
  2. First observed

TDQS

A4.6/5.0
Behavior4/5

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

The annotations only declare readOnlyHint/openWorldHint/idempotentHint; the description adds the crucial non-obvious behavior that the solve does NOT execute server-side but is parked and completed in the user's browser, which an agent would otherwise get wrong. It also flags that include_report is large. Minor gap: nothing about what a validation failure returns or that idempotency_key is needed for retry safety, which is slightly at odds with idempotentHint=false.

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-loaded with purpose and results, then the hosted-server caveat and the follow-up flow; every sentence carries actionable content. The browser-solve caveat is restated twice ('does NOT run here' then 'solves it in the user's browser, where the results are shown'), which is mild redundancy rather than waste.

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?

No output schema exists, yet the description names the returned data (utilizations, status, trace, open_url, HTML report) and the full two-step workflow across tools, which is what an agent needs for this parked-solve pattern. Six optional parameters are fully schematized, so nothing essential is left unexplained.

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 description coverage is already 100%, so the baseline is 3; the description layers on usage meaning by advising the render_report alternative to include_report and explaining that model_ref is the handle returned by the parked solve and re-consumed by get_results. The detail and result_filter parameters are only covered by the schema, not the prose.

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 ('Solve a model and return its code-check (unity-check) results') plus the concrete return payload (per-entity utilizations, status, calculation trace), which cleanly separates it from solve_model and get_results. The prerequisite that analysis.unity_checks must exist distinguishes it from a plain solve.

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

Usage Guidelines5/5

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

Gives explicit when-to-use conditions (analysis.unity_checks must already be defined, pointing to add_unity_check) and an explicit follow-up path: hand the user the open_url, then call get_results with the model_ref. It also routes large-report retrieval to render_report instead of include_report=true, which is a real alternative trade-off.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.