Skip to main content
Glama

pin_reserve

Reserve a microcontroller pin to mark it used without assigning a peripheral, preventing unintended assignments during project configuration.

Instructions

Reserve a pin (marks it used without assigning a peripheral) via set pinreservation.

Input Schema

NameRequiredDescriptionDefault
pinYesPin name
project_idYesProject id

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.1.0

TDQS

A3.6/5.0
Behavior3/5

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

No annotations are provided, so the description carries the full burden. It does disclose the state effect (pin becomes used, no peripheral attached) and the underlying CLI (`set pinreservation`), but says nothing about reversibility, how to unreserve (pin_reset/pin_clear_all), or failure modes such as an unknown pin name.

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?

A single front-loaded sentence with the key semantic clarification in parentheses and the backing command at the end. Nothing wasted.

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 two-parameter, no-output-schema mutation the description covers the essential state effect. The main gap is the absence of any note on how the reservation is undone or what errors to expect, which matters for a mutating pin operation with no annotations.

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 description coverage is 100% for both parameters, so the schema already defines `pin` and `project_id`. The description adds no format, naming, or validity constraints beyond that baseline.

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?

Specific verb (reserve) plus resource (pin), and the parenthetical disambiguates what 'reserve' means: the pin is marked used without a peripheral assignment. It does not name sibling operations like pin_lock or pin_set explicitly, so differentiation is implied rather than stated.

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 phrase 'without assigning a peripheral' implies when to prefer this over pin_set, but no explicit when-to-use/when-not guidance is given. An agent must infer from the surrounding pin_* family whether reserve, lock, or clear is the right call.

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

Deploy Server

Other Tools