Compare a room to similar rooms elsewhere
compare_to_peersReturns 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
| Name | Required | Description | Default |
|---|---|---|---|
| to | No | Last day of the window, YYYY-MM-DD, inclusive. Defaults to today. | |
| from | No | First day of the window, YYYY-MM-DD, inclusive. Defaults to thirty days back. | |
| room_id | Yes | The room id, as returned by list_rooms. |