Skip to main content
Glama
ethan-hub26

embedcalc-mcp

by ethan-hub26

Buck / Boost / Buck-Boost Converter Calculator

embedcalc_dcdc_converter
Read-onlyIdempotent

Compute key design parameters for DC-DC converters in continuous conduction mode: duty cycle, minimum inductance, output capacitance, input current, and peak switch current for buck, boost, or inverting buck-boost topologies.

Instructions

DC-DC converter design (CCM): duty cycle, minimum inductance, minimum output capacitance, input current, and peak switch current for buck, boost, or inverting buck-boost.

Args: topology ('buck'|'boost'|'buckboost'), vin, vout, iout_a, freq_khz (default 100), ripple_current_pct (of Iout, default 30), ripple_voltage_mv (default 50). Returns (structured): { duty_percent, l_min_uh, c_min_uf, iin_a, i_peak_a }. Example: buck 12->5 V, 1 A, 100 kHz -> D=41.7%, L≥97.2 µH, C≥7.5 µF. Snap L/C with embedcalc_eseries_nearest.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
vinYesInput voltage V
voutYesOutput voltage V (magnitude for inverting)
iout_aYesOutput current A
freq_khzNoSwitching frequency kHz
topologyYesConverter topology (buckboost = inverting)
ripple_voltage_mvNoAllowed output ripple voltage mV
ripple_current_pctNoInductor ripple current as % of Iout

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
iin_aYes
c_min_ufYes
i_peak_aYes
l_min_uhYes
duty_percentYes
Behavior4/5

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

The description aligns with annotations (readOnlyHint, idempotentHint, destructiveHint) by presenting the tool as a calculation function with no side effects. It adds behavioral context: returns structured output, operates in CCM, and requires specific inputs. No contradictions.

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?

The description is concise, with a clear purpose statement, a parameter list, output format, and an example. Every sentence adds value. Slightly more structured formatting could improve readability, but it is effective.

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?

Given the tool's complexity (7 parameters, multiple topologies) and the presence of output schema, the description covers purpose, all parameters, outputs, and an example. It is sufficiently complete for an agent to use correctly.

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

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so baseline is 3. The description adds value by listing arguments compactly with defaults, explaining ripple_current_pct as a percentage of Iout, and providing a concrete example that clarifies units and expected values. This enriches the schema information.

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 it calculates duty cycle, minimum inductance, capacitance, input current, and peak switch current for buck, boost, or inverting buck-boost converters. It specifies the operating mode (CCM) and distinguishes it from other embedcalc tools that handle different domains like resistors or wire.

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?

The description does not explicitly state when to use this tool versus alternatives, nor does it provide exclusion criteria (e.g., for DCM). However, it gives a concrete example and references a sibling tool (embedcalc_eseries_nearest) for rounding, implying a workflow. This is adequate but not explicit.

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