Skip to main content
Glama
bitpirate-mcp
by Indigaz

scan_baud

Identifies an unknown UART baud rate by cycling through common rates and scoring each for readable ASCII output, returning candidate rates sorted by confidence.

Instructions

Scan common baud rates and score by readable ASCII output. Returns candidates sorted by confidence. [read-only] [Duration: slow (~15-60 s -- cycles through common baud rates, samples each for a short window). Background-dispatch recommended.]

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "scan_baud"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.1/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does well: it declares read-only, gives an operation duration (~15-60 s), explains the mechanism (cycles through common rates, samples each briefly), and recommends background dispatch. It stops short of saying whether the device link state is changed or what happens if no candidate scores above a threshold.

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?

Three compact clauses: what it does, what it returns, then bracketed operational metadata (read-only, duration, dispatch advice). Front-loaded and every sentence adds information.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a zero-parameter tool with no output schema, the return contract ("candidates sorted by confidence") is only sketched — an agent cannot tell whether candidates are integers, objects with scores, or how confidence is scaled. The implied prerequisite of an existing open UART connection is also unstated.

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?

There are zero parameters, so there is nothing for the description to disambiguate — the baseline applies. The only unaddressed semantic is that the scan presumably acts on an already-open UART port rather than one named in a parameter.

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?

Specific verb plus resource ("Scan common baud rates") and it states the ranking criterion ("score by readable ASCII output"), which tells an agent exactly what this produces. It is clearly distinct from the i2c/spi/onewire siblings by resource alone.

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 only implied: the duration and "background-dispatch recommended" note hint at where it fits, but the description never states a precondition such as needing an open UART session first, nor an explicit when-to-use trigger like 'call after opening a UART when the baud rate is unknown'.

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