Skip to main content
Glama

PitCanary

Archive a building

archive_location
DestructiveIdempotent

Puts a building away without losing anything. It leaves the lists and the comparisons, and its rooms, their settings and every measurement they made are kept exactly as they are. Prefer this to delete_location whenever a site is closed, sold or simply out of use, because deleting cannot be undone and this can, from the Locations page of the dashboard. 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": {
      "location_id": "<location_id>"
    },
    "name": "archive_location"
  }
}

Input Schema

NameRequiredDescriptionDefault
location_idYesThe building id.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior4/5

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

Beyond the annotations (destructiveHint=true, idempotentHint=true, readOnlyHint=false) it states what is removed from view (lists, comparisons), what is preserved (rooms, settings, measurements), that the action is reversible, and that a PitCanary account is required. That is substantial added context. It stops short of describing side effects an agent would care about, such as whether alerts fire or integrations pause while archived, and the phrase "without losing anything" sits in mild tension with destructiveHint=true, though archiving does still mutate active state.

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?

Three sentences, front-loaded with the effect and then the sibling comparison, and each carries information. Some phrasing is conversational ("puts a building away," "simply out of use") where a tighter wording would scan faster, but nothing is redundant.

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 one-parameter mutation with no output schema and full annotation coverage, this covers purpose, reversibility, retained data, the dashboard route, and the account prerequisite. The remaining gaps – required role/permissions and any warning about cutting off data collection for archived rooms – are modest rather than fatal.

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?

There is a single parameter, location_id, and schema description coverage is 100%, so the schema already supplies its meaning. The description adds nothing about the identifier (format, source, or how to obtain it), leaving this at the baseline for fully documented schemas.

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?

"Puts a building away without losing anything" is a metaphorical but decodable verb, immediately clarified by the concrete effect: it leaves the lists and comparisons while keeping rooms, settings and measurements. It also names delete_location as the contrasting sibling, which makes the tool distinguishable. The only deduction is that the opening phrase is less precise than a plain statement such as "archives a location."

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?

It explicitly names the alternative (delete_location) and the exact conditions that select this tool: a site closed, sold, or out of use. It supplies the deciding rationale – deleting cannot be undone and this can – so an agent has both the trigger and the tie-breaker without inference.

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