Skip to main content
Glama

mcp_gpio_config

Configures a remote agent's GPIO pin by number, setting direction, initial state, pull resistor, pulse limit, active-low logic, and optional state-change webhook.

Instructions

Configure a GPIO pin on agent by number. type: input/output/vcc/gnd/remove. init: 0/1/last. pullup: up/down/none (input only). max: max pulse duration in seconds (output only). reversed: active-low logic (input/output only). watched: trigger webhook on state change (logged on the agent if no notifications.webhook is configured).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
maxNo
gpioYes
initNo
nameNo
typeNo
agentYes
pullupNo
watchedNo
reversedNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.9.23

TDQS

A3.5/5.0
Behavior3/5

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

With no annotations, the description carries the full burden and does disclose some behavior: 'watched' triggers a webhook and falls back to logging when notifications.webhook is unset, and 'remove' implies a destructive mode. It omits permissions required, whether reconfiguring resets existing pin state, and reversibility of a remove.

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-loaded with the core action, then a compact parameter reference. It is one long sentence, but nearly every clause carries information; only the trailing webhook parenthetical is slightly heavy.

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?

For a 9-parameter mutation tool with no annotations and no output schema, the description covers most parameters but skips name and never addresses the risks of the destructive 'remove' type or what the tool returns on success or failure.

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?

Schema description coverage is 0%, so the description must compensate, and it does: it enumerates valid values for type, init, pullup, and documents max, reversed, and watched with their applicability constraints. It leaves agent, gpio, and name undocumented, but the two required params are at least implied by 'on `agent` by number'.

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?

States a specific verb (configure) plus resource (GPIO pin) and target (agent), so it is clearly distinct from gpio_read, gpio_write, and gpio_scan. It does not explicitly name a sibling to route against, but the purpose 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 parentheticals 'input only', 'output only', and 'input/output only' give implied usage rules per parameter, which is genuinely useful. However, there is no guidance on when to prefer this over gpio_write or gpio_read, and no prerequisites or exclusions are stated.

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