Skip to main content
Glama

Two-port (amplifier) stability analysis

amplifier_stability
Read-onlyIdempotent

Compute Rollett K, |Δ|, and Edwards-Sinsky μ to check transistor stability, find safe source/load impedances, and return stability circles before matching.

Instructions

Rollett stability factor K, |Δ|, Edwards-Sinsky μ (load) and μ' (source), unconditional-stability verdict and the input (source-plane) and output (load-plane) stability circles with their stable side. With a Touchstone file and no frequency, returns a K/μ table over the whole file and the stable frequency ranges. Use before designing any amplifier matching network to know which source/load impedances are safe.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
deviceYesTwo-port device: either all four S-parameters (s11, s21, s12, s22 as {mag, angle_deg} or {re, im}) or a 2-port Touchstone file via touchstone_path / touchstone_content.
languageNoLanguage of the human-readable summary: 'en' (English) or 'tr' (Türkçe). Defaults to the server setting.
frequencyNoAnalysis frequency (interpolated). Omit with a Touchstone file to sweep the whole file.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, and destructiveHint=false, so safety is covered. The description adds useful behavioral context: it lists the full output set and explains that a Touchstone file without a frequency triggers a full-file K/μ sweep and stable-range extraction.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Three tightly structured sentences: the first front-loads the computed outputs, the second covers the Touchstone-sweep behavior, and the third gives the design-stage usage cue. Every sentence earns its place with no filler.

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 output schema, the description successfully explains the return contents (K/μ table, stable frequency ranges, stability circles and their stable side). The nested input schema is fully described and the description supplies the design-workflow context, leaving nothing material missing for correct invocation.

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 parameters thoroughly. The description's note about omitting frequency with a Touchstone file to sweep the whole file largely restates what the schema's frequency field already says, adding little new semantics.

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 the exact computed quantities—Rollett K, |Δ|, Edwards-Sinsky μ and μ', unconditional-stability verdict, and source/load stability circles with stable side. This is a specific verb+resource statement that clearly separates the tool from siblings like gain_circles and noise_circles.

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?

It gives a clear when-to-use instruction: 'Use before designing any amplifier matching network to know which source/load impedances are safe.' No explicit when-not or named alternatives are provided, but the context is unambiguous.

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