Skip to main content
Glama

Pan Urlop

show_comparison

Idempotent

Przygotuj link do ekranu porównania wszystkich ofert z sesji. Nie zmienia ekranu — wklej href. Liczby 2–5 ulubionych w czacie to compare_offers.

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

Input Schema

NameRequiredDescriptionDefault
tripIdNoIdentyfikator wycieczki zwrócony przez poprzednie wywołanie. Pomiń tylko przy pierwszym wywołaniu w rozmowie.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior4/5

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

Beyond the annotations, it discloses two non-obvious traits: the tool yields a URL rather than a rendered screen, and it does not change the UI, so the agent should paste the href. This is useful context the structured fields don't carry. One caveat: readOnlyHint=false sits in mild tension with 'Nie zmienia ekranu', though the description is speaking about the screen rather than session state.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Three short sentences, each carrying distinct information: what it builds, how to present the output, and which sibling to use instead. Zero redundancy and the core purpose is front-loaded.

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?

With no output schema, the description compensates by explaining that the returned value is a link to paste rather than a screen change. For a single-parameter, non-destructive tool this is nearly complete; it doesn't mention prerequisites such as an existing session with offers, which would be a useful addition.

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?

Only one parameter and schema description coverage is 100%, so the schema already explains tripId including when to omit it on the first call. The description adds nothing about tripId semantics, which is acceptable given the schema does the work — baseline 3.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and resource: 'Przygotuj link do ekranu porównania wszystkich ofert z sesji' — build a link to the comparison view of all session offers. It also explicitly separates itself from compare_offers, so an agent can distinguish the two without inspecting schemas.

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 clear routing guidance: use this for the full session comparison, and route '2–5 favorites in chat' to compare_offers. It also instructs how to present the result ('wklej href') rather than navigating. It stops short of stating other exclusions, e.g. what to do when the session has no offers or when only a single offer exists.

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