Skip to main content
Glama

PitCanary

Put a sensor on the current firmware

update_device_firmware
Destructive

Tells one sensor to install the published firmware release for its model. It is queued rather than done: the sensor picks the instruction up on its next check-in, so within about a minute, and installs and verifies the signed image itself. Leave version out to mean whatever is current, which is the usual answer; naming a version that is not the current release is refused, as is a model with no release published. Read list_devices first to see which sensors are behind. Requires a PitCanary account.

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": {
      "device_id": "<device_id>"
    },
    "name": "update_device_firmware"
  }
}

Input Schema

NameRequiredDescriptionDefault
versionNoA specific release, for example 2.57.0. Leave it out for whatever is current.
device_idYesThe device id, as returned by list_devices.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.8/5.0
Behavior5/5

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

Goes well beyond the annotations by disclosing that the operation is queued rather than synchronous, that the sensor picks it up on its next check-in (roughly a minute), and that the device installs and verifies the signed image itself. It also states the account requirement ('Requires a PitCanary account'), which no annotation covers.

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?

Front-loaded with the action, then the async behavior, then the version rule, then the prerequisite and auth note. Every sentence carries information; there is no filler or restatement of the title.

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?

Covers what the agent needs before calling: prerequisite listing, default version behavior, refusal conditions, timing, and auth. It stops short of saying how to confirm the install actually succeeded afterwards (e.g., re-reading the device), which is the one remaining gap for a destructive, asynchronous action.

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 coverage is 100%, so the baseline is 3, but the description adds real semantics: omitting version means 'whatever is current' and is the normal case, and a non-current version is refused. That turns a plain optional string into a decision rule. The device_id meaning is left entirely to the schema.

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: 'Tells one sensor to install the published firmware release for its model.' This is plainly distinct from sibling mutators like update_device_settings, factory_reset_device, or claim_device, so an agent can pick it without opening any schema.

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

Usage Guidelines5/5

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

Gives explicit defaults ('Leave version out to mean whatever is current, which is the usual answer'), explicit exclusions ('naming a version that is not the current release is refused, as is a model with no release published'), and a prerequisite step ('Read list_devices first to see which sensors are behind').

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources