Skip to main content
Glama

Add holiday

add_holiday

Add a holiday (one day or a short range) to a custom list. Needs read-and-change access.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "listId": "<listId>",
      "name": "<name>",
      "startDate": "<startDate>"
    },
    "name": "add_holiday"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameYesHoliday name
listIdYesCustom list id
endDateNoLast day (defaults to startDate; at most 60 days) (YYYY-MM-DD)
startDateYesFirst day (YYYY-MM-DD)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=false, destructiveHint=false, and idempotentHint=false. The description usefully adds an authorization note ('Needs read-and-change access') that annotations do not cover, but it does not explain the consequences of non-idempotency (e.g., duplicate holidays on repeat calls) or what the response contains.

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?

Two terse sentences with the action and scope front-loaded and the permission requirement second. No filler or redundancy.

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 simple four-parameter mutation with a fully documented schema and annotation coverage, the description supplies the key extras (range scope, access requirement). The main residual gap is not clarifying duplicate-handling behavior under non-idempotency, which is a minor omission.

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%, so the schema already documents all four parameters, including the endDate default and 60-day cap. The description's 'one day or a short range' phrase reinforces the optional endDate semantics but adds no format or constraint detail beyond what the schema provides, so the baseline 3 applies.

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?

The description uses a specific verb-plus-resource ('Add a holiday') and states the scope ('one day or a short range') and the target ('a custom list'). It does not explicitly differentiate itself from siblings such as update_holiday or delete_holiday, so it falls short of a 5.

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?

Implies usage by saying the holiday goes 'to a custom list', which signals a list must already exist, but it never states when to prefer this over update_holiday or how to first create a list (create_holiday_list). Guidance is inferred 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