Skip to main content
Glama

PitCanary

Add a PitCanary to the account

claim_device

Adds a sensor to this account using the pairing code on the device. Claiming is what makes it yours; pairing it to a room is a separate step. Repeated wrong codes are slowed down, and an unknown code and a code that is already taken get the same answer. 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": {
      "pairing_code": "<pairing_code>"
    },
    "name": "claim_device"
  }
}

Input Schema

NameRequiredDescriptionDefault
pairing_codeYesThe code shown on the device or in its captive portal.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.5/5.0
Behavior5/5

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

Beyond the annotations, it discloses important behavior: repeated wrong codes are slowed down, unknown and already-taken codes receive the same answer, and a PitCanary account is required. These details materially help an agent understand error responses and operational constraints for a non-read-only action.

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 short and front-loaded with the core action, then adds the claiming-versus-pairing distinction and security behavior. Every sentence contributes useful information without repetition.

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 one-parameter mutation tool with annotations already covering safety hints, the description supplies the needed account prerequisite, error-behavior context, and separation from room pairing. No output schema exists, but the remaining gaps are minor and do not prevent correct invocation.

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?

The schema already fully documents the single pairing_code parameter, including where the code appears. The description mentions the pairing code on the device, but adds little format or usage detail beyond the schema, so the baseline of 3 is appropriate.

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?

The description gives a specific verb and resource: adding a sensor to the account using the pairing code on the device. It also explicitly distinguishes claiming from pairing to a room, which helps separate it from the sibling pair_device tool.

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?

The description clearly establishes that this tool is for claiming a device via its pairing code and that room pairing is a separate step. It also states the account prerequisite, but it does not explicitly name an alternative sibling tool or provide a full when-not-to-use rule.

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