Skip to main content
Glama
flipper-mcp
by jamiew

ibutton_write

Destructive

Writes Dallas iButton keys from an 8-byte hex ID for programming tags; only Dallas keys are writable and FLIPPER_ENABLE_TX must be enabled.

Instructions

Write a Dallas iButton key (only Dallas is writable). Gated behind FLIPPER_ENABLE_TX.

key_data: the 8-byte hex ID as shown by ibutton_read.

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": {
      "key_data": "<key_data>"
    },
    "name": "ibutton_write"
  }
}

Input Schema

NameRequiredDescriptionDefault
key_dataYes

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.7.3

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true and openWorldHint=true, so safety is covered structurally. The description adds non-obvious operational context beyond them: the TX feature-flag gating and the fact that only Dallas-format keys are writable. It does not describe failure modes (e.g., what happens with a non-Dallas key).

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 paragraphs, front-loaded with the action and scope, followed by a targeted parameter note. No filler or redundant restatement of the name.

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 single-parameter destructive write with an output schema, the definition covers scope, prerequisite gating, and value format. The only gap is behavioral edge cases (validation/error behavior for non-Dallas keys), which is minor.

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 description coverage is 0%, so the description must carry the parameter, and it does: it specifies the 8-byte hex ID format and the provenance (output of ibutton_read). This meaningfully reduces the chance of passing a wrong-format value.

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 specific verb and resource ("Write a Dallas iButton key") and adds a meaningful scope constraint ("only Dallas is writable") that separates it from other write-capable siblings such as rfid_write or gpio_write. It also points to ibutton_read as the source of valid input, though it does not explicitly contrast itself with ibutton_emulate.

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?

Provides a real prerequisite ("Gated behind FLIPPER_ENABLE_TX") and tells the agent where key_data comes from ("as shown by ibutton_read"), which is clear context for when and how to call it. It stops short of explicit when-not guidance or naming alternative tools.

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