Skip to main content
Glama

PitCanary

What happened across a building's rooms

get_location_timeline
Read-onlyIdempotent

Returns one day of a building told across its rooms at once: the day in a sentence, the building's score (the average room score of the rooms in use) and the room holding it back, what held all day (which rooms were used, the temperature gap between rooms, fresh air per room, the best room), and the moments two or more rooms shared, such as CO₂ climbing in several rooms together, loud in more than one room at once, a grey day, no room in use, every sensor seeing the same change in air pressure, or several sensors restarting together. Per room it adds when it was in use, its score, its own headline events and what was unusual for it, and per hour which rooms were in use with each one's headline. A pattern shared by several rooms is the building or the weather; one room's is that room. Rooms that store things, such as a wine cellar, are counted by visits rather than use. Takes no date range, one day at a time; for one room's day in full detail, get_timeline. 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": "get_location_timeline"
  }
}

Input Schema

NameRequiredDescriptionDefault
dateNoThe day to read, YYYY-MM-DD, at most 29 days back. Defaults to today.
location_idYesThe building id, as returned by list_locations.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive and closed-world, so the safety profile is covered. The description adds real behavioral context beyond that: single-day granularity only, an account requirement, the aggregation rule for storage rooms like wine cellars (counted by visits, not use), and the interpretation rule that a pattern shared across rooms is building/weather while a single-room pattern belongs to that room. It doesn't cover error cases or payload size, which keeps it off 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.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The content is largely earned because there is no output schema, so the return-shape enumeration is doing necessary work. However, the first sentence is an extremely long run-on that fuses purpose, scoring rules, and an exhaustive event catalog, and the routing hint to get_timeline plus the account requirement are buried at the very end rather than front-loaded.

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?

With no output schema, the description carries the burden of describing return values and it does so thoroughly — per-room, per-hour, and building-wide sections plus the semantics of shared patterns. Given only two required-ish parameters and rich annotations, an agent has nearly everything needed; only failure modes (invalid location_id, out-of-window date) are unaddressed.

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%: date is documented with format, a 29-day lookback limit and a default of today, and location_id is tied to list_locations. The description's only addition is 'one day at a time, no date range', which clarifies that date is a single day rather than a window — a marginal but real reinforcement of what the schema already says.

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 opens with a specific verb and scope: 'Returns one day of a building told across its rooms at once', then enumerates the concrete payload (day summary, building score, limiting room, all-day facts, cross-room shared moments, per-room and per-hour breakdowns). It explicitly separates itself from get_timeline ('for one room's day in full detail'), so an agent can pick between building-level and room-level views without opening either 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 gives a clear selection rule: use this for the building across rooms, use get_timeline for a single room's full detail, and it states the tool 'Takes no date range, one day at a time'. It also adds the prerequisite 'Requires a PitCanary account'. What's missing is guidance on other adjacent choices such as compare_rooms or get_room_analysis, but the primary alternative is named with its condition.

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