Skip to main content
Glama

gpio_set_mode

Configure a GPIO pin as output or input wirelessly via BLE on a Flipper Zero.

Instructions

Set a GPIO pin mode over BLE (gpio_set_pin_mode). pin: PC0|PC1|PC3|PB2|PB3|PA4|PA6|PA7; mode: output|input. Real action.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pinYes
modeNooutput

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior2/5

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

No annotations are provided, so the description must carry the full burden. It mentions 'Real action' implying execution, but lacks details on side effects, safety, or destructiveness. Minimal behavioral disclosure.

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?

The description is extremely concise: one sentence with a clear verb+resource, followed by a succinct enumeration of allowed parameters. No unnecessary words.

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?

Given that output schema exists, description does not need return value details. It covers the tool's purpose, allowed parameter values, and communication method. Lacks information on prerequisites or side effects, but is largely complete for a simple configuration tool.

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 coverage is 0%, so the description compensates by listing specific allowed values for pin and mode (e.g., 'output|input'). This adds meaning beyond the schema's generic string type. However, it does not explain the meaning of each mode.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the action ('Set a GPIO pin mode'), specifies the resource ('GPIO pin'), and mentions communication method ('over BLE'). It distinguishes from sibling tools like gpio_read and gpio_write by focusing on mode setting.

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 description provides allowed pin and mode values, which helps usage, but does not explicitly state when to use this tool versus alternatives (e.g., gpio_write for setting values). Usage is implied but not contrasted.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/pogorelov-labs/flipper-ble-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server