Skip to main content
Glama

PitCanary

What happened in a room, hour by hour

get_timeline
Read-onlyIdempotent

Returns what happened in one room on one day, hour by hour: how the room is right now and what is coming next, what held all day, the day's totals and room score, and per hour the events that mattered, each with its time, what it did to the room, how relevant it is and how sure the product is. In a room people use, the day opens with how it started and, once the day's use is over, closes with the day in short: the score and what held it back. Things that kept coming back are also told together (CO₂ over the line several times, quiet work interrupted again and again), as is the warmth lost after the heating went off; a wine cellar or an archive gets a care report of its temperature and humidity. A sleep room's quiet night comes as one block (kind night) from bedtime to getting up, with the night score, a short story told from its facts, the facts, the lows and highs and the hours inside it; a night in which somebody came or went, a window opened or an alarm went off stays hour by hour. Relevance follows the room's type, so talking that breaks focus in an office is hidden in a wine cellar, and a temperature swing that barely matters in a shop is important in an archive. This is the answer to what happened in a room today or on a given day, what distracted people or disturbed what is stored there, and when. An event whose reading fell outside everything the room has read at that clock hour over the last four weeks ends with "Unusual for this room:" and how far it was from the usual, and says "No one is notified." when no alert rule of the room watches that reading. Events describe what the sensors saw: never a number of people, and a window or a door only where the readings tell which it was. For the measurements behind them, get_history; for every room of a building on one day, get_location_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": {
      "room_id": "<room_id>"
    },
    "name": "get_timeline"
  }
}

Input Schema

NameRequiredDescriptionDefault
dateNoThe day to read, YYYY-MM-DD, at most 29 days back. Defaults to today.
room_idYesThe room id, as returned by list_rooms.
min_relevanceNoThe least relevant event to include. Defaults to info. relevant or important keeps a busy day short; hidden adds what this room's type does not care about, such as sound in a wine cellar.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.5/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 goes well beyond them, disclosing output structure (hourly events, day totals, aggregated recurring patterns, sleep-night 'kind night' blocks), the 'Unusual for this room:' and 'No one is notified.' suffixes, and the account requirement. It doesn't state pagination or size limits, which is why it falls short of 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 core answer is front-loaded in the first sentence, which is good. But the body is a long, clause-heavy run of semicolons covering edge cases (wine cellar care report, sleep-room blocks, unusual-reading suffixes) that could be tightened considerably without losing agent-relevant information.

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?

There is no output schema, so the description carries the full burden of describing the return shape, and it does: hourly events with time, effect, relevance and confidence; day-start/day-close framing; recurring-pattern aggregation; and the special-case block formats. Nothing an agent needs to interpret results is missing.

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 100%, so the baseline is 3, but the description adds conceptual meaning the schema doesn't carry: relevance is judged relative to room type, so sound is hidden in a wine cellar while it matters in an office, and 'hidden' expands rather than narrows results.

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 opening sentence gives a specific verb, resource and scope: 'Returns what happened in one room on one day, hour by hour.' It further distinguishes verb+resource from siblings by naming get_location_timeline (every room of a building) and get_history (the measurements behind events).

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 states the question the tool answers ('what happened in a room today or on a given day, what distracted people or disturbed what is stored there, and when') and explicitly routes away: 'For the measurements behind them, get_history; for every room of a building on one day, get_location_timeline.' The room-type relevance rule also tells the agent when results will be filtered.

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