Skip to main content
Glama

measure_gain

Read-onlyIdempotent

Extract gain and phase at a specific frequency from AC simulation to evaluate circuit performance.

Instructions

Measure gain and phase at a specific frequency from AC analysis results.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
circuit_idYes
frequency_hzYes
Behavior3/5

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

Annotations already indicate readOnlyHint, destructiveHint, and idempotentHint, so the safety profile is clear. The description adds context about measuring from AC analysis results, but does not disclose the behavior for frequencies not in the results or other edge cases.

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 a single sentence, concise and front-loaded. However, it sacrifices completeness for brevity, missing important details about parameters and output.

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

Completeness2/5

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

Given the absence of an output schema, the description should explain the return value (e.g., gain and phase as magnitude/angle or complex). It does not, leaving the agent uncertain about how to interpret results.

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

Parameters2/5

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

Schema coverage is 0%, yet the description only implicitly references the parameters (e.g., 'specific frequency' for frequency_hz, 'AC analysis results' for circuit_id). It does not explain the meaning, units, or constraints of the parameters beyond the schema.

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 measures gain and phase at a specific frequency from AC analysis results. It uses specific verbs and resources, distinguishing it from sibling tools like measure_bandwidth or measure_dc.

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 implies usage after AC analysis has been performed, but lacks explicit guidance on when to use or not use this tool versus alternatives. No exclusions or prerequisites are mentioned.

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/clanker-lover/spicebridge'

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