Skip to main content
Glama

Pan Urlop

show_gallery

Idempotent

Ustawia aktywną ofertę w sesji i przygotowuje link do galerii zdjęć hotelu. Ekranu czatu nie przełącza — w odpowiedzi wklej href jako markdown.

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": {
      "offerId": "<offerId>"
    },
    "name": "show_gallery"
  }
}

Input Schema

NameRequiredDescriptionDefault
tripIdNoIdentyfikator wycieczki zwrócony przez poprzednie wywołanie. Pomiń tylko przy pierwszym wywołaniu w rozmowie.
offerIdYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior4/5

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

The annotations mark it non-read-only but idempotent and non-destructive, and the description explains why: it mutates session state by setting the active offer. It adds useful behavior beyond the annotations by stating the screen is not changed and how the returned link should be surfaced, though it says nothing about errors or what happens when offerId is invalid.

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 tight sentences with the primary effect front-loaded, followed by the presentation instruction. Nothing is redundant or padded.

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 covers the return value (an href to the gallery) and how to render it, plus the session side effect. It is nearly complete for a two-parameter tool, with only the undocumented offerId left as a gap.

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 coverage is 50%: tripId is documented in the schema, but offerId — the required parameter — has no description anywhere. The description only implicitly identifies it as the offer to activate, so it fails to compensate for the uncovered required parameter.

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 states a specific verb and effect: it sets the active offer in the session and prepares a hotel photo-gallery link. That is concrete and distinguishes the tool from a plain offer-detail tool, though the dual side effect (session mutation plus link prep) sits slightly at odds with the name show_gallery and no sibling is named.

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?

It gives one concrete usage instruction — paste the href as markdown in the response — and clarifies that it does not switch the chat screen. It offers no explicit when-to-use vs. the gallery-adjacent siblings such as show_hotel_photos, so the selection context is only implied.

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