Skip to main content
Glama

Price a stay

price_stay
Read-only

For one room type and dates: rooms free (the lowest night), each night's rate on a plan (the booking page's unless one is named), the restriction that refuses the stay if any, the tax by part and the total. Quotes only; nothing is booked or held. 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": {
      "room_type": "<room_type>",
      "check_in": "<check_in>",
      "check_out": "<check_out>"
    },
    "name": "price_stay"
  }
}

Input Schema

NameRequiredDescriptionDefault
planNoRate plan code, optional
check_inYesArrival YYYY-MM-DD
check_outYesDeparture YYYY-MM-DD
room_typeYesRoom type code or name

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.6/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, yet the description still adds real context: that the call is quote-only with no booking or hold, that the owner's sign-in is required, and that a refusing restriction may come back. That auth requirement and the refusal case are genuine additions beyond the annotation block.

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?

Everything sits in one dense sentence that front-loads the resource and then lists the returns, with no filler. The telegraphic phrasing ('rooms free (the lowest night)') costs some readability, keeping it below a 5.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/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 usefully enumerates the return payload (nightly rates, restriction, tax breakdown, total) and covers auth and side effects. It still leaves out what a refusal/restriction response looks like in practice, which matters for a pricing tool with no documented response shape.

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 documents all four parameters, making 3 the baseline. The one added nuance is that the plan parameter defaults to the booking page's plan 'unless one is named', which is real semantic value but limited to a single optional field.

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 enumerates exactly what is returned for one room type and dates (lowest free night, per-night plan rate, restriction, tax by part, total), which is more specific than the title alone. It does not name a sibling such as 'availability' to distinguish a pricing call from an inventory call, so sibling differentiation is only partially achieved.

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?

'Quotes only; nothing is booked or held' implicitly tells the agent not to expect a reservation side effect, and 'Needs the owner's sign-in' gives a prerequisite. However, it never states when to reach for this instead of availability or stay, so the alternative-selection guidance 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