Skip to main content
Glama

FERS Structural Analysis

Generate EN 1990 combinations

generate_load_combinations_ec0
Read-only

Generate a complete EN 1990 (Eurocode 0) combination set from the model's load cases in one call, instead of adding them one at a time. Classify each load case as an action type — G permanent, Q imposed, S snow, W wind — and this emits ULS expression 6.10 (each variable action taken as leading in turn, with psi_0 on the accompanying ones) and the SLS characteristic combinations, including the favourable-permanent (gamma_G = 1.0) variants that govern wind uplift. Every generated combination carries a limit_state, so unity checks actually evaluate against them. Any load case you do not classify is guessed from its name. 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": {
      "actions": "<actions>"
    },
    "name": "generate_load_combinations_ec0"
  }
}

Input Schema

NameRequiredDescriptionDefault
modelNoStringified FERS model JSON
actionsYesAction type per load case: {"1":"G","2":"S","3":"W"} or [{"load_case_id":1,"action":"G"}]. G = permanent, Q = imposed, S = snow, W = wind. Unclassified cases are guessed from their name.
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.
include_slsNoEmit SLS characteristic combinations (default true).
include_ulsNoEmit ULS 6.10 combinations (default true).
replace_existingNoReplace analysis.load_combinations entirely instead of appending (default false).
include_favorableNoEmit the gamma_G = 1.0 favourable-permanent ULS variants, which govern uplift (default true).

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

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

Annotations only declare readOnlyHint=true, openWorldHint=false and idempotentHint=false; the description adds substantive behavior beyond that — the leading-variable rotation with psi_0 on accompanying actions, the gamma_G = 1.0 uplift variants, the fact that every generated combination carries a limit_state so unity checks evaluate against them, and that the call is free. The one gap is that it never clarifies the append/replace side effect (the schema's replace_existing implies it writes into analysis.load_combinations), which sits uneasily with readOnlyHint and keeps this below 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?

The most important information — what is generated and why to prefer it over one-at-a-time — is front-loaded in the first sentence, and the trailing 'Free.' is a useful one-word signal. It is dense but nearly every clause earns its place; minor waste comes from re-explaining the G/Q/S/W codes that the schema already spells out.

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?

For a 7-parameter, single-required-argument tool with no output schema, the description covers what gets generated, which combination families are included, the classification fallback, and downstream compatibility with unity checks. The only omission is what the call returns (a modified model document, or the handle echoed back) when model_ref is not used.

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 the schema already documents every parameter including the G/Q/S/W action codes, model vs model_ref, and the three include_* toggles, establishing the baseline of 3. The description restates the classification scheme and the uplift rationale behind include_favorable but adds no format, ordering or defaulting detail beyond what the schema already carries.

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?

The description opens with a specific verb and resource ('Generate a complete EN 1990 combination set from the model's load cases') and immediately distinguishes itself from the incremental sibling add_load_combination with 'instead of adding them one at a time'. It further enumerates exactly which combination families are produced (ULS 6.10, SLS characteristic, favourable-permanent variants), so an agent can identify the tool without opening the schema.

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?

It states the selection condition explicitly: use this to get a whole combination set in one call rather than adding combinations one at a time, which routes the agent away from add_load_combination. It also explains the prerequisite input (classify each load case as G/Q/S/W) and what happens if that is skipped ('Any load case you do not classify is guessed from its name'), leaving no ambiguity about when and how to use it.

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.