Skip to main content
Glama
NaoNaoMe

MHS-5200A MCP Server

by NaoNaoMe

mhs5200_set_offset

Idempotent

Set the DC offset for a signal generator channel by specifying a percentage of half the peak-to-peak amplitude (Vpp/2). Allowed range is -120 to +120, where 0 centers the signal.

Instructions

Set the DC offset for a channel.

The offset is specified as a percentage of half the peak-to-peak amplitude (Vpp/2). For example, with a 5Vpp signal: - offset_percent = 100 shifts the signal by +2.5V - offset_percent = -120 shifts the signal by -3.0V

Formula: DC offset voltage = (Vpp / 2) × (offset_percent / 100)

Args: params: Offset parameters containing: - channel (1 or 2): Target channel - offset_percent (float): Offset as percentage of Vpp/2 (-120 to +120, 0 is center)

Returns: JSON confirming the new offset setting.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
paramsYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior5/5

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

Adds significant behavioral context: explains formula, percentage interpretation, and return type (JSON confirmation). Annotations already hint idempotency and non-destructiveness; description reinforces without contradiction.

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?

Concise but includes necessary details like formula and examples. Well-structured with bullet points, though slightly verbose for a simple set operation.

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?

Covers purpose, parameter details, formula, range, and return value. Output schema is present but description still mentions return format, making it fully self-contained.

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

Parameters5/5

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

Despite schema description coverage reported as 0%, the description extensively explains offset_percent with examples and formula, greatly adding meaning beyond the schema's basic range and default.

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?

Clearly states 'Set the DC offset for a channel.' Identifies verb (set) and resource (DC offset for a channel). Distinct from sibling tools which handle other parameters.

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?

Explicitly explains when to use (to adjust DC offset). Implicitly excludes other sibling tools by focusing on offset specific details, but lacks explicit 'when not to use' or direct comparisons.

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/NaoNaoMe/mhs5200a-mcp'

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