Skip to main content
Glama

Search villas for a stay

search_villas
Read-only

Find Dhananjaya villas and resorts in Bali that are available for the dates, with the lowest price for the stay and a booking link. Optionally filter by area (e.g. Ubud, Canggu, East Bali), maximum price per night, or breakfast included.

Input Schema

NameRequiredDescriptionDefault
areaNoArea or town, e.g. Ubud, Tegallalang, Sebatu, Canggu, Pererenan, East Bali
limitNo
adultsNoAdults per room
check_inYesArrival date, YYYY-MM-DD
breakfastNoOnly rates with breakfast included
check_outYesDeparture date, YYYY-MM-DD
max_price_per_nightNoMaximum price per night in IDR

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true and openWorldHint=false, so safety is covered. The description adds genuinely useful behavioral context beyond that: results carry the lowest price for the stay and a booking link, making the return content predictable. It does not mention the default/max result limit or what happens when nothing matches, which keeps it short of 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?

Two sentences, zero filler, with the core capability front-loaded before the optional refinements. Nothing needs trimming and nothing important is buried.

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?

With no output schema, the description correctly compensates by stating what a result contains (lowest price, booking link). Slight gaps remain around result count behavior (limit defaults to 8, max 20) and multi-guest semantics ('adults per room'), but for a read-only search over a closed catalog it is close to self-sufficient.

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 86%, so the schema already documents area, dates, breakfast, and max_price_per_night. The description restates the same optional filters with area examples but adds no meaning beyond the schema, and it says nothing about 'adults' or 'limit'. Baseline 3 is appropriate.

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 opens with a specific verb and resource ('Find Dhananjaya villas and resorts in Bali') and adds the outcome ('lowest price for the stay and a booking link'). It is clearly a catalog-wide search, which implicitly separates it from check_availability and villa_details, so an agent can route correctly without opening the schema.

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?

Usage context is implied by naming the optional filters (area, max price, breakfast), which signals this is the browsing/filtering entry point. However, no sibling is named and there is no explicit when-to-use-this vs check_availability or current_offers guidance, and no prerequisites or exclusion conditions are stated.

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