Skip to main content
Glama

get_data_hotel_search

Read-onlyIdempotent

Search hotels worldwide using a semantic text query, then return matching property details and a relevance score.

Instructions

Search for a hotel using a semantic text query. Returns the best-matching hotel with basic details and a relevance score.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
queryYesThe semantic search query (e.g. 'Burj Jumeirah Dubai').

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?

Annotations already establish read-only, open-world, idempotent, and non-destructive behavior. The description adds the return shape—best match with basic details and a relevance score—but does not disclose auth needs, rate limits, or error behavior beyond what annotations cover.

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?

Two tight sentences, front-loaded with the tool's purpose and followed by a brief return summary. There is no wasted text.

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 simple one-parameter read-only search tool with rich annotations and no output schema, the description adequately covers invocation and return expectations. The main omission is routing clarity against similar sibling tools.

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?

There is one parameter with 100% schema description coverage, and the schema already explains it with an example. The description restates that it is a semantic text query but adds no syntax, format, or constraint details beyond the structured field.

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 gives a clear verb and resource: search for a hotel using a semantic text query, returning the best-matching hotel. It is specific, but it does not distinguish itself from similar siblings such as get_data_hotels_semantic_search or get_data_hotel_ask.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

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

It implies usage when a semantic text query is available, but provides no explicit when-to-use guidance, no exclusions, and no comparison to alternatives. With many sibling hotel lookup tools, this leaves routing ambiguous.

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

Deploy Server

Other Tools