Skip to main content
Glama

PitCanary

Set what counts as good in a room

set_comfort_ranges
DestructiveIdempotent

Sets the range each measurement should stay inside for one room. These decide the room score, what counts as within range in the trends, and what the standards view compares against. Only the metrics you pass are changed. Read get_room_context first: it returns the current values beside the ones the product would have chosen. 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>",
      "ranges": "<ranges>"
    },
    "name": "set_comfort_ranges"
  }
}

Input Schema

NameRequiredDescriptionDefault
rangesYesOne entry per metric to change. Only the metrics named here can be set, and only the ones you pass are changed. Each entry takes min and max in that metric's own unit, and optionally enabled.
room_idYesThe room id, as returned by list_rooms.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=false, destructiveHint=true, idempotentHint=true and openWorldHint=false, so the mutation profile is known. The description adds real context beyond that: which subsystems the values feed (score, trends, standards view), that unpassed metrics are untouched, and the PitCanary account requirement. It does not say what the prior values are replaced by or what the call returns, which matters for a destructive-flagged write.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

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

Four short sentences, each carrying distinct information: what it sets, what the values affect, the partial-update rule, the prerequisite read, and the auth requirement. The purpose is front-loaded and there is no filler or repetition.

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 two-parameter tool with a nested metric map and no output schema, the description covers purpose, side effects on score/trends/standards, partial-update behavior, prerequisite tool, and auth. The remaining gap is the result of the call (whether updated ranges are echoed back) and how min/max conflicts or out-of-unit values are handled.

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 description coverage is 100%: units for every metric, the meaning of enabled=false, and the "only the metrics you pass are changed" rule are all already in the nested schema. The description restates the partial-update semantics and points at get_room_context for baseline values, but adds no unit, format, or boundary guidance beyond the schema, so the baseline of 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?

Names a specific verb and resource ("Sets the range each measurement should stay inside for one room") and immediately states the downstream consequences: room score, trend in-range determination, and standards-view comparison. That scope is unambiguous against the set_* siblings, which all target different configuration domains (active hours, alert rules, nap blocks).

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?

Gives an explicit prerequisite workflow: read get_room_context first because it returns current values beside the product defaults, which is exactly the information needed to choose sensible ranges. It also states the partial-update rule ("Only the metrics you pass are changed"). It stops short of saying when not to use this tool or what to do if a room has no defaults.

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