Skip to main content
Glama

FERS — structural FEM

Add a load case

add_load_case
Read-only

Add an empty load case — a named bucket of UNFACTORED loads of one origin (dead, snow, wind, imposed). Put loads in it with add_load, then combine cases with partial factors using add_load_combination. A load case on its own never reaches a code check: checks envelope over COMBINATIONS only. Returns the model plus the new load_case_id. 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>"
    },
    "name": "add_load_case"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameYesName, e.g. "G - Permanent", "S - Snow", "W - Wind (+X)". results.loadcases is keyed by this, so it must be unique.
modelNoStringified FERS model JSON
model_refNoHandle from stash_model, used INSTEAD of `model`. Avoids sending the whole document on every step; the tool returns the same handle back.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.7/5.0
Behavior5/5

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

Goes well beyond readOnlyHint/idempotentHint: it discloses that the case is created EMPTY (loads are a separate call), that the return is the model plus load_case_id, and that the tool is free of credit cost. The "checks envelope over COMBINATIONS only" invariant is non-obvious domain behavior the annotations cannot convey. No conflict with readOnlyHint, since the model is passed in and returned rather than mutated server-side.

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?

Three sentences, zero filler, front-loaded with the what (empty load case) before the workflow and the return value. Every clause carries operational information.

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?

Although there is no output schema, the description states the return shape (model + load_case_id). Parameters are fully documented in the schema, and the workflow plus the "no code check alone" caveat give an agent everything needed to call this correctly and place it in a sequence.

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%, including name-uniqueness against results.loadcases and the model vs. model_ref tradeoff, so the schema already carries parameter meaning. The description adds no syntax, format, or default guidance for name/model/model_ref beyond what is already structured. Baseline 3.

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?

"Add an empty load case — a named bucket of UNFACTORED loads of one origin (dead, snow, wind, imposed)" states a specific verb, resource, and content constraint. It cleanly separates itself from add_load (fills the bucket) and add_load_combination (combines with partial factors), so the agent can pick the right sibling without opening schemas.

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?

Explicit sequencing guidance: create the case here, put loads in with add_load, then combine with add_load_combination. It also states the negative case — a lone load case never reaches a code check because checks envelope over combinations — which tells the agent this is a prerequisite step, not an analysis step.

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.