Skip to main content
Glama

Pan Urlop

get_hotel_dossier

Read-onlyIdempotent

Dossier hotelu z sesji: fakty oferty, taksonomia ABSA i już zbudowane podsumowania opinii. Podaj xcode z sessionHotels. Nie zgaduj recenzji i nie składaj offerId. Dla ulubionych, które wypadły z searcha, też działa.

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_hotel_dossier"
  }
}

Input Schema

NameRequiredDescriptionDefault
xcodeNoxcode hotelu z sessionHotels albo presentedHotels.
tripIdNoIdentyfikator wycieczki zwrócony przez poprzednie wywołanie. Pomiń tylko przy pierwszym wywołaniu w rozmowie.
offerIdNoDokładne ID oferty już w sesji. Nie składaj go z pamięci.

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 readOnly, idempotent, non-destructive, closed-world, so the safety profile is covered. The description adds value beyond them: the data is session-scoped, it still resolves hotels that dropped out of search, and it carries explicit guardrails ("Nie zgaduj recenzji", "nie składaj offerId"), which tells the agent not to fabricate identifiers or content.

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?

Four short sentences, front-loaded with what the dossier contains, then the input rule, then the guardrails. No filler; the only mild inefficiency is that the guardrail about offerId duplicates the schema text.

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?

For a 3-parameter read-only tool with full schema coverage and rich annotations, the description covers purpose, content of the response, input provenance, and edge-case availability. It does not mention failure behavior for an unknown xcode or the size/shape of the returned dossier, but with no output schema and strong annotations these are modest gaps.

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 100% and the schema already documents xcode as coming from sessionHotels/presentedHotels and offerId as an exact in-session ID. The description mostly restates those constraints (xcode source, don't compose offerId) and says nothing about tripId semantics, so it adds little beyond the schema — the baseline 3 for full coverage applies.

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 names a specific resource (hotel dossier from the session) and enumerates its contents: offer facts, ABSA taxonomy, and pre-built review summaries. That is enough for an agent to separate it from siblings like get_guest_opinion_summary or get_offer_details, though it never names an alternative explicitly.

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 states where the key input comes from ("Podaj xcode z sessionHotels") and gives one concrete use case ("Dla ulubionych, które wypadły z searcha, też działa"), which is genuinely useful context. However, there is no explicit when-not-to-use rule and no named sibling to route to for the adjacent cases (scoring, opinions, offer details), so guidance stays 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