Skip to main content
Glama

Pan Urlop

get_region_weather

Read-onlyIdempotent

Typowa pogoda regionu na daty wyjazdu: temperatury, morze, słońce, deszcz, wiatr i weather_season_phase. Puste regionId, countryId, from i to biorą się z sesji. Wołaj, gdy klient pyta o pogodę, sezon, morze albo kiedy jechać, oraz gdy region i termin są już znane przy wakacjach plażowych. Liczby i fazę bierz tylko stąd. weather_season_phase nie oznacza, że hotel jest otwarty.

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

Input Schema

NameRequiredDescriptionDefault
toNoKoniec wyjazdu YYYY-MM-DD. Puste = dates.to z sesji.
fromNoPoczątek wyjazdu YYYY-MM-DD. Puste = dates.from z sesji.
tripIdNoIdentyfikator wycieczki zwrócony przez poprzednie wywołanie. Pomiń tylko przy pierwszym wywołaniu w rozmowie.
regionIdNoID regionu, np. 3 albo 39_3. Puste = destination.resolved z sesji.
countryIdNoID kraju, np. 39. Puste = z sesji albo z id regionu.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint and destructiveHint=false, so the safety profile is covered. Beyond that the description supplies genuinely useful behaviour: empty regionId/countryId/from/to are filled from session state, the tool is the sole source of the figures and phase, and weather_season_phase must not be read as hotel-open status. It does not describe response shape or granularity (per-day vs aggregate), which is the remaining gap.

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?

Short, front-loaded sentences with no filler: purpose first, then defaults, then triggers, then two constraint one-liners. The session-default sentence mildly duplicates the schema, which is the only wasted space.

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 naming the returned weather dimensions, and for a 5-parameter read-only lookup it covers defaults, triggers and a key misuse caveat. Only the response structure (per-day breakdown, units) is left unspecified, which is acceptable for this complexity.

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%, and the tool has zero required parameters, so the schema already explains each field and the session fallbacks. The description's session-default sentence largely restates what the parameter descriptions say, and it never mentions tripId, so it adds no meaning beyond the schema. Baseline 3 applies.

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?

The opening sentence names the specific resource and scope ('Typowa pogoda regionu na daty wyjazdu') and enumerates exactly what comes back: temperatures, sea, sun, rain, wind and weather_season_phase. No sibling tool covers weather, so there is nothing to confuse it with, and an agent knows what it gets without opening the schema.

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?

It gives concrete trigger conditions: call when the client asks about weather, season, sea or when to travel, and when region and dates are already known for a beach holiday. It also states an authoritative-source rule ('Liczby i fazę bierz tylko stąd') that implies not substituting other tools for the numbers. No explicit when-not-to-call case is given, which keeps it short of a 5.

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