Skip to main content
Glama

get_mexico_holidays

Read-onlyIdempotent

Retrieve all mandatory Mexican public holidays for any year, including moveable holidays, to plan business deadlines and avoid non-working days.

Instructions

Returns all Mexican national public holidays for a given year as a structured list. Each holiday includes { date: 'YYYY-MM-DD', name: string, name_en: string }. Moveable holidays (Constitution Day, President's Day, Revolution Day) follow the Mexican Monday rule (primer lunes de febrero/tercer lunes de noviembre). Returns 9 mandatory national holidays defined by Mexican law. Use when calculating Mexican business deadlines, CFDI payment dates, or scheduling tasks that must avoid non-working days in Mexico.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
yearYesCalendar year as a 4-digit integer. Example: 2026

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
yearYes
countryYes
total_holidaysYes
holidaysYes
Behavior5/5

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

Annotations show readOnlyHint=true and idempotentHint=true, so the description adds value by detailing the moveable holiday rule, the exact number of holidays (9), and output structure. No contradictions.

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 description is a single paragraph that is informative but not overly long. It front-loads the purpose and includes useful details. Minor improvement could be better structure, but it's concise and clear.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given the presence of an output schema, the description adequately covers purpose, usage, and behavioral nuances (moveable holidays). It is complete for a simple read-only tool with one parameter.

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 coverage is 100% and the year parameter description is already clear. The description does not add extra semantic meaning beyond what the schema provides, so baseline 3 is appropriate.

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?

The description clearly states it returns Mexican national public holidays for a given year, including specifics like 9 mandatory holidays and moveable holiday rules. It distinguishes from sibling tools like get_argentina_holidays by being country-specific.

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?

Explicitly mentions use cases: Mexican business deadlines, CFDI payment dates, scheduling tasks. Does not explicitly list alternatives but the sibling set implies country-specific usage. Could mention not to use for other countries or multiple years.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/josemvelez78/mcp-latam-business'

If you have feedback or need assistance with the MCP directory API, please join our Discord server