Skip to main content
Glama
flipper-mcp
by jamiew

nfc_detect

Read-only

Scan for nearby NFC tags for a configurable duration (duration_s) to detect tags in range with a Flipper Zero.

Instructions

Scan for NFC tags nearby for duration_s seconds.

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_detect"
  }
}

Input Schema

NameRequiredDescriptionDefault
duration_sNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.7.3

TDQS

B3.3/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true and openWorldHint=true, so safety and external-world interaction are covered. The description adds that the scan runs for a bounded time window, but does not disclose that the call likely blocks for that duration, what happens if no tag is found, or any hardware/permission requirements.

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?

One short sentence, front-loaded with the action and resource, with no filler. Nothing could be removed without losing information.

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 annotations cover the read-only/open-world profile. However, for a hardware-touching, time-blocking scan, the definition omits blocking behavior, no-tag-found behavior, and any device prerequisites, leaving meaningful gaps.

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 coverage is 0%, so the description should carry the burden for the single parameter. It does add the unit ("seconds") which the schema's "Duration S" title only implies, but it says nothing about the default of 5 or the 600-second cap beyond what the schema already states structurally.

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 ("Scan for NFC tags") plus a scope qualifier ("nearby"), so an agent can tell this is a passive tag discovery operation rather than an emulation one. It does not explicitly contrast with siblings like nfc_emulate or workflow_nfc_read_start, which keeps it out of 5 territory.

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

Usage Guidelines2/5

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

There is no statement of when to choose this over nfc_emulate or workflow_nfc_read_start, nor any prerequisites or exclusions. The only guidance is implicit in the verb "scan", which is the definition of no real usage guidance.

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