Skip to main content
Glama
ethan-hub26

embedcalc-mcp

by ethan-hub26

Resistive Attenuator Pad (T / Pi)

embedcalc_attenuator_pad
Read-onlyIdempotent

Calculate series and shunt resistor values for T and Pi attenuator pads given attenuation in dB and impedance.

Instructions

Design T-pad and Pi-pad resistive attenuators for a given attenuation and system impedance.

Args: attenuation_db, impedance_ohm (default 50). Returns (structured): { t_series_ohm, t_shunt_ohm, pi_shunt_ohm, pi_series_ohm }. Example: 3 dB @ 50 Ω -> T: 8.55 Ω series ×2 + 141.9 Ω shunt; Pi: 292.4 Ω shunt ×2 + 17.61 Ω series. Snap values with embedcalc_eseries_nearest.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
impedance_ohmNoSystem impedance (50/75 Ω)
attenuation_dbYesAttenuation in dB

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
t_shunt_ohmYesT-pad: center shunt resistor
pi_shunt_ohmYesPi-pad: each of the two shunt resistors
t_series_ohmYesT-pad: each of the two series resistors
pi_series_ohmYesPi-pad: center series resistor
Behavior4/5

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

Annotations already indicate readOnly, idempotent, non-destructive behavior. The description adds value by detailing the return structure and giving a concrete example, which enhances transparency beyond annotations.

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?

The description is extremely concise: two sentences plus an example and a cross-tool reference. It front-loads the purpose and contains no extraneous information.

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?

For a simple computational tool with 2 inputs and 4 outputs, the description covers all aspects: purpose, inputs, output structure, example, and a hint for post-processing. It feels complete without needing additional context.

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 coverage is 100%, so the schema already documents both parameters. The description mentions the default for impedance_ohm, but this adds little beyond the schema. The example helps illustrate usage but does not significantly deepen parameter understanding.

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 clearly states the tool designs T-pad and Pi-pad resistive attenuators, specifying inputs (attenuation, impedance) and output structure. It distinguishes from sibling tools (e.g., embedcalc_eseries_nearest) by its unique purpose.

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?

The description provides clear context for when to use the tool (designing attenuators) and even suggests a related tool for snapping values. However, it does not explicitly state when not to use it or list alternatives.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/ethan-hub26/embedcalc-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server