Skip to main content
Glama

Get pricing set-up

get_pricing
Read-only

The pricing set-up of a short-term property, as on its Pricing tab: the rules (pricingConfig: base nightly price, weekend days and adjustment, default min/max stay, length-of-stay discounts), the seasons and the manual overrides (price, block, min stay, closed to arrival/departure, note — each a date range). Use before changing seasons, overrides or rules. Owner, editor or viewer; needs 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"
  }
}

Input Schema

NameRequiredDescriptionDefault
toNoOnly overrides touching this range: last date, YYYY-MM-DD
fromNoOnly overrides touching this range: first date, YYYY-MM-DD
propertyIdYesThe property ID

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true and openWorldHint=false, so the safety profile is covered; the description adds what annotations cannot — role requirements ('Owner, editor or viewer') and a feature gate ('needs the pricing feature'). With no output schema, spelling out the returned structure (pricingConfig fields, seasons, override types) is genuinely useful.

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?

Three dense sentences that front-load the resource definition, then usage, then access requirements. The parenthetical enumerations are long but each field listed carries information an agent would otherwise have to discover; no filler.

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 read-only getter with no output schema, it covers what the response contains, when to call it, and who may call it — the main gaps an agent would hit. Only the semantics of the optional from/to narrowing are unaddressed, and the schema handles those.

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 propertyId, from and to are already documented, including that from/to bound only overrides. The description adds nothing about the from/to filtering behavior, leaving the schema to carry all parameter meaning — baseline 3.

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 and resource ('The pricing set-up of a short-term property') and enumerates the returned components (rules/pricingConfig, seasons, manual overrides), which effectively separates it from calendar- or quote-oriented siblings. It does not explicitly name or contrast a sibling, which keeps it 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 Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

'Use before changing seasons, overrides or rules' gives a clear read-before-write context. It does not state when *not* to use it or name an alternative (e.g. the calendar or suggestions tools), so exclusions are 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.