Skip to main content
Glama
mews-mcp-server
by tjg37

mews_get_rate_pricing

Retrieve actual per-night pricing for a rate plan across a date range, broken down by room category, to quote guest rates or verify availability pricing.

Instructions

Get actual pricing for a rate plan over a date range. Returns per-night prices by room category. Useful for quoting rates to guests or checking availability pricing.

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": {
      "rateId": "<rateId>",
      "startUtc": "<startUtc>",
      "endUtc": "<endUtc>"
    },
    "name": "mews_get_rate_pricing"
  }
}

Input Schema

NameRequiredDescriptionDefault
endUtcYesEnd date for pricing (ISO 8601 UTC)
rateIdYesThe rate plan UUID to get pricing for
startUtcYesStart date for pricing (ISO 8601 UTC)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.4/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the full behavioral burden for a read operation. It discloses the return granularity (per-night, by room category) but says nothing about currency, tax inclusion, behavior when the rate plan or date range has no pricing, or required permissions — all material for a quoting workflow.

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 short sentences, front-loaded with what the tool does and what it returns. The closing sentence is largely filler relative to the first two and slightly mischaracterizes the tool, but overall there is little waste.

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?

For a 3-required-parameter tool with no output schema and no annotations, the description should at least describe the returned price structure. It gives one line on that (per-night prices by room category) but leaves currency, tax handling, and empty-result behavior unspecified.

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 rateId, startUtc and endUtc are already documented as UUID and ISO 8601 UTC respectively. The description only restates 'over a date range' without adding meaning such as whether the range is inclusive of endUtc or how time zones are handled — baseline 3 is appropriate.

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 with scope: 'Get actual pricing for a rate plan over a date range,' and adds the shape of the result ('per-night prices by room category'). It implicitly separates itself from the sibling mews_get_rates (rate plan definitions vs. actual prices), but never names that distinction explicitly, so it falls 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 Guidelines3/5

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

Offers use-case orientation ('quoting rates to guests or checking availability pricing') but no routing rule — nothing says when to use mews_get_rates instead, or what to do if pricing is unavailable. The phrase 'checking availability pricing' also muddies the purpose, since availability is not what this tool returns.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.