Skip to main content
Glama

Search accommodation

search_accommodations
Read-onlyIdempotent

Searches accommodation offers on noclegowo.pl (Poland) by location, dates, party (adults, children, pets), amenities, budget and free-text wishes. Returns offers with a summary line, guest rating, availability and the total stay price (when dates and party are given) and the offer link. Amenities are treated as preferences (offers that have them are ranked first); required_amenities are hard requirements; exclude_offer_ids leaves out offers already seen. Every request carries the full set of criteria. With dates, when fewer than 3 offers are available in the requested town, offers from nearby localities are included; they carry a nearby field with the distance and the requested place.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
petsNoTrue when the guests travel with a pet (dog, cat, …).
limitNoHow many offers to return (default 6, max 10).
adultsNoNumber of adults.
date_toNoDeparture (check-out) date, YYYY-MM-DD.
childrenNoNumber of children.
languageNoLanguage of the user's conversation ('pl' or 'en'). Determines the language of texts and the offer link locale.
locationYesWhere to stay: city, region, mountain range, lake, landmark or area in Poland, e.g. "Zakopane", "Mazury", "nad morzem", "near Morskie Oko".
amenitiesNoAmenities the user wishes for, in their words, e.g. ["śniadanie", "sauna", "parking"]. A preference rather than a filter: offers that have them are ranked first and the others follow with a note.
date_fromNoArrival (check-in) date, YYYY-MM-DD.
budget_maxNoMaximum budget in PLN.
budget_minNoMinimum budget in PLN.
budget_scopeNoWhether the budget is per night (default) or for the whole stay.
expectationsNoOther wishes in free text: type of place, style, atmosphere, distance to the beach or slopes, quiet area, etc. Personal data is not needed.
children_agesNoAges of the children, when known.
exclude_offer_idsNoOffer ids to leave out of the results (for example offers already seen), so that further results are new ones.
required_amenitiesNoAmenities that are hard requirements ("musi być", "koniecznie", "tylko z", "required"): offers without them are dropped.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
offersYes
statusYes
languageYes
questionsYesWhen status=needs_more_info: the information missing for a search.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior5/5

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

Annotations already cover the safety profile (readOnly, idempotent, non-destructive), and the description adds substantial behavior beyond that: amenities are ranking preferences while required_amenities are hard filters, exclude_offer_ids suppresses already-seen offers, and price is only returned when dates and party are supplied. It also discloses the non-obvious fallback: with dates, if fewer than 3 offers exist in the town, nearby localities are added and flagged via a `nearby` field with distance.

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?

The paragraph is front-loaded with what the tool searches and its filter axes, followed by return content, ranking semantics, pagination, and the nearby fallback. It is dense but each sentence earns its place, though the single block runs long and could be broken into clearer clauses for a 16-parameter tool.

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 an output schema present, the description need not detail return shape, yet it still summarizes offer fields (summary line, rating, availability, total price, link). Combined with full parameter coverage and annotations covering safety, it discloses the ranking, pagination, and nearby-fallback behaviors an agent needs to call and interpret results 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 description coverage is 100%, so the schema already documents all 16 parameters, and the description largely repeats these definitions (amenities as preference, required_amenities as hard requirement, exclude_offer_ids for seen offers). The only added nuance is that total stay price depends on dates and party, which is a return-value rather than parameter detail. Baseline 3 applies since the schema carries the semantic load.

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 opens with a specific verb and resource ('Searches accommodation offers on noclegowo.pl') and enumerates the filter dimensions (location, dates, party, amenities, budget, free text), which is far beyond a tautology. It clearly separates this discovery search from check_availability and get_offer_details by scope. However, it does not acknowledge the near-identically named sibling 'searchAccommodations', so tool selection between those two is left to inference.

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?

It gives clear operating context: 'Every request carries the full set of criteria' implies stateless full-context invocation, and the exclude_offer_ids note explains the pagination loop for retrieving further results. It stops short of naming alternatives (check_availability, get_offer_details) or stating when NOT to use this search, so it is clear context without exclusions.

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