Skip to main content
Glama

Pan Urlop

get_favorite_hotels

Read-onlyIdempotent

Lista ulubionych hoteli (max 5) z ceną, dopasowaniem ABSA i tematami już zbudowanych summary. Użyj gdy klient chce analizować zapisane oferty.

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

Input Schema

NameRequiredDescriptionDefault
tripIdNoIdentyfikator wycieczki zwrócony przez poprzednie wywołanie. Pomiń tylko przy pierwszym wywołaniu w rozmowie.
offerIdsNoOpcjonalnie podzbiór ulubionych. Puste = wszystkie zapisane hotele.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and openWorldHint=false, so the safety profile is covered. The description adds useful behavior beyond that: the 5-item cap and the fact that each row carries price, ABSA match, and pre-built summary themes. It still does not say what happens when no favorites exist or what 'ABSA' concretely means.

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?

Two sentences, no filler: the first is a front-loaded statement of scope and payload, the second is the usage trigger. Slight density in the Polish noun stack ('tematami już zbudowanych summary') costs a bit of readability but nothing is wasted.

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 does its job by enumerating the returned fields (price, ABSA match, summary themes) and the result cap. It falls short on edge cases — empty favorites list, and the relationship to show_favorites — which matters for a read tool an agent may call repeatedly.

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% and both parameters are documented in the schema, including the tripId lifecycle note and the empty-equals-all semantics of offerIds. The description only restates the max-5 limit that already appears as maxItems=5, adding essentially no parameter meaning of its own.

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 gives a concrete verb and resource ('Lista ulubionych hoteli') and specifies the payload ('z ceną, dopasowaniem ABSA i tematami już zbudowanych summary', capped at max 5), so an agent knows exactly what it retrieves. It does not, however, distinguish itself from the near-named sibling show_favorites, leaving ambiguity about which of the two to call.

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?

'Użyj gdy klient chce analizować zapisane oferty' supplies a usable trigger condition for invocation. There are no exclusions or named alternatives, and with show_favorites present in the sibling set, the lack of routing guidance is a real gap.

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