Skip to main content
Glama

facedancer_serial_write

Send data through the emulated FTDI serial port to the target host, with optional hex byte input. Use it to transmit serial payloads while Facedancer emulation (kind=ftdi) is running.

Instructions

Send data from the emulated FTDI serial adapter to the target host (kind=ftdi must be running).

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": {
      "data": "<data>"
    },
    "name": "facedancer_serial_write"
  }
}

Input Schema

NameRequiredDescriptionDefault
hexNoInterpret data as hex bytes.
dataYesData to send to the host through the emulated FTDI serial port.

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=false, destructiveHint=false and openWorldHint=false, so the write/local/non-destructive profile is known. The description adds the useful 'kind=ftdi must be running' prerequisite, but says nothing about failure behavior when that kind is not running, buffering, or throughput.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

A single front-loaded sentence with the action first and the precondition appended in parentheses; nothing is wasted. The parenthetical reads slightly like an afterthought rather than a structured prerequisite.

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 two-parameter write with an output schema and full schema coverage, the description covers both what it does and the state required. Only error/failure semantics are left unaddressed, which is a minor gap at this complexity.

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 description coverage is 100%, so both 'data' and 'hex' are already documented in the schema, including the hex interpretation. The description adds no format or encoding detail beyond what the schema states, so 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?

States a concrete verb ('Send data') and a precise resource path ('emulated FTDI serial adapter to the target host'), which is enough to separate it from gpio_write and jtag_register_write. It stops short of explicitly naming the preferred alternative for other write paths.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Gives a clear operational precondition — kind=ftdi must already be running — that tells the agent when this tool is valid. It does not list exclusions or point at a sibling for non-FTDI serial output.

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