Skip to main content
Glama
Otii MCP Server
by qoitech

set_gpo

Sets Otii digital output GPO pin 1 or 2 to switch connected hardware, such as a USB or debugger line, off while measuring the device under test.

Instructions

Set Otii digital output GPO pin 1 or 2. Useful for switching hardware around the device under test, e.g. a USB/debugger connection that should be off while measuring.

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": {
      "pin": "<pin>",
      "enabled": "<enabled>"
    },
    "name": "set_gpo"
  }
}

Input Schema

NameRequiredDescriptionDefault
pinYes
deviceNo
enabledYes

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.1

TDQS

B3.3/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full behavioral burden for a hardware-state mutation. It conveys the physical intent (turning a device-under-test peripheral off) but says nothing about what `enabled=true/false` actually does electrically, whether the pin state persists across recordings, what happens if no device is specified, or whether a device connection/permission is required.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two compact sentences: the action comes first, followed by a single illustrative use case. Nothing is padded or restated, and both sentences earn their place.

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?

An output schema exists, so return values need not be described, which lowers the bar. Still, with no annotations and 0% schema description coverage, the definition leaves the `device` parameter and the persistence/physical effect of the call unexplained — a gap for a state-changing hardware tool.

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

Parameters3/5

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

Schema coverage is 0%, but the description does add one real constraint the schema lacks: `pin` must be 1 or 2 (the schema is a bare integer with no enum or description). It leaves `device` (default null — presumably the active device) and the exact meaning of `enabled` undocumented, so it only partially compensates for the coverage gap.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description gives a specific verb and resource: "Set Otii digital output GPO pin 1 or 2" — an agent immediately knows this manipulates a physical output pin on the Otii device, distinct from measurement, logging, and statistics siblings. It stops short of an explicit contrast with siblings, but the action is unambiguous.

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 motivating example ("switching hardware around the device under test, e.g. a USB/debugger connection that should be off while measuring") gives implied usage context and a concrete scenario. However, there is no explicit "use this when" directive, no when-not condition, and no mention of alternatives, leaving the agent to infer timing and prerequisites.

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