Skip to main content
Glama
flipper-mcp
by jamiew

ibutton_emulate

Emulate a Dallas, Cyfral, or Metakom iButton key for a set duration using hex key data read from a device.

Instructions

Emulate an iButton key for a duration. Gated behind FLIPPER_ENABLE_TX.

key_type: Dallas (8B) | Cyfral (2B) | Metakom (4B). key_data: hex from 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_type": "<key_type>",
      "key_data": "<key_data>"
    },
    "name": "ibutton_emulate"
  }
}

Input Schema

NameRequiredDescriptionDefault
key_dataYes
key_typeYes
duration_sNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.7.3

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=false, openWorldHint=true, and destructiveHint=false, and the description adds genuinely new context: an environment-variable gate that must be satisfied before the call works, and per-key-type data length constraints. It does not describe what happens when the duration elapses or whether the device blocks during emulation, so the behavioral picture is useful but not complete.

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?

Very short, front-loaded with the action sentence before the gating condition, and free of filler. The compact 'key_type: ... | key_data: ...' shorthand is efficient but slightly telegraphic, requiring the reader to parse a pipe-delimited fragment rather than prose.

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?

An output schema exists, so return values need not be explained, and the description covers the gating prerequisite, the accepted key types, and the source format for key data. Given the low schema description coverage, some detail about duration_s semantics would have completed the picture, but nothing critical for correct invocation is missing.

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 0%, so the description must carry the load and it partly does: it enumerates key_type values with byte lengths (Dallas 8B, Cyfral 2B, Metakom 4B) and pins key_data to 'hex from ibutton_read'. The third parameter, duration_s, is left entirely to the schema's default and min/max bounds, leaving the multi-parameter contract only partially explained.

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?

States a specific verb and resource ('Emulate an iButton key') plus the scope of the operation ('for a duration'). Read, write, and emulate are cleanly distinguishable, so an agent can route between ibutton_emulate, ibutton_read, and ibutton_write without further inspection.

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?

Provides two real preconditions: the tool is gated behind FLIPPER_ENABLE_TX, and key_data should be hex obtained from ibutton_read, which implies a read-then-emulate workflow. However, there is no explicit statement of when to prefer this over other transmit/emulate paths or when it is inappropriate, so guidance is helpful but incomplete.

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