Skip to main content
Glama

PitCanary

Rename a building

update_location
DestructiveIdempotent

Changes a building's name, its address, or both. Ids come from list_locations. The address is one free-text line and the product reads a city and country out of it, so write it the way post would. Only what you pass is changed, and nothing about the rooms inside moves: this renames the building, it does not re-file anything. 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": "update_location"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameNoA new name.
addressNoA new address.
location_idYesThe building id, as returned by list_locations.

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?

Annotations already flag the mutating, destructive, idempotent profile, and the description adds real context on top: partial-update semantics ("Only what you pass is changed"), the address-parsing behavior (a city and country are read out of one free-text line, "write it the way post would"), no cascade to rooms, and an account requirement. Those are exactly the gotchas an agent cannot infer from the annotations.

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?

Four short sentences, front-loaded with the verb and resource, then the id source, then the address caveat, then the scope boundary. The "re-file anything" aside is slightly redundant with the preceding clause, but it is doing disambiguation work rather than padding.

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 three-parameter mutation with full schema coverage, complete annotations, and no output schema, the description covers purpose, provenance, side effects, and the address formatting trap. The remaining gap is the outcome of a call that supplies only location_id, plus any failure behavior, which nothing else in the definition supplies.

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 100% schema coverage the baseline is 3; the description earns a point by explaining how the address string is interpreted downstream and by tying location_id back to a concrete provenance. It does not restate the length limits or note that omitting name and address makes the call a no-op.

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?

"Changes a building's name, its address, or both" names a specific verb and resource and immediately bounds the scope. It also explicitly rules out the adjacent operation ("nothing about the rooms inside moves"), so an agent can separate it from update_room and the other update_* siblings without opening a schema.

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 states the precondition for the required id ("Ids come from list_locations") and clarifies the negative case (this does not re-file rooms, so use a room tool for that). What it lacks is a direct when-to-use vs. when-not-to-use pointer to a specific sibling such as archive_location or delete_location.

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