Skip to main content
Glama

PitCanary

Create a building

create_location

Creates a building and returns its location_id, which every building-scoped tool takes. A building groups rooms: the comparison views, the day-fact rollups and a team member's scope are all built on it, so a room that belongs to no building is invisible to all three. It needs a name; an address is optional and is one free-text line that the product reads a city and country out of. Read list_locations first to check the building is not already there. 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": {
      "name": "<name>"
    },
    "name": "create_location"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameYesWhat the building is called.
addressNoIts address, as one line.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.3/5.0
Behavior4/5

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

With annotations already declaring readOnly=false, destructive=false, idempotent=false and openWorld=false, the description still contributes: it discloses the return value, the authentication requirement, the implicit non-idempotency motivating the list_locations pre-check, and the consequence of omission ('a room that belongs to no building is invisible to all three'). It does not say what happens on a duplicate name or whether creation is reversible, which keeps it from a 5.

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?

The lead sentence is front-loaded with the action and the returned identifier, and every following sentence carries new information rather than restating the schema. The middle sentence on comparison views, rollups and member scope is slightly dense for the payoff, but it is the sentence that makes the resource legible.

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?

There is no output schema, so the description correctly compensates by naming the returned field and its role. For a two-parameter creation tool this covers the essentials: required vs optional input, input parsing behavior, ordering against list_locations, and the auth prerequisite. Only duplicate-handling/error behavior is unaddressed.

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 already 100%, so the baseline is 3, but the description adds real meaning the schema does not: name is mandatory ('It needs a name'), address is optional, and crucially that the address is a single free-text line from which the product parses city and country — a behavioral detail with direct input-formatting consequences. Length limits (96/255) are left to the schema, which is fine.

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 ('Creates a building') and immediately states the concrete return value (location_id) and why it matters ('which every building-scoped tool takes'). It goes further by defining the domain object — a building groups rooms feeding comparison views, day-fact rollups and team-member scope — so the agent understands what it is creating, not just the name of the action.

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 gives an explicit precondition ordering: 'Read list_locations first to check the building is not already there,' which names the sibling to run beforehand and the dedupe reason. It also states an account prerequisite ('Requires a PitCanary account'). It stops short of explicit when-not-to-use guidance or a rule for what to do if a match is found, but the operational context is clear.

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