get_public_holidays

Get Swiss public holidays for a given year, optionally filtered by canton (e.g. ZH, BE, GE). Returns national and canton-specific holidays.

Server Mcp Swiss mcp-swiss
Category Read
Risk class Low
Parameters 00 required

What get_public_holidays does on Mcp Swiss

AI agents call get_public_holidays to retrieve information from Mcp Swiss without modifying anything — typically the context-gathering step in research, monitoring, and reporting workflows, before the agent takes action elsewhere.

Why get_public_holidays needs a policy

This tool performs a simple data retrieval operation querying a public holidays dataset. It has no side effects, does not modify data, execute code, or affect financial systems. The worst-case misuse scenario (an AI agent requesting incorrect holiday data) causes no material harm. Confidence is high because the function signature and description are clear and unambiguous.

From the tool's definition Tool description states 'Get Swiss public holidays for a given year, optionally filtered by canton' — this retrieves public holiday data with no modification, creation, deletion, or execution of external operations.

Questions about get_public_holidays

What does the get_public_holidays tool do? +

Get Swiss public holidays for a given year, optionally filtered by canton (e.g. ZH, BE, GE). Returns national and canton-specific holidays. It is categorised as a Read tool in the Mcp Swiss MCP Server, which means it retrieves data without modifying state.

How do I enforce a policy on get_public_holidays? +

Register the Mcp Swiss MCP server in PolicyLayer and add a rule for get_public_holidays: allow, deny, rate-limit, or require approval. Point your MCP client at the PolicyLayer proxy URL and the rule is enforced on every call, before it reaches Mcp Swiss. Nothing to install.

What risk level is get_public_holidays? +

get_public_holidays is a Read tool with low risk. Read-only tools are generally safe to allow by default.

Can I rate-limit get_public_holidays? +

Yes. Add a rate_limit block to the get_public_holidays rule in your PolicyLayer policy. For example, setting max: 10 and window: 60 limits the tool to 10 calls per minute. Rate limits are tracked per agent session and reset automatically.

How do I block get_public_holidays completely? +

Set action: deny in the PolicyLayer policy for get_public_holidays. The AI agent will receive a policy violation error and cannot call the tool. You can also include a reason field to explain why the tool is blocked.

What MCP server provides get_public_holidays? +

get_public_holidays is provided by the Mcp Swiss MCP server (mcp-swiss). PolicyLayer sits as a proxy in front of this server to enforce policies before tool calls reach the server.

// LOOK UP ANOTHER SERVER

Every MCP server has a record like this.

Type a name, get the same breakdown: verified identity, auth posture, risk grade, capabilities, recommended policy.

Teams ship this data inside their own products. See what a licence covers →

// GET IN TOUCH

Have a question or want to learn more? Send us a message.

Message sent.

We'll get back to you soon.