Skip to main content
Glama
oce-math-mcp

oce-math-mcp

by oce-projects

date_calc

Calculate Italian calendar dates: exact age, weekdays, date differences/additions, DST-aware events, recurring schedules, time zone conversion, invoice due dates, monthly calendars, national holidays.

Instructions

Dates and times in the Italian calendar (Europe/Rome): exact age (also in months and weeks), weekday, differences (days, business days, real elapsed hours across DST) and additions, relative dates, events with DST offsets and reminders, recurring events, time zone conversion, invoice due dates (DFFM), month calendar, Italian national holidays including Easter and Easter Monday.

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": {
      "operation": "<operation>"
    },
    "name": "date_calc"
  }
}

Input Schema

NameRequiredDescriptionDefault
nthNo
dateNo
daysNo
countNoNumber of occurrences for recurring.
hoursNo
weeksNo
whichNonext
yearsNo
monthsNo
minutesNo
end_dateNo
ref_dateNo
timezoneNoEurope/Rome
dffm_daysNo
operationYes
birth_dateNo
month_weekNorecurring monthly by weekday: 1 = first, -1 = last target_weekday of the month.
to_timezoneNoTarget IANA zone for convert_tz, e.g. 'America/New_York'.
business_daysNo
target_weekdayNo
duration_minutesNo
reminders_beforeNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.8/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full burden. It does add genuine behavior—DST-aware real elapsed hours, holidays including Easter/Easter Monday, DFFM invoice rules—but says nothing about what happens with invalid or ambiguous input, whether results are exhaustive, or what a call returns for the 12 operations.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

It is compact with no filler, but it is a single run-on enumeration of features with no grouping by operation, which is hard to parse for a tool with 12 operations and 22 parameters. Parenthetical qualifiers like 'real elapsed hours across DST' do earn their place.

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

Completeness2/5

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

For a 22-parameter, 12-operation tool with no annotations and no output schema, the description should indicate which parameters each operation consumes and what the response looks like. It covers the feature surface but gives no per-operation requirements, defaults, or return-shape information.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is only 14% across 22 parameters, so the description must compensate. It hints at some semantics (months/weeks for age, business days for diff, reminders for events, dffm_days) but leaves most parameters—nth, which, ref_date, end_date, duration_minutes, target_weekday pairing—undocumented in both schema and description.

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 names a concrete resource domain (dates/times in the Italian Europe/Rome calendar) and enumerates capabilities—age, weekday, diff, add, relative dates, recurring, tz conversion, invoice due dates, month calendar, holidays—that map closely onto the operation enum. It is clearly not a math solver like its siblings, though it enumerates features rather than stating a single verb+resource sentence.

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?

The capability list implicitly routes the agent to operations (e.g., 'exact age' → age, 'invoice due dates (DFFM)' → invoice_due, 'time zone conversion' → convert_tz), which is real but indirect guidance. There is no explicit mapping, no when-not to use it, and no note that inputs not matching the Europe/Rome default should set the timezone parameter.

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