Skip to main content
Glama
eng-toolkit

eng-toolkit

by Lin830326

Structures Frame

structures_frame

Analyze 2D Euler-Bernoulli or Timoshenko frames with direct stiffness, pin releases, supports, loads, settlements, and thermal strain; output nodal results, end forces, extrema, and CSV stations.

Instructions

2D Euler-Bernoulli/Timoshenko direct-stiffness frames with statically condensed pin releases, settlements/springs, uniform/linear/point loads and thermal strain. Nodal results, end forces, exact member M/V extrema and station CSVs. Linear small displacement; no P-delta. Caps: 100 nodes, 200 members, 101 stations/member.

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

Input Schema

NameRequiredDescriptionDefault
loadsNoJoint forces and CCW moment 'node,Fx,Fy,Mz', e.g. 'b,0 N,-1 kN,0 N*m'; '' omits, <=400 records; repeated loads add.
nodesNoRequired planar nodes 'id,x,y' with lengths, e.g. 'a,0 m,0 m;b,2 m,0 m'; semicolon/newline separators, <=100 nodes.
membersNoRequired 'id,start,end,E,A,I[,release]', e.g. 'e,a,b,200 GPa,1000 mm^2,1e6 mm^4'; release none/start/end/both, <=200.
thermalNoInitial strain/curvature 'member,alpha,dT,dT/dy', e.g. 'e,0.00001 1/K,50 K,0 K/m'; local +y gradient; '' omits.
stationsNoNumber of equally spaced output stations per member, e.g. 21; range 2..101; load jumps and extrema are added.
supportsNo'a,pinned;b,roller_y;c,spring,5 kN/m,0 N/m,0 N*m/rad': spring=kx,ky,krot[,x0,y0,rot0]; roller_y holds uy only; roller_x ux; fixed.
unit_systemNoOutput units: metric (m, N, Pa) or imperial (inch, lbf, psi). CSV columns explicitly name their units.metric
member_loadsNo'e,uniform,local,0 N/m,-1 kN/m'; linear: ...,qx0,qy0,qx1,qy1; point: 'e,point,global,2 m,0 N,-5 kN' (a,Fx,Fy); '' omits.
shear_propertiesNoTimoshenko shear modulus/effective area 'member,G,As', e.g. 'e,80 GPa,800 mm^2'; '' uses Euler-Bernoulli.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.0.1

TDQS

A4.1/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and largely meets it: it discloses the linear/small-displacement assumption, absence of P-delta, static condensation of pin releases, and hard model-size limits. It does not describe failure behavior (e.g., unstable mechanism errors) or performance characteristics, but the modeling assumptions an agent needs are all stated.

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?

Three dense sentences, front-loaded with the capability statement followed by assumptions and caps; every clause carries technical information. The telegraphic style ('Nodal results, end forces, exact member M/V extrema and station CSVs') is efficient though slightly terse for readers unfamiliar with the domain.

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 9-parameter solver with no output schema, the description does the necessary work by enumerating the result categories (nodal results, end forces, M/V extrema, station CSVs) and stating unit-system behavior, so the agent knows what comes back. The remaining ambiguity is mostly about error handling and how releases interact with condensation, which is acceptable for this complexity level.

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% and each parameter already carries format examples and ranges, so the description cannot add much syntax. It does contribute the numeric caps (100 nodes, 200 members, 101 stations) that bound the node/member/station inputs, but the feature list (springs, thermal strain, load types) merely restates what the schema properties already document. Baseline 3 is appropriate.

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 opening sentence names a specific analysis type and resource: 2D Euler-Bernoulli/Timoshenko direct-stiffness frames, including the solver formulation and supported features (pin releases, settlements, springs, thermal strain). That precision separates it from the structural siblings such as structures_truss (truss-only) and structures_column (single-member) without needing to name them.

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?

The description gives clear scope conditions for use and explicit exclusions: 'Linear small displacement; no P-delta' tells the agent when this tool is inappropriate, and the caps (100 nodes, 200 members, 101 stations/member) define when input must be trimmed. It stops short of naming an alternative for large-displacement or non-frame cases, which is the only gap.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Deploy Server

Other Tools