Skip to main content
Glama

Get the price

get_price
Read-onlyIdempotent

The exact price of a stay for these dates and guests, from the host's own rates: each night, any length-of-stay discount, the cleaning fee and the total in EUR.

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": {
      "stay_id": "<stay_id>",
      "check_in": "<check_in>",
      "check_out": "<check_out>"
    },
    "name": "get_price"
  }
}

Input Schema

NameRequiredDescriptionDefault
guestsNoNumber of guests.
stay_idYesThe stay's id (stay_id from search_stays).
check_inYesCheck-in date, YYYY-MM-DD.
check_outYesCheck-out date, YYYY-MM-DD (the morning the guest leaves).

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare this read-only, idempotent, non-destructive, and closed-world, so the safety profile is covered. The description adds meaningful context beyond that: the price comes from the host's own rates, the breakdown includes per-night amounts, any length-of-stay discount, and the cleaning fee, and the total is in EUR. It does not discuss caching, rate freshness, or failure cases, but the added return-content detail is solid.

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?

A single front-loaded sentence that states the resource, the inputs, and the return components with no filler. Every clause earns its place.

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?

An output schema exists, so the description need not explain return values, and annotations cover the safety profile. The description is complete enough for a read-only pricing tool, though the thin when-to-use guidance leaves a minor gap relative to the sibling set.

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 description coverage is 100%, so guests, stay_id, check_in, and check_out are already fully documented with formats and constraints. The description only restates 'these dates and guests' and adds no syntax, defaults, or edge-case meaning beyond the schema, 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 states a specific verb and resource — returning the exact price of a stay for given dates and guests — and enumerates what the price consists of (nightly rate, length-of-stay discount, cleaning fee, EUR total). That makes it unmistakable against siblings like get_stay, check_availability, or get_booking_link.

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 schema notes stay_id comes from search_stays, and the description says 'for these dates and guests,' which hints at a post-search pricing check. It never explicitly says when to call this versus check_availability or get_booking_link, nor whether availability must be confirmed first.

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