Skip to main content
Glama

harmonic_response

Compute exact SDOF harmonic frequency response to derive FRF, peak amplification, phase, amplitude, and half-power bandwidth for given natural frequency and damping.

Instructions

Exact SDOF harmonic frequency response (NO solver) — the FRF screen and the oracle the Elmer harmonic_response_submit sweep is gated against. Bridges beam_modal (f_n) and random_vibration (Q = 1/(2ζ)): with r = f/f_n, |H| = 1/√((1−r²)²+(2ζr)²), phase = atan2(2ζr, 1−r²), peak amplification Q = 1/(2ζ√(1−ζ²)) at f_peak = f_n·√(1−2ζ²), half-power bandwidth ≈ 2ζ·f_n. With frequency_hz the response at that drive is returned; static_deflection_mm scales it to an absolute amplitude_mm. fidelity='exact'; ζ ≥ 1/√2 has no peak (flagged). Escalate to harmonic_response_submit for a real meshed FRF (multi-mode, geometry-true).

Returns {natural_frequency_hz, damping_ratio, q_factor, f_peak_hz, half_power_bandwidth_hz, frequency_ratio, amplification, phase_deg, amplitude_mm, fidelity, band_pct, valid_range_ok, warnings, escalate_to}.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
frequency_hzNo
damping_ratioYes
natural_frequency_hzYes
static_deflection_mmNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/5.0
Behavior4/5

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

No annotations are provided, so the description carries the full behavioral burden. It discloses substantial behavior: the exact analytic formulas, fidelity='exact', the ζ ≥ 1/√2 no-peak edge case being flagged, and the internal warnings/valid_range_ok fields. It does not state whether it performs any I/O or has side effects, but as an analytic screen that is implied.

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?

It is dense and front-loaded: the core purpose ('Exact SDOF harmonic frequency response (NO solver)') leads, followed by formulas and edge cases. It is barely oversized for the amount of genuinely useful information packed in, though the formula block makes it read more like a spec than prose.

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?

With no annotations, no output schema, and 0% parameter description coverage, the description compensates fully: it documents inputs, the analytic model, edge-case behavior, and enumerates the exact return fields including warnings and escalate_to. Nothing needed to invoke it correctly is missing.

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 description coverage is 0%, so the description must compensate, and it largely does: it defines r = f/f_n, explains `frequency_hz` as the drive frequency at which the response is returned, `static_deflection_mm` as absolute scaling to amplitude_mm, and `damping_ratio` via ζ. Only the `natural_frequency_hz` parameter is not explicitly explained, but its meaning is obvious from context.

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 states precisely what the tool computes: an exact closed-form SDOF harmonic frequency response (FRF) with no solver, and explicitly distinguishes it from the meshed `harmonic_response_submit` sibling it gates. It also positions it relative to `beam_modal` and `random_vibration`. This is a specific verb+resource with clear sibling differentiation.

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 when to use this analytic FRF screen ('NO solver') and when to escalate to `harmonic_response_submit` ('for a real meshed FRF (multi-mode, geometry-true)'). It also names the upstream siblings that supply its inputs (`beam_modal` for f_n, `random_vibration` for Q=1/(2ζ)), giving explicit routing.

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