Skip to main content
Glama
rillsoft

Rillsoft Project MCP server

Official

Adopt holidays

rillsoft_calendar_source_import
DestructiveIdempotent

Adopts holidays from a source calendar into a pool calendar, replacing each year the source covers while leaving years with no source data unchanged.

Instructions

Adopts the holidays of a source calendar into a pool calendar. What gets replaced is a whole year at a time: a year the source carries days for is overwritten completely, company holidays entered by hand in that year included, while a year without source data stays untouched. The only guard against that is 'years'. The answer names the days removed and the days created per year. Inside an open unit of work only.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
yearsNothe years to adopt, either an array such as [2026, 2027] or an object { from, to }; it defaults to every year the source carries
sourceNohttps URL or absolute path of a holiday source (.xml); it defaults to the source of the program language
sourceCalendarYesname (preferred) or id of a calendar of the source; rillsoft_calendar_source_get reports them
targetCalendarYes{ id } or { code } or { name } of the pool calendar to fill

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
idNoid of the calendar
codeNocode of the calendar; missing when none is set
nameNoname of the calendar
yearsYesbalance per year
sourceYesevaluated source, URL or file path
createdYesdays created in total
outcomeYeswhat the call did
sourceCalendarYesname of the adopted source calendar

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv10.0.626

TDQS

A4.7/5.0
Behavior5/5

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

Annotations flag destructiveHint=true, but the description goes well beyond that by disclosing the exact blast radius: whole-year replacement, hand-entered company holidays in that year are lost, years without source data are untouched. It also states what the response contains (days removed and created per year) and the transactional precondition.

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?

Front-loads purpose, then behavior, then the guard parameter, then the return, then the precondition. Every sentence carries information an agent needs; no filler or restatement of the title.

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?

For a destructive, nested-schema, open-world operation this is complete: annotations cover safety, the output schema covers return shape, and the description covers destruction scope, guard behavior, and the transaction requirement. Nothing an agent needs to invoke it correctly is missing.

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 coverage is 100%, so the baseline is 3, but the description adds genuine semantics for 'years' by framing it as the sole protection against the whole-year overwrite. It does not add syntax details (array vs {from,to}) beyond what the schema already documents.

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?

States a specific verb+resource pair ('adopts the holidays of a source calendar into a pool calendar'), which is unambiguous against siblings like rillsoft_calendar_source_get (read) or rillsoft_calendar_create (create). An agent can identify this as the bulk-import operation without opening the schema.

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?

Gives a hard precondition ('Inside an open unit of work only') and identifies 'years' as the only guard against the overwrite, which tells the agent how to use the tool safely. It does not, however, name alternative tools or explicitly say when not to use it.

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

Deploy Server

Other Tools