Skip to main content
Glama

Nightly rates

rates
Read-only

The nightly rate per room type and date (up to 31 days), priced exactly as the booking page prices a night, with the restrictions that close a date. Plan: the booking page's unless one is named. Needs the owner's sign-in.

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": {
      "from": "<from>",
      "to": "<to>"
    },
    "name": "rates"
  }
}

Input Schema

NameRequiredDescriptionDefault
toYesLast night YYYY-MM-DD
fromYesFirst night YYYY-MM-DD
planNoRate plan code, optional
room_typeNoRoom type code or name, optional

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.7/5.0
Behavior4/5

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

Annotations only declare a safe read, so the description carries real added weight: it discloses that results mirror booking-page pricing exactly, that date-closing restrictions are included, that the plan defaults to the booking page's unless overridden, and that the owner's sign-in is required. That auth requirement and the 31-day cap are behavioral facts an agent could not get from the annotations or 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?

It is short and leads with the resource being returned, which is the right ordering. The telegraphic fragments ('Plan: the booking page's unless one is named.') are slightly hard to parse and cost it a point, but there is no filler.

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 four-parameter read with no output schema and no nesting, the description covers the important ground: what is returned (rate plus closing restrictions), the pricing basis, the plan default, the 31-day limit, and the auth prerequisite. Only the absence of any sibling differentiation and of result shape guidance keeps it below 5.

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 the schema already explains all four parameters, establishing a baseline of 3. The one genuine addition is the default behavior of the optional 'plan' parameter (the booking page's plan unless one is named); 'from'/'to' and 'room_type' get no meaning beyond their schema descriptions.

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?

The description states a specific resource and scope: the nightly rate per room type and date, capped at 31 days, matching booking-page pricing. That is enough to know it is a price-lookup tool, though it never names or distinguishes itself from the closely related 'availability' sibling, leaving the boundary for the agent to infer.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Usage is only implied: the 31-day ceiling and the owner sign-in prerequisite tell the agent when the tool is usable, but there is no explicit when-to-use or when-not guidance and no named alternative for cases such as checking open inventory, which is what 'availability' appears to cover.

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