Skip to main content
Glama

LockTrip Hotels

Search Locations

search_location
Read-only

Searches LockTrip destinations (cities, regions, landmarks, or specific hotels) by free-text query. Returns locations[], each with id, name, country, type (CITY/REGION/HOTEL/AIRPORT/POI), and fullName. Pass a chosen location's id to hotel_search as its regionId to search hotels in that area. No authentication required. This is the first step of the booking flow.

Input Schema

NameRequiredDescriptionDefault
queryYesSearch query (city name, region, or hotel name)
languageNoLanguage code (default: en)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.5/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true and destructiveHint=false, so safety is covered. The description adds genuinely new behavioral facts: no authentication required and the shape of the returned `locations[]` array with its field list. It omits things like result limits or pagination, keeping it below a 5.

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?

Four tight sentences, front-loaded with the purpose, then the return shape, then the downstream hand-off. Every clause carries operational information and there is no filler.

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?

With no output schema, the description correctly compensates by naming the return array and its fields; it also covers auth and the next-step linkage. For a two-parameter search tool this is fully sufficient to invoke correctly.

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 `query` and `language` are already documented in the schema. The description reinforces that `query` is free-text spanning cities, regions, landmarks, and hotels, but adds no format or language-code detail beyond what the schema supplies, so the baseline 3 applies.

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?

The description gives a specific verb and resource ("Searches LockTrip destinations") and enumerates the entity types covered (cities, regions, landmarks, hotels), plus the exact return fields. This makes it immediately distinguishable from sibling hotel_search, which it explicitly names as the downstream step.

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

Usage Guidelines5/5

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

It states the position in the workflow ("first step of the booking flow") and the concrete hand-off rule: pass a chosen location's `id` to `hotel_search` as `regionId`. That is explicit when-to-use plus the alternative it feeds, leaving little to infer.

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