Skip to main content
Glama

Pan Urlop

compare_offers

Idempotent

Ustrukturyzowane porównanie 2–5 ulubionych: cena, plaża, transfer, oceny, dopasowanie ABSA i aspekty taksonomii.

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

Input Schema

NameRequiredDescriptionDefault
tripIdNoIdentyfikator wycieczki zwrócony przez poprzednie wywołanie. Pomiń tylko przy pierwszym wywołaniu w rozmowie.
offerIdsNo2–5 ofert do porównania. Puste = wszystkie ulubione.

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 declare readOnlyHint=false, idempotentHint=true and destructiveHint=false, so the safety profile is covered. The description adds the scope of comparison (which aspects are scored) but says nothing about what the comparison produces or whether a comparison is persisted, which matters given readOnlyHint=false.

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?

One compact sentence with no wasted words, and the compared dimensions are front-loaded. It is a noun phrase rather than a full clause, which makes it slightly less crisp than it could be.

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 two-parameter comparison tool with no output schema and full schema coverage, the definition supplies enough: the input scope and the dimensions being compared. The main gap is routing against the similar 'show_comparison' sibling.

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%, so both parameters are already documented in the schema, including 'Puste = wszystkie ulubione' and the 2–5 bound. The description restates the 2–5 range but adds no new meaning about tripId or offerIds semantics, so the baseline 3 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 verb+resource combination ('structured comparison of 2–5 favorites') and enumerates the dimensions compared (price, beach, transfer, ratings, ABSA matching, taxonomy aspects). It does not differentiate itself from the sibling 'show_comparison', so it falls short of a 5.

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 only implied: the tool operates on favorites and takes 2–5 offers. There is no explicit statement of when to call this versus 'show_comparison' or 'show_favorites', and no exclusion criteria are given.

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