Skip to main content
Glama

FERS Structural Analysis

Add a load combination

add_load_combination
Read-only

Add ONE factored load combination — a weighted sum of load cases at a given limit state. This is what the solver designs against: unity checks envelope over COMBINATIONS, never over raw load cases, so a load case no combination references is invisible to every check. ALWAYS set limit_state: it is the only field of a combination the solver reads, and leaving it null makes every SLS deflection check return an empty result that reads as a pass. Free.

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": {
      "name": "<name>",
      "factors": "<factors>"
    },
    "name": "add_load_combination"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameYese.g. "ULS 6.10 - leading Snow". results.loadcombinations is keyed by this.
checkNoReport metadata only. Defaults to "ALL".
modelNoStringified FERS model JSON
factorsYesLoad case ids to partial factors: {"1": 1.35, "2": 1.5} or [{"load_case_id":1,"factor":1.35}]. Negative factors are legal (uplift / favourable).
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.
situationNoReport metadata only; the solver never reads it.
limit_stateNoULS | SLS | FLS | ALS (case-sensitive). Strongly recommended — see the tool description.

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.1/5.0
Behavior4/5

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

Annotations only declare readOnlyHint/openWorldHint/idempotentHint and the title; the description adds substantive behavior the annotations cannot: which single field the solver actually consumes, and the silent-failure mode where a null limit_state makes SLS deflection checks return empty results that look like passes. It also discloses cost ("Free") and that a handle is returned unchanged when model_ref is used. It does not describe ordering/dependency rules against solver runs, which is why it is not a 5.

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, then the solver dependency, then the sharpest failure mode, then cost. Dense and mostly waste-free, though the limit_state warning is partly repeated by the schema's own 'Strongly recommended — see the tool description' pointer.

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?

Seven parameters, no output schema, and a stateful model/model_ref choice — the description covers the semantics the agent most needs (what the solver reads, what silently breaks). Return values are not described, but with no output schema and a stated handle pass-through, remaining gaps are minor.

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 description coverage is 100%, so field meanings, the two accepted factor formats, and the negative-factor uplift case are already documented in the schema. The description adds one genuinely cross-field insight beyond it — that limit_state is the only field the solver reads — but otherwise restates schema content, so 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?

States a specific verb and resource ("Add ONE factored load combination — a weighted sum of load cases at a given limit state") and immediately distinguishes it from load cases ("unity checks envelope over COMBINATIONS, never over raw load cases"). An agent can tell this apart from add_load_case without opening either 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 explicit always-do guidance ("ALWAYS set limit_state") with the consequence of ignoring it, plus the condition under which combinations are required at all (anything the solver designs against). It does not name the sibling that would auto-generate combinations (generate_load_combinations_ec0), so the agent gets context but not an explicit alternative route.

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.