Skip to main content
Glama

Pan Urlop

show_offer

Idempotent

Ustawia aktywną ofertę w sesji i przygotowuje link do karty hotelu. Ekranu czatu nie przełącza — w odpowiedzi wklej href jako markdown.

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>"
    },
    "name": "show_offer"
  }
}

Input Schema

NameRequiredDescriptionDefault
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.7/5.0
Behavior4/5

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

Annotations declare a non-readonly but non-destructive, idempotent session write; the description adds real context beyond them — that it mutates session state (active offer) rather than the chat screen, and that the response carries an href the agent must render as markdown. With no output schema, that return-content hint is valuable, though error behavior and the full response shape remain undisclosed.

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?

Two compact sentences: purpose first, then the screen constraint and output-rendering instruction. Every clause carries information, though the final clause is a directive rather than a description of the tool.

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 simple two-parameter, no-output-schema tool, it covers the agent-critical points: session state mutation, no screen switch, and what to do with the returned href. It stops short of describing the rest of the response payload or failure cases for an invalid offerId.

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 50%: tripId is documented in the schema, offerId is not, and the description does not explain offerId at all. The added tripId lifecycle rule lives in the schema already, so the description contributes little parameter meaning beyond minimal baseline.

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?

Names a specific verb and resource: sets the active offer in the session ('Ustawia aktywną ofertę w sesji') and prepares a hotel-card link. It also distinguishes itself behaviorally from UI-switching siblings by stating 'Ekranu czatu nie przełącza', though it never names an alternative tool.

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?

Gives implied usage guidance: tripId is only omitted on the first call in a conversation, and the agent is told to paste the href as markdown in its reply. It offers no explicit when-to-use/when-not-to-use versus show_all_offers or get_offer_details, leaving the choice to inference.

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