Skip to main content
Glama

PitCanary

Erase everything a sensor recorded

reset_device_data
Destructive

Erases what one sensor recorded: every measurement it ever posted, the radios it overheard, its own event log and its settings overrides. The measurements are deleted from disk, not archived, so nothing brings them back and any room this sensor was paired to loses that stretch of its history. The sensor itself stays claimed and keeps reporting from now on. PitCanary keeps this for the account owner or an admin signed in to the dashboard: an API key is refused it whatever its access, so through this server the answer says where to do it rather than doing it. It takes two calls: the first changes nothing and returns what will happen with a confirm token, and the second, with the same arguments and that token, does it. To move hardware to another room, unpair through manage_device is the change that keeps the history. 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": "reset_device_data"
  }
}

Input Schema

NameRequiredDescriptionDefault
confirmNoLeave this out on the first call. That call changes nothing and returns a sentence saying what will happen plus a confirm token. Pass the token here, unchanged and with the same other arguments, only after the person has said yes to that sentence.
device_idYesThe device id, as returned by list_devices.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/5.0
Behavior5/5

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

Annotations declare destructiveHint=true, but the description goes well beyond that: the data is deleted from disk and not archived, the deletion is irreversible, paired rooms lose that stretch of history, the sensor stays claimed, and a two-phase confirm-token handshake governs execution. That is exactly the context a destructive tool needs and none of it is derivable from the annotation flags.

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?

Front-loaded with what gets destroyed, then consequences, then access rules, then the confirmation protocol — a sensible order for a destructive operation. It runs six dense sentences and repeats the two-call mechanic already present in the schema, which is the only real trimming opportunity.

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?

With no output schema, the description still tells the agent what the first call returns (a sentence describing what will happen plus a confirm token) and what the second does. Irreversibility, collateral effect on room history, and the authentication requirement are all covered for a destructive two-phase tool.

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 100% and the confirm parameter's own description already spells out the leave-it-out-then-pass-the-token protocol, so the description's restatement of the two-call flow adds little new meaning. device_id semantics ('as returned by list_devices') are left entirely to the schema. Adequate, but mostly duplicative of structured data.

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?

A specific verb ('Erases') with the exact resource enumerated: every measurement, overheard radios, event log, settings overrides. The clause 'the sensor itself stays claimed and keeps reporting' distinguishes it from factory_reset_device, and the deletion is scoped to one sensor, so the agent can separate it from location/room-level deletes in the sibling list.

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 an explicit alternative and the condition selecting it: 'To move hardware to another room, unpair through manage_device is the change that keeps the history.' It also states the hard access constraint (dashboard session for owner/admin, API key refused through this server) so the agent knows when the call cannot succeed at all.

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