Skip to main content
Glama

FERS — structural FEM

Build a beam model

create_beam
Read-onlyIdempotent

Generate a solver-ready FERS model JSON for one beam. Use a named library section (IPE300, HEA200, 'RHS 100x50x5', 'UB 457x191x67', 'W10X22', …) or a solid rectangle. Returns model JSON to pass to solve_model. Accepts common parameter aliases (span/length for span_m, load/udl/uniform_load for load_kn; point_load implies load_type 'point'). Units: metres, kN, kN/m. The model carries two load combinations: 1 'SLS characteristic (auto)' at factor 1.0 and 2 'ULS (auto)' at 1.35, so ULS unity checks evaluate factored loads. Shear deformation is included, so a deflection comes out a little above 5wL⁴/384EI (set_analysis turns it off). 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_beam"
  }
}

Input Schema

NameRequiredDescriptionDefault
udlNoAlias for load_kn as a UDL in kN/m
loadNoAlias for load_kn (kN/m as a UDL, kN as a point load)
spanNoAlias for span_m (beam span in metres)
lengthNoAlias for span_m (beam span in metres)
span_mNoBeam span in metres (required — or use alias `span`/`length`)
load_knNoUDL in kN/m or point load in kN, downward (default 10)
sectionNoLibrary section name, e.g. 'IPE300', 'HEA200', 'RHS 100x50x5', 'UB 457x191x67', 'W10X22'. Overrides height_mm/width_mm.
supportNo'simply_supported' (default) or 'cantilever'
materialNosteel_S235 (default), steel_S275, steel_S355, steel_S460, aluminium_6061 or concrete_C30 (shorthand S235/S275/S355/S460 ok)
width_mmNoSection width b in mm (default 100)
height_mmNoRectangular section depth h in mm (default 200; ignored if `section` is set)
load_typeNo'udl' (default) or 'point'
point_loadNoPoint load in kN, downward (implies load_type 'point')
uniform_loadNoAlias for load_kn as a UDL in kN/m
load_positionNoAlias for load_position_frac (0..1 along the span)
point_positionNoAlias for load_position_frac (0..1 along the span)
load_position_fracNoPoint-load position along the span, 0..1 (default 0.5; 1.0 for cantilever)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.5/5.0
Behavior5/5

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

Annotations already say readOnlyHint/idempotentHint true and openWorldHint false, and the description reconciles the apparent 'create' vs read-only tension by framing the tool as generating JSON rather than persisting anything. It adds genuinely non-obvious behavior: units (m, kN, kN/m), the two auto-generated load combinations (SLS 1.0, ULS 1.35) that drive unity checks, and shear deformation inflating deflection above 5wL⁴/384EI with set_analysis as the toggle.

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?

Front-loaded with purpose and output, then parameter guidance, then engineering caveats — each sentence carries distinct information with no filler. Even the trailing 'Free.' earns a place by signalling no cost/credit consumption.

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?

For a 17-parameter tool with no output schema, the description covers the things an agent would otherwise get wrong: units, section-vs-rectangle selection, alias behavior, support/load-type semantics, and the load-combination factor convention. Nothing needed to call it correctly is missing.

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 alias, default, and the 'point_load implies load_type point' rule that the description restates. The description's only marginal additions are the global unit convention and the hint that library section names override height_mm/width_mm — useful, but largely duplicative of structured data.

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 — 'Generate a solver-ready FERS model JSON for one beam' — with the 'one beam' scope immediately distinguishing it from multi-member siblings like create_frame. The output artifact (model JSON) is named, so an agent knows exactly what it gets back.

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 forward: the returned JSON is 'to pass to solve_model', a concrete downstream step. It does not name when to prefer create_frame or build_model instead, and no exclusion is stated, so it stops just short of full when/when-not guidance.

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.