Skip to main content
Glama
bvandevliet

Betaflight MCP

by bvandevliet

get_baro_spi_device

Retrieve the SPI bus number currently assigned to the barometer sensor. Required when USE_BARO is enabled.

Instructions

Get baro_spi_device: SPI bus number for barometer. (Requires: USE_BARO) [UINT8, 0–5, default: 2]

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior4/5

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

With no annotations, the description adds value by disclosing the return type (UINT8), range (0-5), and default (2). It also notes the requirement. This covers key behavioral aspects for a simple getter.

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, front-loads the purpose, and packs type/range/default inline. Every word earns its place with zero waste.

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 parameterless getter with no output schema, the description covers the essential: purpose, prerequisite, and return constraints. It is complete for simple retrieval, though it could hint at how the bus number maps to hardware.

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 are no parameters, and schema coverage is 100%. The description adds no parameter-specific information, but the baseline of 3 is appropriate since nothing is missing.

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 clearly states the tool retrieves the SPI bus number for the barometer. It is specific and uses a verb+resource format. However, among siblings like get_baro_i2c_device, it could more explicitly differentiate itself as the SPI variant.

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 includes a prerequisite note (requires USE_BARO), providing some guidance. However, it does not advise when to use this tool versus alternatives (e.g., get_baro_i2c_device) or mention any conditions.

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/bvandevliet/betaflight-mcp'

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