Skip to main content
Glama

Check rate

check_rate
Read-onlyIdempotent

Re-check price and availability of an option right before booking.

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": {
      "rate_key": "<rate_key>"
    },
    "name": "check_rate"
  }
}

Input Schema

NameRequiredDescriptionDefault
rate_keyYesrate_key of an option returned by search_hotels (valid 30 minutes).

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "additionalProperties": true,
      +  "title": "_checkDictOutput",
      +  "type": "object"
      +}
  2. Changed1 schema field changed
    • addedInput schema / properties / rate_key / description
      Added value: +"rate_key of an option returned by search_hotels (valid 30 minutes)."
  3. First observed

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, destructiveHint=false and openWorldHint=false, so the safety profile is fully covered by structured data. The description adds the placement of the call in the booking workflow, but says nothing about what happens if the rate expired or the price changed between search and re-check, which is the key behavioral risk for this tool.

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?

One short sentence with the action and the timing constraint front-loaded; there is no filler, hedging, or repetition. Nothing in it is redundant with the title.

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?

This is a simple one-parameter read tool with full annotations and an output schema, so return-value explanation and safety disclosure are correctly omitted. The only meaningful gap is the lack of guidance on interpreting or acting on a changed price or an expired rate_key.

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% and the single rate_key parameter already documents its origin (search_hotels) and 30-minute validity, so the description has nothing to compensate for. It adds no additional meaning about the key or its format, which is the expected baseline when the schema does all the work.

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 uses a specific verb ('Re-check') plus concrete resources ('price and availability of an option'), so an agent knows exactly what the tool returns. It implicitly separates itself from search_hotels by framing this as a verification step 'right before booking', though it never names a sibling explicitly.

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?

'Right before booking' gives real timing guidance that implies when this tool should be used versus an initial search. However, there is no explicit statement of when not to use it, no mention that the rate_key expires, and no named alternative for the initial lookup.

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