Skip to main content
Glama
flipper-mcp
by jamiew

ir_universal_send

Send universal-remote IR commands by category and exact button name from the firmware database to control TVs, audio devices, ACs, fans, and other supported equipment.

Instructions

Transmit a universal-remote IR button from the firmware's built-in DB.

category: tv | audio | ac | fans | bluray_dvd | digital_sign | leds | monitor | projectors. button: exact name returned by ir_universal_list, e.g. Power, Vol_up, Vol_dn, Mute, Ch_next, Ch_prev. Case-sensitive.

Example: turn off any TV in range: ir_universal_send(category="tv", button="Power")

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": {
      "category": "<category>",
      "button": "<button>"
    },
    "name": "ir_universal_send"
  }
}

Input Schema

NameRequiredDescriptionDefault
buttonYes
categoryYes

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.7.3

TDQS

A4.2/5.0
Behavior3/5

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

Annotations already declare destructiveHint=false and openWorldHint=true, so the physical-world side effect is partly covered. The description adds that the codes come from an on-device DB and that the emitter affects any device in range, but says nothing about whether success/failure feedback is returned, whether the command is repeatable, or what happens if the button does not exist for that category.

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 core purpose is front-loaded in one sentence, followed by the two parameter hints and a single worked example. Every line earns its place and there is no redundant restatement of the tool name or annotations.

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?

For a two-required-parameter hardware action tool with an output schema (so return values needn't be described) and annotations covering safety, the description supplies the critical unknowns: the valid category vocabulary and the button-name provenance. Only failure-mode behavior is left implicit.

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?

With 0% schema description coverage, the description carries the full load and does most of it: it enumerates the ten valid category values (none of which are enums in the schema) and explains that button must be an exact, case-sensitive name from ir_universal_list with real examples like Power, Vol_dn, Ch_next. It doesn't explain how category and button interact, e.g. whether a button valid for tv is rejected under ac.

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: transmit an IR button from the firmware's built-in DB. The 'built-in DB / universal-remote' framing distinguishes it from the raw-transmit sibling ir_tx, and the reference to ir_universal_list makes the pair's relationship explicit without either schema being opened.

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

Usage Guidelines4/5

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

It clearly directs the agent to obtain the button name from ir_universal_list first and warns that it is case-sensitive, plus gives a concrete 'turn off any TV in range' scenario. What's missing is any exclusion guidance, e.g. when to prefer raw ir_tx or what to do when the category/button pair is unknown.

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