Skip to main content
Glama

PitCanary

Get derived analysis

get_room_analysis
Read-onlyIdempotent

Returns what the measurements add up to for one room, as they stand now: how much fresh air it gets and how often it is aired, measured over the last ninety days; the carbon dioxide people breathed over today's occupied hours; when today started, peaked and ended; how many hours were speech, activity or silence; and whether the light met what a body clock needs. It takes no date range: for a window you choose, use get_trends or get_history. 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_room_analysis"
  }
}

Input Schema

NameRequiredDescriptionDefault
room_idYesThe room id, as returned by list_rooms.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnly, idempotent, non-destructive, closed-world), so the description's added value is temporal scoping: ventilation is measured over the last ninety days while CO2/day-shape metrics are scoped to today's occupied hours, and the call is a point-in-time snapshot rather than a range query. It also discloses an authentication prerequisite ('Requires a PitCanary account'), which annotations never express. Return-shape detail is limited, but the metric enumeration partly compensates since there is no output schema.

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?

Purpose is front-loaded in the opening clause, followed by metric detail, the date-range exclusion, and the auth note in a logical order. It is a long single sentence with a heavy metric enumeration, but nearly every clause carries information an agent needs; no filler or tautological restatement of the title.

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?

For a one-parameter, annotated, read-only tool with no output schema, the description covers the two things an agent would otherwise have to guess: what the response conceptually contains (the derived metrics) and the time semantics of each metric. Auth requirement and the absence of a date-range argument are also disclosed, leaving no material gap.

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?

The single parameter room_id is fully described in the schema (100% coverage, including the provenance hint 'as returned by list_rooms'), so the schema already does the work. The description adds no further meaning about the parameter itself. Baseline 3 applies.

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 names a concrete verb ('Returns') and a clearly bounded resource: a derived snapshot for a single room, enumerating exactly which derived metrics (ventilation rate, airing frequency, CO2 over occupied hours, day start/peak/end, speech/activity/silence hours, circadian light sufficiency). That metric list distinguishes it from raw-reading siblings like get_readings or get_history far better than the bare name would.

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 selection condition explicitly ('as they stand now') and a negative one ('It takes no date range'), then routes the agent to the correct alternatives for a chosen window: get_trends or get_history. The agent can decide between this tool and the obvious historical alternatives without opening schemas.

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