Skip to main content
Glama

Pan Urlop

show_hotel_photos

Idempotent

Zdjęcia hotelu, gdy klient pyta jak coś wygląda albo prosi o zdjęcia. Hotel z oferty w sesji (offerId, albo aktywna / ostatnio pokazana), łączenie po xCode. tags: zamknięta lista tego, o co pyta (basen → outdoor_pool, indoor_pool, kids_pool). Puste tags = ogólny wygląd. Wklej gallery 1:1. Nie opisuj zdjęć. found=false: nie ma takiego kadru albo nie wiadomo, który hotel. Pełna galeria na karcie to show_gallery.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "show_hotel_photos"
  }
}

Input Schema

NameRequiredDescriptionDefault
tagsNoTagi z zamkniętej listy tego, o co pyta klient. Basen → outdoor_pool, indoor_pool, kids_pool. Puste = ogólny wygląd hotelu.
xCodeNoxCode hotelu. Puste = xCode oferty z sesji.
tripIdNoIdentyfikator wycieczki zwrócony przez poprzednie wywołanie. Pomiń tylko przy pierwszym wywołaniu w rozmowie.
offerIdNoId oferty z sesji. Puste = aktywna albo ostatnio pokazana.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already carry the safety profile (idempotentHint=true, destructiveHint=false), yet the description still adds real behavior: the gallery must be pasted verbatim ("Wklej gallery 1:1"), photos must not be described, and found=false signals either no matching shot or an unresolvable hotel. Note the tension with readOnlyHint=false for what is plainly a display-only tool, though the description itself never asserts a write, so this is an annotation oddity rather than a stated contradiction.

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?

Front-loaded and waste-free; each clause adds a distinct rule (resolution, tags, output handling, failure state, alternative). The telegraphic fragment style ("łączenie po xCode") compresses so aggressively that a cold reader must infer the connection, which slightly undercuts clarity.

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 must explain returns, and it does: a gallery to embed as-is and found=false for the failure case. For a four-parameter, optional-argument read tool this is close to complete, though it never states how multiple tags combine (AND vs OR) or how many photos come back.

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 four parameters, including the empty-value fallbacks and the tripId skip-on-first-call rule. The description's tag mapping ("basen → outdoor_pool, indoor_pool, kids_pool", "Puste tags = ogólny wygląd") largely restates the schema, adding little beyond it, so the baseline holds.

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?

"Zdjęcia hotelu" names a concrete resource plus the retrieval action, and the definition immediately scopes it ("gdy klient pyta jak coś wygląda albo prosi o zdjęcia"). It also separates itself from the sibling show_gallery ("Pełna galeria na karcie to show_gallery"), so an agent can pick between them without opening a schema.

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?

The trigger is explicit (client asks what something looks like or asks for photos), and a concrete alternative is named for the full-gallery case. What is missing is an explicit when-NOT to call this tool, e.g. when the hotel is already identified or when the question is textual rather than visual.

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