Skip to main content
Glama

Rate plans

rate_plans
Read-only

Each rate plan: what it follows per room type (equal to BAR, % off, $ off, fixed), its rules (prepaid, cancellation, deposit, no-show nights, commission, dates it sells) and where it is sold. Viewing only. Needs the owner's sign-in.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "rate_plans"
  }
}

Input Schema

NameRequiredDescriptionDefault
planNoRate plan code, optional

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false and openWorldHint=false, so the safety profile is covered. The description goes beyond them by disclosing the authentication requirement ('owner's sign-in') and by enumerating the categories of data returned, giving the agent a clear picture of the payload's scope.

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?

Three short sentences, front-loaded with the payload contents, then the mode, then the auth prerequisite. The parenthetical enumerations are dense but each one earns its place by describing a returned field group.

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 zero-required-parameter read tool with full schema coverage and no output schema, the description carries the necessary burden: it explains what comes back, that it is read-only, and that owner credentials are needed. The only gap is whether passing 'plan' narrows to one plan or the tool always returns all plans.

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% and the single optional 'plan' parameter is already documented in the schema as 'Rate plan code, optional'. The description adds nothing about the parameter — it only says 'Each rate plan', which implies an unfiltered dump and doesn't clarify the relationship to the optional code filter.

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 spells out the resource precisely — rate plans with their per-room-type derivation (BAR, % off, $ off, fixed), their rules (prepaid, cancellation, deposit, no-show, commission, sell dates) and sales channels. It reads as a resource descriptor rather than a verb+'list' statement, and it never names the editing sibling (e.g. change_stay_rate) it is distinct from, so it stops short of a 5.

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?

'Viewing only' plus 'Needs the owner's sign-in' establishes the mode and an access prerequisite, which is real guidance. However, it never says when to reach for this versus rate-modifying tools or other hotel-configuration siblings, so the when-to-use routing is left to inference.

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