Skip to main content
Glama

Bridge Days & Vacation Optimizer API - maximize days off from public holidays (200+ countries)

bridge_days_planner
Read-onlyIdempotent

Given a country (and optional state, Bundesland or UK nation), year (2026-2028) and vacation-day budget (1-30), computes the mathematically optimal non-overlapping set of bridge days (Brueckentage / ponts / annual leave hacks) that maximizes total consecutive days off. Supports English, German and French labels. Deterministic offline rules (python-holidays, MIT), 0 AI, nothing stored, under 50 ms. Free: 5 calls/day per IP. Paid: Radar API key (from €15/mo at https://radarbg.com/pricing#starter via X-API-Key) or $0.001/call via x402 at https://radarbg.com/x402/bridge-days-planner.

Example tool call

This call uses example arguments supplied in the tool’s input schema.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "lang": "de",
      "year": 2027,
      "budget": 5,
      "region": "BY",
      "country": "DE"
    },
    "name": "bridge_days_planner"
  }
}

Input Schema

NameRequiredDescriptionDefault
langNoOutput language for labels: en, de, fr or localen
yearNoYear: 2026, 2027 or 2028
budgetNoNumber of vacation days to spend (1-30)
regionNoOptional state/region/nation code (e.g. BY, NW, ENG, SCT, NIR, 57, CA)
countryNoISO 3166 2-letter code or English country name (e.g. DE, GB, FR, US)DE

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.3/5.0
Behavior5/5

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

Annotations already declare readOnly/idempotent/openWorld, and the description adds substantially more: deterministic offline rules (python-holidays, MIT), no AI, nothing stored, sub-50 ms latency, a 5 calls/day free IP limit, and the two paid auth paths (X-API-Key or x402 at $0.001/call). These are exactly the operational facts an agent needs before calling.

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?

The functional sentence is front-loaded and dense with useful specifics. The second half is pricing/auth boilerplate with two long URLs; it earns part of its place (agents must know the key requirement) but is wordier than needed.

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 computation with no output schema, the description covers inputs, semantics, performance and access cost. The one notable gap is the shape of the returned result (a schedule with consecutive-day counts and labels is implied but never described).

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 every parameter is documented there. The description restates the same ranges (year 2026-2028, budget 1-30) and only lightly enriches region by noting it may be a Bundesland or UK nation — marginal value over the schema.

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 precise verb and output: it 'computes the mathematically optimal non-overlapping set of bridge days ... that maximizes total consecutive days off.' That distinguishes it from plain holiday-listing siblings (public_holidays, business_days) by the optimization objective alone, so an agent can tell what it uniquely produces.

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 applicability context: one country plus optional state/Bundesland/UK nation, a year in 2026-2028, and a budget of 1-30 days. It does not name any alternative tool or state when not to use it, so the routing guidance is implied rather than explicit.

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