Skip to main content
Glama

PitCanary

Compare a room to similar rooms elsewhere

compare_to_peers
Read-onlyIdempotent

Returns where one room sits among anonymous rooms of the same type at other accounts: the tenth, twenty-fifth, fiftieth, seventy-fifth and ninetieth percentile for each metric, the distribution, and this room's own position. Answers whether a reading is unusual or ordinary for this kind of room. A window shorter than seven days is widened back from its end to seven, and the answer's from and to name the window it was worked out over. 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": "compare_to_peers"
  }
}

Input Schema

NameRequiredDescriptionDefault
toNoLast day of the window, YYYY-MM-DD, inclusive. Defaults to today.
fromNoFirst day of the window, YYYY-MM-DD, inclusive. Defaults to thirty days back.
room_idYesThe room id, as returned by list_rooms.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior5/5

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

Adds substantial context beyond the annotations: peer data is anonymous and drawn from other accounts, the comparison window is silently widened to seven days when shorter (with the effective window reported back in from/to), and a PitCanary account is required. These are behavioral facts an agent could not recover from readOnly/idempotent hints alone.

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?

Three tight sentences, front-loaded with what is returned and followed by the interpretive purpose and the window/auth caveats. Dense but nearly every clause carries information; the account requirement could be folded in more gracefully, but nothing is padding.

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 does the work of describing the return payload — percentiles, distribution, and the room's own position — plus the effective window. The only minor gap is the exact shape/format of the distribution and position values, but the semantics are sufficient to call and interpret the tool.

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 goes further by explaining the minimum seven-day window and that the returned from/to reflect the widened window rather than the requested one. That materially changes how an agent should interpret and set the from/to parameters.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and resource — returns percentile positions and distribution for one room against anonymous peer rooms of the same type at other accounts — which is concrete enough to separate it from a same-account comparison. It stops short of explicitly naming or contrasting with a sibling such as compare_rooms, so the differentiation is inferred rather than stated.

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 a clear use case: 'Answers whether a reading is unusual or ordinary for this kind of room.' That establishes the decision context well, but there is no explicit when-not guidance or named alternative for cases where an in-account comparison is wanted.

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