Skip to main content
Glama

Pan Urlop

get_guest_opinion_summary

Idempotent

Podsumowanie opinii o jednym temacie (grupa albo aspekt taksonomii). Bierze cache albo generuje jeden temat i zapisuje go w cache Pan Urlop. Kolejne wywołanie czyta ten sam rekord. Nie wołaj wszystkich grup naraz.

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>",
      "kind": "<kind>",
      "code": "<code>"
    },
    "name": "get_guest_opinion_summary"
  }
}

Input Schema

NameRequiredDescriptionDefault
codeYesID grupy (np. jedzenie) albo kod aspektu (np. FOOD_QUALITY)
kindYesgroup = grupa taksonomii, aspect = pojedynczy aspekt
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.6/5.0
Behavior4/5

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

Annotations declare readOnlyHint=false with idempotentHint=true, and the description explains why: the first call generates and writes the summary into the Pan Urlop cache, and later calls read the same record. That is genuine added context beyond the annotations. It stops short of describing latency of generation or what happens if the offerId changes.

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 the purpose and followed by cache behavior and the negative constraint; nothing is padded. Slight terseness and the mixed register ('Pan Urlop') cost it a point but not readability.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a 4-parameter, caching (non-read-only) tool with no output schema, the description covers the caching lifecycle and the one-topic constraint but never hints at what the returned summary looks like or how large it is. An agent must open the schema for the tripId flow and has no guidance on the response shape.

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 75%, so the schema already documents kind, code and tripId including the enum meaning and the 'skip only on first call' rule. The description echoes the group-vs-aspect framing and adds the one-topic-per-call rule but contributes no new syntax or format detail. Baseline 3 is appropriate.

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 verb+resource ('Podsumowanie opinii o jednym temacie') and immediately scopes it to a taxonomy group or aspect, so the agent knows exactly what is produced. It does not need sibling differentiation because no other listed tool produces opinion summaries, but it also does not explicitly state that, leaving a small gap.

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?

There is one real usage constraint ('Nie wołaj wszystkich grup naraz'), which tells the agent to call per-topic rather than in bulk. Beyond that, when to reach for this tool versus the dossier/offer tools is only implied, and the first-call tripId rule lives in the schema rather than the description.

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