Skip to main content
Glama

Zestli

Get Supply Details

get_supply_details
Read-onlyIdempotent

Use this when the user wants to know more about one specific item from search_supply results (a supply_id): full description, ordered photos and video links, amenities, cancellation terms and price, and for direct operator offerings traveler_facts (inclusions, what to bring, languages, accessibility). Relay a not_stated fact as unknown, never as 'no' or 'none'. Pass check_in/check_out to price those dates and list scheduled departures (occurrences) in that window, and travelers (or stay_selection for direct operator rooms) for the party price and how it adds up (lines). A rental returns rental: its items with stock and fit, kits, durations with exact prices, opening hours, allowed pickup times and open dates. Use check_availability when you need the supplier to confirm the dates live, or to get an external hotel's room options: create_quote needs the option_reference it returns. Not for finding items (use search_supply). Pass the user's currency as currency whenever you know it, signed in or not. Media is paged with media.next_offset; supplied media is not independent visual verification.

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": "get_supply_details"
  }
}

Input Schema

NameRequiredDescriptionDefault
requestYesInput for getting full supply details.

Output Schema

NameRequiredDescriptionDefault
foundNo
detailsNo
messageNo
error_codeNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.8/5.0
Behavior5/5

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

Annotations already cover safety (readOnly, idempotent, non-destructive), and the description adds real behavioral context beyond them: how to relay a 'not_stated' fact (unknown, never 'no'/'none'), that media is paged via media.next_offset, that supplied media is not independent visual verification, and that currency should be passed whenever known regardless of sign-in. These are output-interpretation and calling conventions annotations cannot convey.

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 primary use case and scope constraint are front-loaded before the secondary mechanics, and every clause carries content. It is one long semicolon-chained paragraph, though, so the rental/occurrences/currency rules are harder to scan than a short bulleted block would be.

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?

For a read-only, deeply nested tool with an output schema, the description supplies everything an agent needs to call it correctly and interpret results: date-window semantics, party pricing, room selections, rental payload expectations, and media paging. Return-value shape is left to the output schema, which is appropriate.

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 meaning: check_in/check_out price those dates and drive the `occurrences` window, travelers drives party price plus `lines`, and stay_selection applies to direct operator rooms. It also adds an instruction the schema does not state ('Pass the user's currency as currency whenever you know it, signed in or not'), pushing it above baseline.

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?

It names a specific verb and resource ('know more about one specific item from search_supply results (a supply_id)') and enumerates what is returned: description, ordered photos and video links, amenities, cancellation terms, price, traveler_facts, and rental specifics. It also distinguishes itself from the retrieval sibling with 'Not for finding items (use search_supply).'

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?

The trigger condition is explicit ('Use this when the user wants to know more about one specific item'), and alternatives are named with their selecting conditions: search_supply for finding items, check_availability when the supplier must confirm dates live or to get external hotel room options because create_quote needs the returned option_reference. Nothing is left to inference about when this tool is the right call.

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