Skip to main content
Glama
ikatkov
by ikatkov

set_power

Destructive

Configure calibrated sine-wave power in dBm for a 50-ohm load by choosing channel, frequency, and power; applies SINE, zero offset, and 50% duty.

Instructions

Set calibrated sine power into a physical 50-ohm load using the measured table. Sets waveform=SINE, DC offset=0, duty=50, and frequency/amplitude. Requires wave mode and matching serial number. Preserves enabled state unless supplied. Predicted dBm includes measured cable loss; other loads/waveforms are unsupported. Uses register readback; it does not remeasure the signal with the scope.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
channelYes
enabledNo
power_dbmYes
frequency_hzYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.5/5.0
Behavior5/5

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

Despite annotations covering the safety profile (destructiveHint=true, idempotentHint=false), the description adds substantial specifics: it forces waveform=SINE, DC offset=0, duty=50, preserves enabled state unless supplied, folds measured cable loss into the predicted dBm, and notes it reads registers rather than remeasuring with the scope. This is exactly the beyond-annotation context an agent needs.

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?

Front-loads the core action in the first sentence and each following sentence carries distinct constraint information (prerequisites, side effects, measurement caveat). Dense but nearly every clause earns its place; slightly heavy phrasing costs it the top mark.

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

Completeness4/5

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

For a destructive, non-idempotent mutation with no output schema, the description covers prerequisites, applied defaults, state preservation, and the measurement caveat. It stops short of describing failure/error outcomes, but the essential calling context is present.

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?

With 0% schema coverage the description must compensate, and it explains frequency/amplitude, the predicted-dBm meaning of power, and that enabled is preserved unless supplied. The channel parameter is only indirectly implied by 'matching serial number', so one parameter remains underspecified.

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 (Set), a precise resource (calibrated sine power into a physical 50-ohm load), and the mechanism (measured table / register readback). This clearly distinguishes it from preview_power (predicts without applying) and configure_channel (general configuration).

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 real prerequisites and exclusions: 'Requires wave mode and matching serial number' and 'other loads/waveforms are unsupported.' It establishes when the tool is valid, though it never explicitly names preview_power as the alternative for a dry-run.

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