Skip to main content
Glama
flipper-mcp
by jamiew

rfid_write

Destructive

Write a 125 kHz LF-RFID tag by specifying an EM4100, H10301, or Indala26 key type and the hex ID read from an existing tag.

Instructions

Write a 125 kHz LF-RFID tag. key_type: EM4100 | H10301 | Indala26.

Gated behind FLIPPER_ENABLE_TX. key_data is the hex ID as shown by rfid_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_type": "<key_type>",
      "key_data": "<key_data>"
    },
    "name": "rfid_write"
  }
}

Input Schema

NameRequiredDescriptionDefault
key_dataYes
key_typeYes

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.7.3

TDQS

A3.7/5.0
Behavior3/5

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

Annotations already declare destructiveHint=true and openWorldHint=true, so the write/risk profile is covered structurally. The description adds genuinely useful behavior beyond that — the 125 kHz LF band, the accepted chip types, and the hard dependency on the FLIPPER_ENABLE_TX build/runtime flag. It omits practical behavior such as needing the tag physically on the antenna and confirmation that existing tag contents are overwritten.

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?

Two tight sentences with the core verb/resource front-loaded and the constraint and parameter note following. Nothing is redundant, though the terseness leaves it closer to a stub than a full specification.

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?

An output schema exists, so return values need not be explained, and the two parameters are both covered. For a destructive hardware write, however, an agent would benefit from knowing about physical tag placement and likely failure modes, which are absent.

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% and the schema has no enums, so the description carries the full burden — it names the three valid key_type values, which the schema does not, and explains key_data as the hex ID obtained from rfid_read. It does not give per-type ID formats or lengths, so it is strong but not exhaustive.

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 states a specific verb and resource ('Write a 125 kHz LF-RFID tag') and enumerates the supported chip protocols (EM4100, H10301, Indala26), which lets an agent distinguish it from siblings like rfid_read or rfid_emulate. It stops short of explicitly contrasting itself with those siblings in prose.

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?

It gives a concrete prerequisite ('Gated behind FLIPPER_ENABLE_TX') and points to rfid_read as the source of a valid key_data value, which is clear usage context. It does not state when not to use it (e.g. HF tags) or name an alternative tool for cases this doesn't cover.

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