Skip to main content
Glama
eng-toolkit

eng-toolkit

by Lin830326

Structures Modal

structures_modal

Compute undamped natural frequencies, mode shapes, and effective mass fractions for 2D Euler-Bernoulli frames with supports and releases. Export mode results as CSV.

Instructions

Undamped 2D Euler-Bernoulli frame modes with consistent mass and a strain-energy SVD. Frequencies, effective mass fractions and mode CSV; shared frame supports/releases. Refine 1..20 elements/member (default 4), <=900 DOFs. Linear unstressed model; zero modes determined from kinematics.

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_modal"
  }
}

Input Schema

NameRequiredDescriptionDefault
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.
densityNoDefault material mass/volume, e.g. '7800 kg/m^3'; multiplied by member area; '' omits; conflicts with mass_per_length.
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.
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.
modes_countNoNumber of lowest modes requested, including zero modes, e.g. 6; range 1..30; limited by available dynamic DOFs.
unit_systemNoOutput units: metric (m, N, Pa) or imperial (inch, lbf, psi). CSV columns explicitly name their units.metric
nodal_massesNoAdded joint masses 'node,m,J' or 'node,mx,my,J', e.g. 'b,10 kg,0 kg*m^2'; masses nonnegative; '' omits.
member_massesNoDistributed-mass overrides 'member,mass/length', e.g. 'e,10 kg/m'; '' omits; required for every member lacking a default.
mass_per_lengthNoDefault member mass/length, e.g. '10 kg/m'; '' omits; use this, density or member_masses for every member.
elements_per_memberNoEqual finite elements per input member, e.g. 4; range 1..20 and <=900 total DOFs; increase to check frequency convergence.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.0.1

TDQS

A3.5/5.0
Behavior3/5

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

With no annotations, the description carries the full burden, and it does reveal valuable model traits: linear, unstressed (no prestress), undamped, consistent mass, zero modes derived from kinematics, and a hard <=900 DOF ceiling. It stops short of stating failure behavior, input validation, or what the CSV actually contains beyond column units, so the non-obvious 'gotchas' are only partially covered.

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?

Four short sentences, front-loaded with the analysis type and followed by outputs, refinement limits, and model assumptions; nothing is filler. It is telegraphic to the point of being cryptic in places ('strain-energy SVD', 'shared frame supports/releases'), but the density is appropriate for an expert tool.

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 10-parameter solver with no output schema, the description usefully enumerates the returned quantities and states the key modeling assumptions and size limits. Gaps remain around error conditions and the precise contents/ordering of the mode CSV, but an agent has enough to invoke the tool correctly.

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 all 10 parameters in detail, establishing a baseline of 3. The description's only additions beyond the schema are the 1..20 / 900-DOF guardrail and the convergence-refinement rationale, both of which the schema text largely repeats.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description names the analysis type (undamped modal, Euler-Bernoulli frame modes with consistent mass) and the outputs (frequencies, effective mass fractions, mode CSV), so an agent can tell this is a 2D eigenfrequency solver rather than a static frame or truss analysis. The explicit '2D' plus 'shared frame supports/releases' implicitly separates it from structures3d_modal and structures_frame, though no sibling is named outright.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

There is no explicit 'use this when...' statement or exclusion of alternatives; the only guidance is operational ('increase elements_per_member to check frequency convergence') and a scope hint that supports/releases are the shared frame syntax. An agent can infer the tool is for modal extraction on a linear frame, but must decide on its own when to pick this over structures3d_modal or structures_frame.

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