Skip to main content
Glama

Pan Urlop

lookup_operator_terms

Read-onlyIdempotent

Przeczytaj warunki uczestnictwa konkretnego biura (rezygnacja, zmiana rezerwacji, płatności, ubezpieczenie). Podaj operator jako kod albo nazwę. Bez operatora tool bierze biuro z aktywnej oferty. Odpowiadaj tylko z excerpts.

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": {
      "query": "<query>"
    },
    "name": "lookup_operator_terms"
  }
}

Input Schema

NameRequiredDescriptionDefault
queryYesPytanie o warunki uczestnictwa, np. rezygnacja na 14 dni przed wylotem
tripIdNoIdentyfikator wycieczki zwrócony przez poprzednie wywołanie. Pomiń tylko przy pierwszym wywołaniu w rozmowie.
operatorNoKod albo nazwa biura, np. ITAK albo Itaka. Puste = biuro z aktywnej oferty.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already cover the safety profile (readOnlyHint, idempotentHint, destructiveHint=false, openWorldHint=false), so the description carries a lighter burden. It adds two genuinely behavioral facts beyond the annotations: the operator defaults to the active offer when omitted, and answers must be grounded strictly in excerpts ('Odpowiadaj tylko z excerpts'). It says nothing about excerpt format, result size, or what happens when terms for an operator are not found.

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 purpose first, then parameter behavior, then the grounding constraint; nothing is padded. The telegraphic register is compact but costs a little readability compared with full sentences.

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, closed-world lookup with no output schema and full schema coverage, the description covers purpose, topic scope, operator fallback, and the answer-grounding rule. The main gap is the tripId conversation-chaining convention, which is left entirely to the schema despite being easy to get wrong.

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%, so the schema already defines all three parameters, making 3 the baseline. The description adds only a restatement of the operator parameter (code or name, empty = active offer) and does not explain or reinforce the tripId chaining rule ('Pomiń tylko przy pierwszym wywołaniu'), which is the least obvious parameter behavior.

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 and resource ('Przeczytaj warunki uczestnictwa konkretnego biura') and enumerates the covered topics (rezygnacja, zmiana rezerwacji, płatności, ubezpieczenie), so an agent can tell this reads operator terms and conditions rather than offers or hotel data. It does not explicitly contrast itself with the sibling lookup_knowledge, so it stops short of full sibling differentiation.

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?

Usage is implied by the operator-scoping statement ('Bez operatora tool bierze biuro z aktywnej oferty'), which tells the agent it can be called without an operator. However, there is no explicit when-to-use/when-not guidance and no named alternative (e.g. lookup_knowledge or resolve_operator) for cases where the operator is unknown or the question is not about participation terms.

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