Skip to main content
Glama

Transmission line input impedance

tline_input_impedance
Read-onlyIdempotent

Calculate input impedance of a lossy or lossless terminated transmission line from electrical/physical length, load, and line parameters, plus reflection coefficients and voltage max/min locations.

Instructions

Input impedance of a (lossy or lossless) transmission line terminated in a load: Zin = Z0·(ZL + Z0·tanh γℓ)/(Z0 + ZL·tanh γℓ). Length can be electrical (λ, degrees) or physical (mm, m, mil) with eps_eff / velocity_factor. Also returns Γ at load and input, electrical/physical length, guided wavelength, and the distances from the load to the first voltage maximum and minimum. Use for coax/microstrip/λ/4/λ/2 line questions and 'where is the voltage minimum?' problems.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
z0NoSystem reference impedance used for Γ / VSWR at the input. Default 50.
loadNoLoad impedance ZL in Ω (use 'open' via a huge value or give load_gamma).
lengthYesLength: electrical ('0.25λ', '0.125 lambda', '90deg') or physical ('12.5mm', '3 cm', '500mil'). Bare numbers are meters.
eps_effNoEffective permittivity (default 1).
line_z0NoCharacteristic impedance of the line (default = z0).
languageNoLanguage of the human-readable summary: 'en' (English) or 'tr' (Türkçe). Defaults to the server setting.
frequencyNoRequired for physical lengths, loss and for converting to physical length.
load_typeNoShortcut for open- or short-circuit loads.
load_gammaNoAlternatively the load reflection coefficient (relative to line_z0).
loss_db_per_mNoAttenuation in dB/m (needs a physical frequency).
velocity_factorNoVelocity factor; overrides eps_eff.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already declare readOnly/idempotent/non-destructive, so the safety profile is covered. The description goes further by disclosing the full return set (Γ at load and input, electrical/physical length, guided wavelength, distances to first voltage max/min) and noting it handles lossy or lossless lines — genuine behavioral context beyond the annotations.

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 operation and its formula, then returns, then use cases — a sensible ordering. Three dense sentences with no filler, though the inline formula is somewhat heavy and the return list could be trimmed.

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 an 11-parameter tool with no output schema, the description usefully enumerates what comes back and clarifies the length/loss/unit model. Combined with 100% schema coverage, an agent has what it needs; only the absence of explicit prerequisites (e.g. frequency required for physical lengths is left to the schema) keeps it from a 5.

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 every parameter (z0, load, length, eps_eff, velocity_factor, etc.) is already documented in the schema, including unit formats and defaults. The description restates the formula and unit conventions but adds little semantic detail the schema lacks, so the baseline of 3 applies.

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 precise verb+resource — input impedance of a transmission line terminated in a load — and even supplies the governing equation. This is unmistakably distinct from siblings like impedance_convert (a pure impedance transform) or the design_* matching tools, which an agent can tell apart without opening schemas.

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?

Gives concrete usage context: 'Use for coax/microstrip/λ/4/λ/2 line questions and where-is-the-voltage-minimum problems.' That's clear routing, but it names no alternative tool and states no when-not-to-use condition, so it stops short of a 5.

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