Skip to main content
Glama
pico-bay

pico-bay

Official

Interrupt a board program

pico_board_interrupt

Send Ctrl-C to interrupt the Python program currently running on a selected MicroPython or CircuitPython board, using its board UID or serial device path.

Instructions

Send Ctrl-C to interrupt the program currently running on the selected board.

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": {
      "board_id": "<board_id>"
    },
    "name": "pico_board_interrupt"
  }
}

Input Schema

NameRequiredDescriptionDefault
board_idYesStable board UID returned by pico_boards_list, or its current serial device path.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=false and destructiveHint=false, and the description earns credit by disclosing the actual mechanism (Ctrl-C), which tells the agent this is a cooperative soft interrupt rather than a power-cycle or flash erase. It still omits what happens on failure (e.g., no program running) and whether any program output is returned, keeping it short of a 5.

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?

One sentence, front-loaded with the verb and mechanism, with no filler or redundant restatement of the tool name.

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 single-parameter, no-output-schema tool with annotations covering safety, this is nearly sufficient: the agent knows the target, the mechanism, and the effect. The only meaningful missing piece is post-condition behavior, such as an error when no program is running or confirmation of what the interrupt returns.

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?

There is a single parameter with 100% schema description coverage — board_id is documented in the schema as a stable UID from pico_boards_list or a serial device path. The description adds nothing about board_id, which is acceptable at this coverage level but does not exceed the 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?

The description names a specific verb (interrupt) and resource (the program currently running on the selected board) and even discloses the mechanism (Ctrl-C). It is clearly distinct from write-heavy siblings like pico_python_run or pico_file_write, though it does not explicitly contrast itself with pico_board_reset or pico_board_bootloader, which are its nearest alternatives.

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?

Usage is implied: use this when a program is running and you want to stop it without a hard reset. There is no explicit statement of when to prefer pico_board_reset or pico_board_bootloader instead, and no mention of preconditions such as whether a program must actually be running.

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