Skip to main content
Glama

Zestli

Search Supply

search_supply
Read-onlyIdempotent

Use this when the user wants to find something bookable in a place: a tour, activity, stay, meal or ride, or anything else they describe. Results are the listings Zestli can book there; which kinds exist differs by place, and an empty result with its message is the answer, not a fault. warming=true means more listings are still being gathered, or the user's photo is still being matched, so search again shortly (with the same photo) instead of reporting none. A message with warming=false can say that gathering ended with incomplete coverage; keep that warning with the results. Where a result is for reference only and cannot be booked, message says so. Unpriced listings say price_requires_availability_check. Returns supply records without a preference score (pass a result's supply_id to create_quote), with cursor pagination. A 'query' in the user's own words and language orders results by query_relevance, highest first: word or meaning matches, then other listings, each group by query_relevance. total_count counts the matches. query_match names the retrieval basis (literal or semantic), not a verification. message says which results match and which are shown for comparison; it is written for the user, so you can relay it. query_image_url (a public https photo link the user shared), or query_image (a photo the user uploaded), also returns the listings whose own photos look most like it, with query_match looks_like_photo (see query_match before suggesting one). When relevance is null it was not checked; judge each against the request. Results with next_available_date match but are not available on the requested dates; offer their next date instead. If the user names an offering but no place, omit destination and pass the name as query to look it up everywhere (up to 25, no paging, dates and filters not applied); never guess places, and never offer a different listing because none has that name. Not for checking a known item's availability (use check_availability) or for pricing (use create_quote). Pass the user's currency as currency whenever you know it, signed in or not.

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": {
      "request": "<request>"
    },
    "name": "search_supply"
  }
}

Input Schema

NameRequiredDescriptionDefault
requestYesInput for searching travel supply.
query_imageNoA photo the user uploaded, used like request.query_image_url (needs request.destination and request.category).

Output Schema

NameRequiredDescriptionDefault
messageNo
resultsNo
warmingNo
search_idYes
error_codeNo
is_sandboxNo
next_cursorNo
total_countNo
origin_optionsNo
searched_originNo
destination_optionsNo
searched_destinationNo
unavailable_for_datesNo
accessibility_stated_noNo
accessibility_not_statedNo
accessibility_in_room_not_statedNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.7/5.0
Behavior5/5

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

Annotations already declare readOnly/openWorld/idempotent/non-destructive, but the description adds substantial behavior beyond them: warming=true means re-search shortly, empty results with a message are the answer not a fault, reference-only listings, unpriced listings flagged price_requires_availability_check, cursor pagination, and the 25-result no-paging limit for name lookups. Nothing here contradicts the annotations.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Front-loaded with the routing sentence, which is good, but the remainder is a single dense block covering ranking, image matching, pagination, and flags with visible repetition (query_match and warming are explained in more than one place). Length is defensible given tool complexity, but bullet structure would earn more of it.

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?

Covers the full operational surface of a complex search: ranking semantics, image similarity, date-mismatch handling via next_available_date, name-only lookup behavior, and result-message relaying. With an output schema present, return-value detail need not be repeated here, so nothing essential is missing.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so the baseline is 3, but the description adds operational meaning: pass the user's currency whenever known regardless of sign-in, omit destination and use query for name-only lookups, and how query_image_url/query_image alter ranking. Some of the text restates schema-level detail (warming, query_match), so it is not a full 5.

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?

Opens with a concrete verb and resource framed around user intent ('find something bookable in a place: a tour, activity, stay, meal or ride'), and explicitly distinguishes itself from check_availability and create_quote. An agent can route to this tool 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 Guidelines5/5

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

Gives explicit when-to-use, when-not-to-use ('Not for checking a known item's availability... or for pricing'), names both alternatives, and covers edge routing ('If the user names an offering but no place, omit destination and pass the name as query'). It even instructs on currency passing when known; no inference is left.

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