Skip to main content
Glama

eng_opamp

Read-only

Op-amp gain stage designer — Inverting / non-inverting op-amp stage (offline). gain= target gain picks the best Rf/Rg pair from series= e12, e24 (default) or e96, with actual gain and error; or give rf= and rg= (e.g. 100k, 10k) to get the gain. config= non-inverting (default) or inverting. Optional rg= fixes Rg while designing, gbw= gain-bandwidth (e.g. 1M) gives closed-loop bandwidth via noise gain, slew= V/us with vpk= peak volts gives full-power bandwidth, vin= gives vout. Also returns gain in dB, noise gain, input impedance and the bias-balance resistor. Price: $0.002 USDC (Base, via x402).

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "gain": "<gain>"
    },
    "name": "eng_opamp"
  }
}

Input Schema

NameRequiredDescriptionDefault
gainYese.g. 10

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnlyHint=true, destructiveHint=false, openWorldHint=true), so the description's added value is in disclosure of the return set (gain in dB, noise gain, input impedance, bias-balance resistor) and, notably, the cost and payment path ('$0.002 USDC (Base, via x402)'), which an agent must know before invoking. It does not discuss failure behavior for infeasible targets, keeping it out of 5 territory.

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?

Purpose is front-loaded in the first clause and the rest is dense but information-bearing, with no filler sentences. The single run-on paragraph with heavy '=' notation is harder to scan than a short bulleted split would be.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

It covers the two major invocation paths and sketches the return values despite there being no output schema, which is good. The clear gap is the mismatch between the nine parameters described and the one parameter declared in the schema, leaving the agent unsure which inputs are actually accepted.

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?

The schema only says gain is a string 'e.g. 10'; the description explains that gain is a target value used to search E12/E24/E96 series and that error against target is reported, which is meaningful added semantics. However, it also documents rf, rg, config, series, gbw, slew, vpk and vin, none of which appear in the input schema — useful intent, but the agent cannot confirm those are accepted.

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 specific verb and resource ('Op-amp gain stage designer — Inverting / non-inverting op-amp stage') and immediately names the concrete outputs (Rf/Rg pair, actual gain, error). An agent can tell this apart from every engineering sibling listed, none of which deal with op-amp gain stages.

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 explicit mode selection: either supply gain= to synthesize a resistor pair, or supply rf= and rg= to compute the gain, plus config= for inverting vs non-inverting and optional rg=/gbw=/slew= for extra analyses. It does not name a sibling alternative or state when not to use it, so it falls 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.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources