Skip to main content
Glama
Almond MCP

Almond MCP

analyze_structural_reference

Read-only

Solves structural reference models with Almond's native engine without a Rhino session, returning verdicts, deflection, utilization, stability, loads, and benchmark checks.

Instructions

Solve a structural reference with Almond's native engine, exactly as validate_structure does for Rhino geometry, but from the reference's own model: no Rhino session needed. The result has validate_structure's shape (verdict, deflection against the limit, utilization, stability with alpha_cr, combinations, warnings, assumptions; members and supports with detail=True) plus "reference": the parameters used, counts, the loads applied (the benchmark's G and Q loads; wind dropped), the support types, conversion notes and "checks", which compare the run with the benchmark frame and, for the Pratt truss, portal, arch and L-bracket, with the textbook closed form (method of joints, virtual work, the force method, funicular statics). A reference may fail honestly (the canopy and diagrid are sizing exercises; the arch goes unstable above about 12 kN/m).

parameters: a subset of the reference's parameters (see get_structural_reference), e.g. {"storeys": 3, "bay": 7.5}. The other arguments override the reference's default study and mean what they mean on validate_structure; None keeps the study value. load_kn adds an extra variable load shared over the free nodes on top of the reference loads (default 0); floor loads apply to frames with floor bays. Typed supports (planar references, mixed-supports) ignore fixed_supports.

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": {
      "reference_id": "<reference_id>"
    },
    "name": "analyze_structural_reference"
  }
}

Input Schema

NameRequiredDescriptionDefault
detailNo
span_mNo
load_knNo
materialNo
stabilityNo
parametersNo
connectionsNo
design_codeNoeurocode
fabricationNocold_formed
self_weightNo
design_basisNoen1990
reference_idYes
fixed_supportsNo
uls_combinationNo
floor_dead_kn_m2No
floor_load_kn_m2No

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.8.0

TDQS

A4.2/5.0
Behavior5/5

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

Annotations already declare readOnlyHint=true and openWorldHint=false, but the description adds substantial behavior: the result mirrors validate_structure's shape, adds a reference object with counts, applied G/Q loads, dropped wind, support types, conversion notes and benchmark checks, and discloses that certain references may legitimately fail. That is well beyond the safety profile.

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?

The core purpose and routing are front-loaded, and the dense paragraph avoids fluff. It is long and packs a lot of result-shape detail into one block, but given the tool's complexity most of that content is relevant rather than padding.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

The tool is complex with 16 parameters and an output schema, so return-value explanation is less critical; the description's result-shape summary is useful but partly redundant. The significant remaining gap is that many input arguments are documented only by reference to validate_structure rather than described here, leaving an agent dependent on a sibling tool's definition.

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?

With 16 parameters and 0% schema description coverage, the description must carry the parameter burden. It explains the parameters object (a subset of the reference's parameters), the override semantics ('mean what they mean on validate_structure; None keeps the study value'), load_kn as an extra variable load, floor loads applying to floor bays, and fixed_supports being ignored for typed supports. Many arguments still receive no individual meaning, so the compensation is partial.

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 structural reference with Almond's native engine, and distinguishes it from validate_structure by noting it runs from the reference's own model with no Rhino session. An agent can identify exactly what this does and how it differs from the Rhino-based sibling.

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?

Explicitly routes the agent: use this when you want validate_structure-style results without a Rhino session, use get_structural_reference to inspect reference parameters, and expect some references to fail honestly (canopy/diagrid sizing, arch instability above ~12 kN/m). The when-not conditions are implied through these failure notes rather than stated as an explicit exclusion, which keeps it slightly short of a 5.

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

Deploy Server

Other Tools