Skip to main content
Glama

Price quote

get_quote
Read-onlyIdempotent

An itemised price for one accommodation, stay and party, including chosen extras and any discount or voucher code. Use it to show the guest the exact total and the amount payable now before starting the booking.

Input Schema

NameRequiredDescriptionDefault
dogsNoNumber of dogs.
adultsYesNumber of adults.
extrasNoOptional extras from get_campsite (electric hook-up, firewood, late checkout...).
infantsNoNumber of infants, only at campsites whose age_policy has infants_under_age. Infants are never charged.
campsiteYesThe campsite slug, as returned by search_campsites.
check_inYesArrival date, YYYY-MM-DD.
childrenNoNumber of children. Which ages count as a child varies by campsite: see age_policy on get_campsite (default: everyone under 18).
check_outYesDeparture date, YYYY-MM-DD. Must be after check_in.
voucher_codeNoA gift voucher code, if the campsite sells them.
discount_codeNoA promotional code the guest has, if the campsite accepts them.
accommodation_idYesaccommodation_id from check_availability or get_campsite.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • changedInput schema / properties / children / description
      Previous value: -"Number of children (under 18)."New value: +"Number of children. Which ages count as a child varies by campsite: see age_policy on get_campsite (default: everyone under 18)."
    • addedInput schema / properties / infants
      Added value: +{
      +  "default": 0,
      +  "description": "Number of infants, only at campsites whose age_policy has infants_under_age. Infants are never charged.",
      +  "maximum": 20,
      +  "minimum": 0,
      +  "type": "integer"
      +}
  2. First observed

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint and openWorldHint, so safety is covered. The description adds useful behavioral context beyond that: a quote is non-committal and precedes booking, and it discloses that discounts and vouchers are factored in and that an 'amount payable now' (deposit-style) figure is returned.

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?

Two sentences, zero filler, with the resource definition front-loaded and the usage guidance immediately after. Every clause carries information.

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?

No output schema exists, so the description must signal what comes back; it does ('itemised price', 'exact total and the amount payable now'). Combined with rich schema documentation and annotations, an agent has what it needs, though a note on whether the quote expires or holds inventory would close the last gap.

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%, with every parameter and the nested extras fields documented in the schema itself, including conditional rules (infants only where age_policy allows, child age varies by campsite). The description only restates extras/discount/voucher at a high level, adding no syntax or format beyond the schema, so baseline 3 applies.

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?

States a specific verb+resource ('An itemised price for one accommodation, stay and party') and scopes exactly what inputs are priced (extras, discount/voucher code). It implicitly distinguishes itself from start_booking by framing it as the pre-booking step, though it never names check_availability or get_campsite directly.

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?

Gives clear context: 'Use it to show the guest the exact total and the amount payable now before starting the booking.' This states when to reach for it and where it sits in the sequence. It does not explicitly exclude alternatives (e.g. that it does not reserve inventory), leaving some 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