Skip to main content
Glama

FERS — structural FEM

Build a portal frame

create_frame
Read-onlyIdempotent

Generate a solver-ready FERS model JSON for a 2-D rectangular portal frame (columns + beams). Returns model JSON to pass to solve_model. Units: metres, kN, kN/m. Columns are turned 90° so their depth (column_height_mm) resists sway in the frame plane. Load combinations as create_beam: 1 'SLS characteristic (auto)' at 1.0, 2 'ULS (auto)' at 1.35. Free.

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

Input Schema

NameRequiredDescriptionDefault
baseNo'fixed' (default) or 'pinned' column bases
baysNoNumber of bays (default 1)
storeysNoNumber of storeys (default 1)
materialNosteel_S355 (default), steel_S235, steel_S275, steel_S460, aluminium_6061 or concrete_C30
lateral_knNoHorizontal point load at the top-left corner, kN (default 0)
bay_width_mNoBay width in metres (default 5)
beam_width_mmNoBeam section width in mm (default 120)
beam_height_mmNoBeam section depth in mm (default 240)
column_width_mmNoColumn section width in mm (default 200)
storey_height_mNoStorey height in metres (default 3)
column_height_mmNoColumn section depth in mm (default 200)
roof_udl_kn_per_mNoGravity UDL on the top-storey beams, kN/m (default 10)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already declare readOnlyHint/idempotentHint/closed-world, and the description adds real substance on top: units (metres, kN, kN/m), the auto-generated load combinations and their factors, and the column orientation convention. The dangling trailing token 'Free.' is opaque and adds no disclosed behavior.

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-loads the verb and return value, then packs units, orientation, and load-combination factors into dense sentences with no filler. The final word 'Free.' is a truncated fragment that costs it a point.

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 12-parameter generator with no output schema, the description covers units, return handoff, section orientation, and default load combos, which is what an agent needs to call it correctly. It doesn't say what happens to further modeling (e.g., whether add_load/set_member can be layered on the produced model).

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 coverage is 100%, so baseline is 3; the description earns above baseline by explaining that column_height_mm is the section depth 'turned 90°' to resist sway, disambiguating the easily-confused width/depth pair. Units are also restated globally. It still leaves base/bays/storeys semantics to the schema.

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 artifact ('Generate a solver-ready FERS model JSON for a 2-D rectangular portal frame') and names the structural scope (columns + beams). It also places itself in the workflow by naming solve_model as the consumer, so the agent can tell it apart from mutation siblings like add_load or set_support.

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 clear downstream guidance: 'Returns model JSON to pass to solve_model,' and points to create_beam for the load-combination convention, which is useful routing. It stops short of an explicit when-not or of distinguishing itself from build_model/add_load_case (i.e., whether to build from scratch vs. mutate an existing model).

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.