Skip to main content
Glama

TravelDeals

Find a tracked hotel

find_hotels
Read-onlyIdempotent

Finds hotels TravelDeals tracks by name, optionally within one city, and returns each one’s page and slugs for hotel_prices. No prices. A hotel that is not found has no TravelDeals price history.

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": {
      "query": "<query>"
    },
    "name": "find_hotels"
  }
}

Input Schema

NameRequiredDescriptionDefault
cityNoOptional city slug or name.
queryYesThe hotel’s name, or part of it.

Output Schema

NameRequiredDescriptionDefault
foundYes
unitsYes
hotelsYes
dataPublishedAtYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and openWorldHint=false, so safety is covered structurally. The description adds real context beyond that: it explicitly excludes prices from the response and defines the not-found case ('no TravelDeals price history'), which prevents the agent from treating an empty result as a data error.

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?

Three short sentences, front-loaded with what the tool does, followed by the exclusion ('No prices.') and the negative-result note. The fragment-style 'No prices.' is deliberate emphasis rather than filler, and nothing is redundant.

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?

For a two-parameter read-only lookup this covers everything an agent needs: what it matches on, how to narrow it, what comes back, and what an empty result means. An output schema exists, so the brief mention of page and slugs is sufficient rather than required detail.

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 both the query string and the optional city parameter are already documented, and this is the baseline 3 case. The description confirms that matching is by hotel name and that city is an optional narrowing filter, but adds no syntax or format detail the schema does not already carry.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and resource ('Finds hotels TravelDeals tracks'), the lookup key ('by name'), the optional scope ('within one city'), and the return payload ('each one's page and slugs for hotel_prices'). An agent can distinguish this resolver lookup from hotel_prices without opening either schema.

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?

Implies the intended workflow by saying the result supplies 'slugs for hotel_prices', which tells the agent this is the step before price lookup, and notes the city filter can narrow results. It stops short of explicit when-not-to-use guidance or naming a sibling to prefer in a given situation.

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