Skip to main content
Glama

engineering.ac_impedance

Read-onlyIdempotent

Calculate AC impedance magnitude and phase for series or parallel resistor, inductor, and capacitor networks using frequency and component values.

Instructions

R, L, C 조합의 AC 합성 임피던스 크기와 위상각을 구한다. frequency(Hz, 0 초과), resistance(Ω), inductance(H), capacitance(F)는 0 이상 Decimal 문자열이고 topology='series' 또는 'parallel'. 반환: magnitude(Ω), phase_deg(도), real, imag. 값 0은 그 소자가 없다는 뜻이며 단락이나 0 용량이 아니다. 병렬에서 소자를 모두 생략하면 오류.

Input Schema

NameRequiredDescriptionDefault
topologyNoseries
frequencyYes
inductanceNo0
resistanceNo0
capacitanceNo0

Output Schema

NameRequiredDescriptionDefault
imagYes
realYes
_metaNo서버가 붙이는 영수증(integrity), 엔진, 힌트
traceYes계산 근거(tool, formula, inputs, steps, output)
magnitudeYes
phase_degYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.0

TDQS

A4/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnly, idempotent, closed-world), and the description adds real behavioral content beyond them: the constraint that frequency must exceed 0, that zero means an absent element rather than a short or zero capacitance, and that a fully empty parallel combination raises an error. Only the return-shape disclosure is redundant with the output schema.

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 compact sentences, front-loaded with the purpose and then parameter constraints and return values. The return-value sentence is the weakest, since the output schema already lists magnitude, phase_deg, real and imag, but it is short enough not to be costly.

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 5-parameter numeric calculator with no schema descriptions, the definition supplies units, constraints, the zero-element convention and the one error condition, which is close to everything an agent needs to call it correctly. The only shortfall is that the series-vs-parallel default and its effect are not spelled out (default is series in the schema but unstated in prose).

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 carries the full burden and does: it gives units (Hz, Ω, H, F), type and sign constraints (>0 for frequency, ≥0 Decimal strings for the passive elements), the two legal topology values, and a non-obvious semantic rule that 0 denotes an omitted element. That is meaningfully more than the bare property names in the schema.

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 opens with a specific verb+resource: computing the magnitude and phase of composite AC impedance for an R/L/C network, which tells an agent immediately what the tool computes. It does not explicitly contrast with the nearest siblings (bode_magnitude_phase, lc_resonant_frequency, rlc_time_constant), so sibling differentiation is left to inference.

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?

Usage is implied by the topology parameter and the note that a value of 0 means the element is absent, plus the explicit error case for parallel with all elements omitted. There is no statement of when to prefer this over bode_magnitude_phase or lc_resonant_frequency, which are the closest alternatives in the sibling list.

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