Skip to main content
Glama

gpio_list

Read-onlyIdempotent

Lists GPIO pins available through Moondancer, including PMOD A pins A1-A4, A7-A10, and the USER button, so you can identify board I/O lines in Facedancer mode.

Instructions

List the GPIO pins available through Moondancer (PMOD A pins A1-A4, A7-A10 and USER button). Requires facedancer mode.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "gpio_list"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.8/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and openWorldHint=false, so the safety and idempotency profile is covered elsewhere. The description's added value is the facedancer-mode prerequisite, but it says nothing about what happens if that mode is not active (error vs empty list), which is the one behavioral detail an agent would still want.

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 short sentences, both front-loaded: the resource and pin scope first, the hard prerequisite second. No filler, no restatement of the title, nothing that could be cut without losing information.

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?

For a zero-parameter, read-only, closed-world listing tool with a full annotation set and an output schema, this is complete: scope is enumerated, the one environmental precondition is stated, and return structure is delegated to the output schema.

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?

The tool takes zero parameters, so there is no per-parameter meaning to convey and the baseline of 4 applies. The description's enumeration of pin names indirectly characterizes what the (empty) invocation yields, which is a small bonus.

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 ('List') and resource ('GPIO pins available through Moondancer') and even enumerates the concrete pin set (PMOD A A1-A4, A7-A10, USER button), so the agent knows exactly what comes back without opening the schema. It does not explicitly contrast itself with gpio_read or gpio_write, though the list/read/write verbs make the distinction reasonably clear.

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 prerequisite 'Requires facedancer mode' is a genuine usage condition, telling the agent when this call will succeed. There is no explicit statement of when to choose this over gpio_read or gpio_write, such as 'use this first to discover valid pin identifiers before calling gpio_read,' so guidance is implied rather than spelled out.

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