Skip to main content
Glama

Calculate Schengen days

calculate_schengen_days
Read-onlyIdempotent

Use this when someone wants to know how many days they have used or have left in the Schengen Area under the 90/180 rule, or whether a planned trip would overstay. Pass every stay in any Schengen country with entry and exit dates. Do not use it for countries outside the Schengen Area, or for holders of an EU/EEA/Swiss passport, to whom the rule does not apply.

Input Schema

NameRequiredDescriptionDefault
as_ofNoDate to assess on, YYYY-MM-DD. Defaults to today.
staysYesEach stay in the Schengen Area. Past and planned stays can be mixed.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, non-destructive and non-open-world, so the safety profile is covered. The description adds domain framing — the 90/180 rule itself and the applicability limits — which helps an agent predict the computation, though it says nothing about return format or error behavior.

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 tight sentences: purpose first, input requirement second, exclusions last. No filler and no repetition of schema detail beyond what reinforces correct use.

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 read-only calculator with full schema coverage and no output schema, the description covers purpose, applicability, and input expectations. It implies the return values ('how many days used or left') but does not describe the response structure, which is the only minor gap.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100%, so the baseline is 3. The description goes slightly beyond it by stressing 'Pass every stay' and that past and planned stays can be mixed, which signals that incomplete input produces a wrong count — a meaningful semantic emphasis.

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 — computing Schengen days used/remaining under the 90/180 rule, plus an overstay check for planned trips. The scope is precise enough that an agent can tell it apart from a generic visa-requirement check 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 Guidelines5/5

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

Explicitly states when to use it (days used/left, planned-trip overstay) and when not to (non-Schengen countries, EU/EEA/Swiss passport holders, to whom the rule does not apply). The exclusions are concrete and actionable, not implied.

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.