Skip to main content
Glama
flipper-mcp
by jamiew

ir_tx

Transmit infrared signals using a specified protocol, address, and command to control TVs, AC units, and other IR devices via a Flipper Zero.

Instructions

Transmit an IR signal using a known protocol.

protocol: exact firmware name, e.g. NEC, NECext, Samsung32, RC5, RC6, SIRC. address / command: numeric CLI hex ("C7EA") or little-endian bytes from a saved .ir file ("EA C7 00 00"). Byte arrays are converted to numbers, not concatenated. Capture CLI A:/C: values can be passed unchanged.

NOTE: requires the firmware's cli_ir.fal plugin to be loaded. If this returns "failed to load external command", refresh the firmware via qFlipper to update the external CLI plugins.

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": {
      "protocol": "<protocol>",
      "address": "<address>",
      "command": "<command>"
    },
    "name": "ir_tx"
  }
}

Input Schema

NameRequiredDescriptionDefault
addressYes
commandYes
protocolYes

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 mark this as a non-read-only, open-world, non-destructive action, so the safety profile is covered. The description adds genuinely useful behavior the annotations cannot convey: the dependency on the cli_ir.fal external plugin, the exact error text when it is missing, and the qFlipper remediation step.

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?

Purpose is front-loaded in one sentence, then parameter format details, then the plugin caveat as a separated NOTE. Every block serves a purpose; the byte-array explanation is slightly dense but earns its place given the ambiguous input format.

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

Completeness5/5

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

For a three-required-parameter transmit tool with an output schema present, the description covers the input encodings, the firmware prerequisite, and the failure mode with a fix. An agent has enough to call this correctly on the first attempt.

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 description coverage is 0%, so the description carries the full burden and largely meets it: it enumerates valid protocol names and explains that address/command accept CLI-style hex or little-endian byte arrays, that byte arrays are converted to numbers rather than concatenated, and that captured A:/C: values pass through unchanged. Remaining gap is that it never states whether address/command have range or length limits.

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 first sentence gives a specific verb and resource (transmit an IR signal) plus the scoping constraint that the protocol must be a known one. It does not distinguish itself from sibling senders such as ir_universal_send or subghz_tx_from_file, so an agent must infer which path applies.

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?

Usage context is implied: this is the raw-protocol path, and the description notes it requires the cli_ir.fal firmware plugin. However, it never states when to pick this over ir_universal_send or ir_scan_and_identify, and gives no exclusions or prerequisites beyond the plugin.

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