Skip to main content
Glama

Pan Urlop

get_hotel_scoring

Read-onlyIdempotent

Pobierz scoring hoteli Pan Urlop albo stub, gdy brak adresu. Nic nie zapisuje. Wołaj, gdy masz id hotelu z karty albo ulubionych. Nie wymyślaj ocen.

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": {
      "hotelIds": "<hotelIds>"
    },
    "name": "get_hotel_scoring"
  }
}

Input Schema

NameRequiredDescriptionDefault
tripIdNoIdentyfikator wycieczki zwrócony przez poprzednie wywołanie. Pomiń tylko przy pierwszym wywołaniu w rozmowie.
contextNo
hotelIdsYesId hoteli / ofert z inventory

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint and destructiveHint=false, so "Nic nie zapisuje" largely restates what the agent already knows. The genuinely additive piece is the stub-return behavior when no address exists, which tells the agent to expect a placeholder rather than a real score. However, it does not say how the stub is distinguished from a real score, which matters because there is no output schema.

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, front-loaded sentences with the core verb first and the constraint last; nothing is buried. Slightly penalized because "Nic nie zapisuje" duplicates annotation data and the telegraphic style makes relations between sentences implicit.

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?

Reasonable for a batch lookup tool (max 10 hotel ids) whose read-only safety profile is annotation-covered. But with no output schema, the description should explain what a "stub" looks like versus a real scoring, and it leaves the tripId/context parameters unexplained — an agent cannot fully anticipate 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 description coverage is 67%, so the baseline is 3. The description adds sourcing context for hotelIds ("z karty albo ulubionych"), but says nothing about tripId or the nested context object (amenities/destination), leaving the remaining third of parameters undocumented in both places.

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?

States a specific verb+resource: "Pobierz scoring hoteli Pan Urlop" (fetch Pan Urlop hotel scoring), plus a named fallback behavior ("stub, gdy brak adresu"). It does not name a sibling tool to distinguish itself from, but the resource and the anti-fabrication rule ("Nie wymyślaj ocen") make the intent unambiguous.

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?

Gives an explicit call precondition: "Wołaj, gdy masz id hotelu z karty albo ulubionych" — invoke when you have a hotel id from the card or favorites. It implies the negative case (no hotel id → don't call) but never names an alternative tool for when scores are unavailable, so it stops short of full when/when-not routing.

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