Skip to main content
Glama

Get suggested prices

get_pricing_suggestions
Read-only

Suggested nightly prices for the free nights of a short-term property (the Pricing tab's Suggestions): keeps the owner's own price level and spreads it by the area's demand (INE occupancy of the town or region), the long weekends of the regions its guests come from (BOE holidays weighted by where visitors travel from), the weekend, a gap between bookings shorter than the minimum stay (suggests that minimum) and nights free within a few days — never below the minimum price (pricingConfig.minPrice, else worked out from the home's running costs over nights let). Returns ranges of nights with current price, suggested price, optional minStay and reasons, plus the price level, the minimum price, the comparable homes' median and range when known, and notes. Nothing is changed: to apply one, set a date override with the suggested price (and minStay) — keep the owner in charge and apply only what they accept. Owner or editor. Needs a short-term property with pricing on (pricingConfig.enabled, see update_property) and a plan with the pricing feature.

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": {
      "propertyId": "<propertyId>"
    },
    "name": "get_pricing_suggestions"
  }
}

Input Schema

NameRequiredDescriptionDefault
allNoAlso return every free night, unchanged ones included (default: only the suggested changes)
daysNoHow many days ahead, from today (default 180)
propertyIdYesThe property ID

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior5/5

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

Beyond readOnlyHint=true and openWorldHint=false, it declares the guarantee that nothing is changed and explains the human-in-the-loop apply path. It discloses the minimum-price floor logic (pricingConfig.minPrice, else derived from running costs over nights let) and the exact response shape: ranges of nights with current/suggested price, optional minStay, reasons, price level, minimum, comparable median and range, and notes. For a read-only tool this is unusually complete behavioral context.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The purpose is front-loaded, but the body is a very long run-on sentence loaded with parentheticals and clause stacking, making it harder to scan than it needs to be. The content is mostly valuable, yet the density of detail about INE occupancy and BOE holiday weighting costs more reading effort than it repays for tool selection.

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

Completeness5/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 carries the return-value burden and does so fully — enumerating the fields of each night range and the accompanying price level, minimum, comparable median/range and notes. Auth, eligibility and the safe apply path are all covered, so nothing an agent needs to call this correctly is absent.

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 `all`, `days` and `propertyId` are already documented in the schema. The description adds no extra meaning about the `days` window or the `all` flag beyond implying that only suggested changes are returned. Baseline 3 is appropriate when the schema carries parameter documentation.

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: 'Suggested nightly prices for the free nights of a short-term property (the Pricing tab's Suggestions)', which distinguishes it from a plain price read such as get_pricing. The underlying computation is spelled out (area demand, holidays, weekends, min-stay gaps), so the agent knows exactly what comes back. It stops short of naming a sibling tool to contrast with, which keeps it at 4 rather than 5.

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?

Prerequisites are explicit: owner or editor role, a short-term property with pricingConfig.enabled (pointing to update_property), and a plan with the pricing feature. It also routes the write case away from this tool: 'to apply one, set a date override with the suggested price (and minStay)'. What's missing is an explicit statement of when to prefer this over reading current prices via get_pricing.

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.