Skip to main content
Glama
pico-bay

pico-bay

Official

Create a board directory

pico_directory_create

Creates a directory on a selected MicroPython or CircuitPython board, including any missing parent folders. Existing directories are accepted.

Instructions

Create a directory on the selected board, with any missing parent directories. An existing directory is not an error.

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>",
      "path": "<path>"
    },
    "name": "pico_directory_create"
  }
}

Input Schema

NameRequiredDescriptionDefault
pathYesPath on the board filesystem, relative to its root.
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 this is a non-read-only, non-destructive, closed-world operation, and the description adds real behavioral context: recursive parent creation and idempotent behavior on existing paths. It stops short of describing failure modes (invalid paths, permission errors) or what the call returns, so it isn't fully transparent.

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, front-loaded with the action and immediately followed by the two facts an agent needs (parent creation, idempotency). Nothing is wasted or buried.

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 simple two-parameter mutation with full schema coverage and annotations covering safety, the description supplies the behavioral essentials. The only minor gap is the absence of any indication of what a successful call yields, which matters slightly more given there is no output schema.

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 100% and both parameters are documented, including that board_id is a UID from pico_boards_list and that path is root-relative. The description reinforces that the path may span multiple levels but adds no format or syntax detail beyond what the schema already states, so the baseline 3 applies.

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 and resource ('Create a directory on the selected board') and adds scope ('with any missing parent directories'), which clearly separates it from siblings like pico_path_delete or pico_path_rename. It doesn't explicitly contrast itself with a file-creating or listing tool, 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 note 'An existing directory is not an error' gives useful idempotency guidance for repeat calls, but there is no explicit statement of when to prefer this tool over alternatives or any prerequisite conditions beyond the schema's board_id note. Usage is implied rather than directed.

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