Skip to main content
Glama
flipper-mcp
by jamiew

ir_scan_and_identify

Read-only

Captures infrared transmissions for a configured duration and identifies them by matching the capture against a fingerprint registry.

Instructions

Listen for IR, then fingerprint the capture against the registry.

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

Input Schema

NameRequiredDescriptionDefault
duration_sNo

Output Schema

NameRequiredDescriptionDefault
matchesYes
duration_sYes
raw_outputYes
match_countYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.7.3

TDQS

B3/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 the safety profile is covered. The description adds useful behavioral context by disclosing the two-phase flow of capture followed by registry matching. However, it does not disclose that the listen phase blocks for a bounded duration, nor what happens if no IR is received.

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?

The description is a single short sentence with no wasted words, and the two phases are ordered correctly. Brevity is not the problem here; the missing detail is a completeness issue rather than a structural one.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

An output schema and annotations cover return values and safety, which reduces the description's burden. Even so, the only input parameter is undocumented, and there is no routing guidance versus ir_rx or scan_and_identify, leaving the definition minimally adequate for correct invocation.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The sole parameter, duration_s, has 0% schema description coverage, so the description must carry its meaning. The description never mentions duration, units, blocking behavior, or the default and maximum values; 'Listen for IR' is only a weak hint that the parameter controls capture time.

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 two-step action: listen for IR and fingerprint the capture against a registry. That is more specific than a bare resource name and implies identification beyond raw reception. It does not distinguish this from the similarly named scan_and_identify or from ir_rx, leaving some ambiguity for an agent choosing among IR tools.

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 explicit when-to-use guidance, no exclusions, and no mention of alternatives such as ir_rx for raw capture or scan_and_identify for a broader scan. The phrase 'then fingerprint' implies this is for identification rather than plain reception, but that inference is left entirely to the agent.

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