Skip to main content
Glama

dipole_resonance

Calculate the first resonant frequency or length of a thin center-fed half-wave dipole using a closed-form banded estimate, providing bounds to gate FDTD S11 antenna sweeps.

Instructions

Thin centre-fed half-wave dipole first resonance (NO solver, banded) — the closed-form twin the openEMS FDTD S11 antenna sweep (em_fullwave_submit) is gated against. Give EXACTLY ONE of length_mm (→ resonant frequency) or freq_ghz (→ resonant length). End-effect shortening k = shortening makes the resonant length a little under λ/2: L = k·λ, f_r = k·c/L (k≈0.48 textbook; ≈0.475 typical wire). Because k tracks the length/diameter ratio this is a ±band correlation (fidelity='banded', ~±3% over k∈[0.46,0.49]); an FDTD S11 sweep must put its first resonance inside [freq_lo, freq_hi] (or [length_lo, length_hi]).

Returns {given, shortening, half_wavelength_mm, resonant_length_mm, resonant_freq_ghz, freq_lo_ghz, freq_hi_ghz, length_lo_mm, length_hi_mm, fidelity, band_pct, valid_range_ok, warnings, escalate_to}.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
freq_ghzNo
length_mmNo
shorteningNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/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 discloses key traits: no solver, banded fidelity (~±3%), the shortening factor model, input exclusivity, and the list of return fields. It does not describe error modes or the meaning of `warnings` and `escalate_to`, but overall it is more transparent than most.

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 core purpose and input requirement, then supplies necessary technical context without filler. It is dense but every sentence earns its place; minor length could be trimmed, but nothing is extraneous.

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?

Given no annotations, no output schema, and no schema descriptions, the description is thorough: it covers inputs, the closed-form model, banded nature, and lists return fields. It could be slightly more complete by explaining the return fields' types or `warnings`/`escalate_to` semantics, but an agent has enough to call it correctly.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/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. It fully explains all three parameters: exactly one of `length_mm` or `freq_ghz`, the meaning and default of `shortening`, and the relationship L = k·λ and f_r = k·c/L.

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 computation: thin centre-fed half-wave dipole first resonance using a closed-form model. It also names the sibling it is gated against (`em_fullwave_submit`), so an agent can distinguish it from other EM tools.

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?

Specifies to give exactly one of `length_mm` or `freq_ghz`, and explains that an FDTD S11 sweep must place its first resonance inside the returned band. However, it does not explicitly state when not to use this tool or name the primary alternative in a decision rule.

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