Skip to main content
Glama
flipper-mcp
by jamiew

nfc_emulate

Emulate a saved .nfc tag file or the last-read tag on a Flipper Zero for a set duration, so you can test NFC readers without a physical card.

Instructions

Emulate a saved .nfc tag (or the last-read tag if no path) for a duration.

Gated behind FLIPPER_ENABLE_TX. Pass a path like /ext/nfc/mycard.nfc, or leave empty on firmwares that emulate the last-read tag.

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": "nfc_emulate"
  }
}

Input Schema

NameRequiredDescriptionDefault
file_pathNo
duration_sNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.7.3

TDQS

B3.4/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=false, openWorldHint=true, destructiveHint=false, so the description does not need to restate the safety profile. It adds genuinely useful context the annotations do not carry: the FLIPPER_ENABLE_TX feature gate and the firmware-dependent empty-path behavior. It still says nothing about whether the call blocks for the full duration, what state the device is left in, or what happens at expiry.

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 short sentences, front-loaded with the core action and scope, with the prerequisite and path semantics following. No filler sentences; the only inefficiency is that the duration parameter gets no coverage at all despite the tight budget.

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 feature gate plus path semantics cover the main risks of invoking it. For an open-world transmit-emulation tool with 0% schema coverage, though, the absence of any duration semantics or device-occupancy behavior leaves a real gap.

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 compensate, and it does so only for file_path (path format example plus the empty-means-last-read semantics). duration_s is never mentioned in the description; its default of 15 and maximum of 600 are visible only in the schema, with no explanation of blocking behavior or granularity.

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 ('Emulate') and resource (a saved .nfc tag) plus the fallback behavior when no path is supplied. It is clear what the tool does, though it never contrasts itself with nfc_detect or rfid_emulate, so sibling differentiation is left to the names.

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?

Gives a concrete usage condition ('Pass a path like /ext/nfc/mycard.nfc, or leave empty on firmwares that emulate the last-read tag') and a prerequisite (FLIPPER_ENABLE_TX). However it offers no guidance on when to choose this over nfc_detect or rfid_emulate, so selection among alternatives is implied at best.

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