Skip to main content
Glama

ferien_next_holiday

Find the next German school holiday on or after a date in a specific federal state, returning an ongoing holiday if the date falls inside one.

Instructions

The next school holiday on or after a date in one German state. from_date: YYYY-MM-DD (default: today). state: 2-letter code (required). If the date falls inside a holiday, that ongoing holiday is returned (ongoing: true). Looks into the next year if the current year has no holiday left.

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

Input Schema

NameRequiredDescriptionDefault
stateNo
from_dateNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.9/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does well: it discloses the default date, the state requirement, ongoing-vs-next precedence (with the ongoing: true flag), and the cross-year fallback when the current year is exhausted. Only error behavior for an invalid state code is left uncovered.

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?

Four short lines, front-loaded with the core purpose, then parameters, then edge-case precedence and year rollover. No filler and nothing repeated from the title or schema.

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 two-parameter lookup with an output schema (so return values need not be explained), the description is close to sufficient: purpose, formats, defaults, and edge-case resolution are all present. The only gap is the required/nullable inconsistency and the absence of any invalid-state handling note.

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 0%, so the description must compensate, and it does: from_date is given an explicit YYYY-MM-DD format plus a 'today' default, and state is given a 2-letter code form. One wrinkle: it calls state 'required' while the schema shows it as nullable with a default and zero required parameters, a mismatch that could mislead slightly.

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?

States a specific verb and resource: return the next school holiday on or after a given date, scoped to one German state. It does not name or distinguish itself from siblings like ferien_is_holiday or ferien_holidays_between, so the agent must infer the boundary from the phrase 'next holiday' alone.

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?

Usage context is implied: the default of today, the requirement to pass a state, and the note that an ongoing holiday wins over the next one. There is no explicit when-to-use-this-versus-a-sibling routing, so an agent choosing between this and is_holiday or holidays_between gets only indirect signals.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.