Skip to main content
Glama

create_public_holiday

Add a public holiday to Odoo's working calendar by specifying the name, date, and calendar. This tool configures global time off for employee scheduling and attendance tracking.

Instructions

    Create a public holiday in Odoo (global time off on working calendar).

    Args:
        name: Holiday name (e.g., "Nouvel An", "Fete nationale")
        date: Holiday date in YYYY-MM-DD format
        calendar_id: Working calendar ID (default: 1 = Standard 40 hours/week)

    Returns:
        Confirmation with created holiday ID
    

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameYes
dateYes
calendar_idNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior2/5

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

With no annotations provided, the description carries full burden but only states it's a creation operation. It doesn't disclose behavioral traits like whether this requires admin permissions, if duplicates are prevented, what happens to existing schedules, or any rate limits. The return format is mentioned but lacks detail on error cases.

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?

Perfectly structured with a clear purpose statement followed by Args and Returns sections. Every sentence adds value with no redundancy. The formatting with bullet points enhances readability without verbosity.

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

Completeness3/5

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

For a creation tool with no annotations and 3 parameters, the description covers basic purpose and parameters well. However, it lacks important context about permissions, error handling, and system behavior. The output schema exists, so return values don't need explanation, but other behavioral aspects are underspecified.

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. It provides clear semantic meaning for all three parameters: name examples, date format, and calendar_id default value with explanation. This adds significant value beyond the bare 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?

The description clearly states the specific action ('Create a public holiday'), the target system ('in Odoo'), and the resource type ('global time off on working calendar'). It distinguishes from sibling tools like 'list_public_holidays' by specifying creation rather than listing.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

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

No guidance is provided on when to use this tool versus alternatives. It doesn't mention prerequisites, permissions required, or contextual triggers for creating public holidays versus other time-off tools like 'create_leave_allocation'.

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/industream/mcp-odoo'

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