Skip to main content
Glama

Room reviews and rating

ot_reviews
Read-onlyIdempotent

Retrieve a room's rating, star histogram, category scores, recommendation rate, and written reviews sorted newest first, including host replies; use room_id with optional pagination.

Instructions

Get a room's rating (0-5), star histogram, six category scores, percent of guests who recommend it, and written reviews, newest first (with host replies).

rating is null when not rated yet. ot_host has reviews across all of a host's rooms.

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": "ot_reviews"
  }
}

Input Schema

NameRequiredDescriptionDefault
pageNoZero-based page.
limitNoReviews per page.
room_idYesRoom id (code).
full_textNoReturn long texts in full instead of clipped.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv0.4.0
    • changedInput schema / properties / room_id / description
      Previous value: -"Room id (code), e.g. 2512254."New value: +"Room id (code)."
  2. Changed8 schema fields changedv0.2.0
    • addedInput schema / properties / full_text
      Added value: +{
      +  "default": false,
      +  "description": "Return long texts in full instead of clipped.",
      +  "type": "boolean"
      +}
    • changedInput schema / properties / limit / default
      Previous value: -10New value: +5
    • removedInput schema / properties / limit / title
      Removed value: -"Limit"
    • changedInput schema / properties / page / description
      Previous value: -"Zero-based page number."New value: +"Zero-based page."
    • removedInput schema / properties / page / title
      Removed value: -"Page"
    • removedInput schema / properties / room_id / title
      Removed value: -"Room Id"
    • removedInput schema / title
      Removed value: -"ot_reviewsArguments"
    • changedOutput schema / (root)
      Previous value: -{
      -  "additionalProperties": true,
      -  "title": "ot_reviewsDictOutput",
      -  "type": "object"
      -}New value: +null
  3. First observedv0.1.0

TDQS

A4.1/5.0
Behavior4/5

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

The annotations already declare readOnly, idempotent, and non-destructive behavior, and the description adds useful context beyond them: reviews are returned newest first, host replies are included, and rating is null when not yet rated. It does not disclose the default clipping of long review text, though that detail lives in the full_text parameter description.

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?

The most valuable information — what is returned — is front-loaded in one dense sentence, followed by the null-rating edge case and a sibling pointer. Every sentence earns its place, though the enumerated return list is slightly dense to scan.

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?

There is no output schema, so the description must carry the return-value burden, and it does by enumerating rating, histogram, category scores, recommend percentage, and review content. Combined with the fully described input schema, an agent has nearly everything needed, with only pagination totals and clipping defaults left implicit.

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 coverage is 100%, so page, limit, room_id, and full_text are all documented with bounds and defaults in the schema itself. The description mentions ordering ('newest first') but adds no meaning about room_id format or paging mechanics beyond what the schema provides, so the 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 opens with a specific verb and resource ('Get a room's rating') and then enumerates exactly what comes back: rating, star histogram, six category scores, recommend percentage, and written reviews with host replies. It also distinguishes itself from ot_host, which covers reviews across all of a host's rooms.

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?

It gives a clear usage signal by pointing to ot_host for host-wide reviews, so the agent knows which sibling to pick for that case. It also sets the expectation that rating may be null when unrated, but it states no exclusions for rooms with zero reviews or guidance on paging behavior.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.