Skip to main content
Glama

Calculate Schengen stay

calculate_stay

Evaluate Schengen 90/180 rolling-window usage for a list of trips. Returns days used in the window, days remaining, must-leave-by date, latest safe entry dates and a per-trip verdict.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
todayNoReference day; defaults to the current UTC date
tripsYesTrips with inclusive entry/exit dates, format YYYY-MM-DD

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.6/5.0
Behavior4/5

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

No annotations are provided, so the description carries the full behavioral burden. It discloses the returned outputs in detail, including days used, days remaining, must-leave-by date, latest safe entry dates, and per-trip verdict, though it does not explicitly state error handling or confirm that no side effects occur.

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?

The description is two tightly written sentences with no wasted wording. It front-loads the core purpose and then lists the concrete outputs efficiently.

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 usefully enumerates the return values, and the input schema fully covers parameters. It is nearly complete, though minor caveats such as date inclusivity or error behavior are left implicit.

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 the schema fully documents the date format, required trips array, and optional today default. The description adds only high-level context about the rolling window and does not supplement parameter semantics beyond the schema.

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 states a specific verb and resource: evaluate Schengen 90/180 rolling-window usage for a list of trips. It clearly distinguishes itself from a single-trip checker by specifying 'a list of trips,' though it does not explicitly name the sibling tools.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description gives no explicit guidance on when to use this tool versus check_trip or explain_90_180_rule. It implies usage for multiple trips, but does not state alternatives, exclusions, or prerequisites.

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