tilwhen date engine
Server Details
Deterministic date arithmetic with auditable receipts: business days, due dates, holidays.
- Status
- Healthy
- Last Tested
- Transport
- Streamable HTTP
- URL
Glama MCP Gateway
Connect through Glama MCP Gateway for full control over tool access and complete visibility into every call.
Full call logging
Every tool call is logged with complete inputs and outputs, so you can debug issues and audit what your agents are doing.
Tool access control
Enable or disable individual tools per connector, so you decide what your agents can and cannot do.
Managed credentials
Glama handles OAuth flows, token storage, and automatic rotation, so credentials never expire on your clients.
Usage analytics
See which tools your agents call, how often, and when, so you can understand usage patterns and catch anomalies.
Tool Definition Quality
Average 4.1/5 across 9 of 9 tools scored. Lowest: 3.1/5.
Each tool targets a distinct date operation: calendar addition/subtraction, business days, days between, holidays, invoice due, next occurrence, natural language parsing, and an explainer. No two tools overlap in purpose; descriptions clearly differentiate them.
All tool names follow a consistent pattern: lowercase with underscores, predominantly verb_noun (add_days, parse_date_query) or noun_phrase (business_days, invoice_due). The naming is uniform and predictable.
With 9 tools, the server is well-scoped. Each tool addresses a core date calculation need without redundancy or bloat. The count is appropriate for a focused date engine.
The tool surface covers all essential date operations: calendar arithmetic, business days, holidays, payment terms, next occurrences, and natural language queries. No obvious gaps remain for common date calculations.
Available Tools
9 toolsadd_daysAdd calendar days to a dateBRead-onlyIdempotentInspect
The date N whole calendar days after a date (exclusive counting: the start date is day 0).
| Name | Required | Description | Default |
|---|---|---|---|
| tz | No | IANA timezone that defines "today" (e.g. Africa/Kampala). Default UTC. | UTC |
| date | No | ISO date YYYY-MM-DD, or "today" (resolved in tz) | today |
| days | Yes |
Output Schema
| Name | Required | Description |
|---|---|---|
| answer | Yes | The calculated answer (kind-discriminated) |
| receipt | Yes | Auditable receipt: inputs, timezone, convention, workweek, holiday calendar, exclusions, versions, stable result ID |
Tool Definition Quality
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Annotations already indicate read-only and idempotent behavior. The description adds that counting is exclusive (start date is day 0), but lacks details on timezone handling, error cases, or range limits (provided in schema).
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
Single sentence is concise but slightly terse. It is front-loaded but could be expanded slightly for clarity without becoming verbose.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Despite having an output schema, the description lacks important context such as how timezone affects the result, default behavior for 'today', and edge cases. For a date math tool, it feels incomplete.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Description adds no information beyond the input schema. Parameters like 'tz' and 'date' are only documented in the schema; the description does not clarify their usage or defaults beyond what's in the schema.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the tool computes a date offset by N calendar days with exclusive counting. It distinguishes from siblings like 'subtract_days' and 'business_days'.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
No explicit guidance on when to use this tool versus siblings such as 'business_days' or 'next_occurrence'. The description only details the counting method.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
business_daysBusiness-day calculationsARead-onlyIdempotentInspect
Span mode (from+to): business days between two dates, exclusive of the start day, inclusive of the end day. Add mode (days, optional date): the date N business days away. Optional holiday jurisdiction or custom calendar, and a selectable working week.
| Name | Required | Description | Default |
|---|---|---|---|
| to | No | ISO date YYYY-MM-DD, or "today" (resolved in tz) | |
| tz | No | IANA timezone that defines "today" (e.g. Africa/Kampala). Default UTC. | UTC |
| date | No | ISO date YYYY-MM-DD, or "today" (resolved in tz) | |
| days | No | ||
| from | No | ISO date YYYY-MM-DD, or "today" (resolved in tz) | |
| workweek | No | Working week. Default mon-fri (Sat+Sun weekend). | |
| jurisdiction | No | Holiday jurisdiction id: US, GB, GB-SCT, GB-NIR, IE, FR, CA, AU, UG (alias UK for GB). No default: omit for no holiday calendar. | |
| customHolidays | No | Custom organizational holiday calendar as ISO dates (mutually exclusive with jurisdiction) |
Output Schema
| Name | Required | Description |
|---|---|---|
| answer | Yes | The calculated answer (kind-discriminated) |
| receipt | Yes | Auditable receipt: inputs, timezone, convention, workweek, holiday calendar, exclusions, versions, stable result ID |
Tool Definition Quality
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
The description adds significant behavioral context beyond the annotations: exclusive start day, inclusive end day for span mode; resolution of 'today' in timezone; working week options; and holiday customization. Annotations already declare readOnlyHint=true, idempotentHint=true, destructiveHint=false, so the description supplements with operational details.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
Two sentences packed with information, front-loaded with the key distinguishing feature (span vs add modes). Every phrase earns its place, with no redundancy or filler.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Given the complexity (two modes, 8 parameters, optional holidays), the description covers the essential behavior for both modes and mentions all configurable options. With an output schema present, return values need not be explained. It is sufficient for an agent to understand when and how to use this tool.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema description coverage is 88%, so many parameters are already explained. The description adds value by explaining how parameters relate to modes (from+to for span, days+date for add). However, it does not detail the interaction between jurisdiction and customHolidays or the default workweek, leaving some semantics implicit.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states two modes (span and add) with specific verbs ('business days between', 'the date N business days away'). It distinguishes itself from siblings like 'days_between' and 'add_days' by focusing on business day calculations with holiday and working week options.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description implies usage scenarios via the two modes but does not explicitly contrast with siblings. For example, it does not state 'use days_between for calendar days' or 'use this for workday calculations'. While the context is clear, explicit when-not-to-use guidance is missing.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
days_betweenDays between two datesARead-onlyIdempotentInspect
Signed whole calendar days from one date to another, midnight to midnight, endpoints exclusive (the gap).
| Name | Required | Description | Default |
|---|---|---|---|
| to | Yes | ||
| tz | No | IANA timezone that defines "today" (e.g. Africa/Kampala). Default UTC. | UTC |
| from | Yes | ISO date YYYY-MM-DD, or "today" (resolved in tz) |
Output Schema
| Name | Required | Description |
|---|---|---|
| answer | Yes | The calculated answer (kind-discriminated) |
| receipt | Yes | Auditable receipt: inputs, timezone, convention, workweek, holiday calendar, exclusions, versions, stable result ID |
Tool Definition Quality
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
The description adds behavioral details beyond annotations: 'signed', 'midnight to midnight', 'endpoints exclusive'. Annotations already indicate read-only, idempotent, non-destructive; description enriches with exact calculation semantics. No contradiction.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
Single sentence, no redundancy, every word adds value. Front-loaded with key action and semantics.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
With annotation coverage (readOnly, idempotent, non-destructive) and output schema (present), the description fully explains behavior. No gaps remain.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema descriptions cover 67% of parameters (from, tz; to is referenced). The tool description does not add parameter-level meaning beyond the schema, so baseline 3 applies. No extra semantics needed given schema coverage.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the tool computes signed whole calendar days between two dates, specifying 'midnight to midnight, endpoints exclusive (the gap)'. This uniquely identifies its purpose and distinguishes it from sibling tools like business_days or add_days.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description implies usage for calculating date differences, but does not explicitly state when to use this tool over alternatives. The context from sibling tools (e.g., business_days for business day counts) provides implicit guidance, but lacks explicit exclusions.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
explainExplain a calculation step by stepARead-onlyIdempotentInspect
Runs any operation and returns the receipt plus human-readable derivation steps. Accepts the same fields as the other tools, discriminated by op.
| Name | Required | Description | Default |
|---|---|---|---|
| op | Yes | ||
| to | No | ISO date YYYY-MM-DD, or "today" (resolved in tz) | |
| tz | No | IANA timezone that defines "today" (e.g. Africa/Kampala). Default UTC. | UTC |
| net | No | ||
| date | No | ISO date YYYY-MM-DD, or "today" (resolved in tz) | |
| days | No | ||
| from | No | ISO date YYYY-MM-DD, or "today" (resolved in tz) | |
| roll | No | ||
| year | No | ||
| event | No | ||
| weekday | No | ||
| workweek | No | Working week. Default mon-fri (Sat+Sun weekend). | |
| invoiceDate | No | ISO date YYYY-MM-DD, or "today" (resolved in tz) | |
| jurisdiction | No | Holiday jurisdiction id: US, GB, GB-SCT, GB-NIR, IE, FR, CA, AU, UG (alias UK for GB). No default: omit for no holiday calendar. | |
| customHolidays | No | Custom organizational holiday calendar as ISO dates (mutually exclusive with jurisdiction) |
Output Schema
| Name | Required | Description |
|---|---|---|
| steps | Yes | Human-readable derivation, identical to the REST /api/v1/explain output |
| receipt | Yes | Auditable receipt for the operation |
Tool Definition Quality
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Annotations already declare readOnly, idempotent, and non-destructive. Description adds 'returns receipt plus steps' but no further behavioral details beyond what annotations imply.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
Two concise sentences with no redundant content. Front-loaded with the core action and key differentiator.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Despite having an output schema, the description lacks detail about what 'receipt' or 'derivation steps' entail, and does not cover the complexity of 15 parameters sufficiently.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema coverage is only 53%, but the description defers to 'same fields as other tools' without explaining any parameter specifics or adding meaning beyond the schema.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the tool runs any operation and returns a receipt plus derivation steps, distinguishing it from siblings that return only results.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
It explains the tool accepts the same fields as other tools discriminated by 'op', implying usage when explanation is needed. No explicit when-not or alternatives, but context is clear.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
holidaysPublic holidays for a jurisdiction and yearARead-onlyIdempotentInspect
Observed public holidays with the nominal (legal) date and status: rule (statutory) or declared (officially declared for that year). Declared-only holidays are omitted for undeclared years, with a holiday_data_incomplete warning.
| Name | Required | Description | Default |
|---|---|---|---|
| year | Yes | ||
| jurisdiction | Yes | US, GB, GB-SCT, GB-NIR, CA, AU, UG (alias UK) |
Output Schema
| Name | Required | Description |
|---|---|---|
| answer | Yes | The calculated answer (kind-discriminated) |
| receipt | Yes | Auditable receipt: inputs, timezone, convention, workweek, holiday calendar, exclusions, versions, stable result ID |
Tool Definition Quality
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Description informs that declared-only holidays are omitted when the year is undeclared, with a warning. This goes beyond the annotations (readOnlyHint, idempotentHint) to disclose data completeness behavior. 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.
Is the description appropriately sized, front-loaded, and free of redundancy?
Two sentences, front-loaded with the tool's purpose, efficiently adding a critical behavioral note about incomplete data. No unnecessary words.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Given the simple nature (2 required params, output schema exists, annotations rich), the description covers the key behavioral aspect (incomplete data warning) and overall purpose. No additional information is needed for correct invocation.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema has 2 parameters with 50% description coverage (jurisdiction has aliases, year has none). The tool description does not add further semantics to either parameter beyond what is in the schema. The description's mention of 'jurisdiction and year' is minimal.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
Title and description clearly state that the tool retrieves observed public holidays for a given jurisdiction and year, specifying what information is returned (nominal date and status). This distinguishes it from sibling tools which are date arithmetic functions.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The context indicates this is a holiday lookup tool, distinct from date calculation siblings. No explicit when-to-use or when-not-to-use guidance is provided, but the purpose is clear enough for an agent to select correctly.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
invoice_dueInvoice due date from net termsARead-onlyIdempotentInspect
Due date for Net-N payment terms (calendar days, invoice date = day 0). Optional roll-forward past weekends and, with a jurisdiction or custom calendar, public holidays.
| Name | Required | Description | Default |
|---|---|---|---|
| tz | No | IANA timezone that defines "today" (e.g. Africa/Kampala). Default UTC. | UTC |
| net | Yes | ||
| roll | No | ||
| workweek | No | Working week. Default mon-fri (Sat+Sun weekend). | |
| invoiceDate | No | ISO date YYYY-MM-DD, or "today" (resolved in tz) | today |
| jurisdiction | No | Holiday jurisdiction id: US, GB, GB-SCT, GB-NIR, IE, FR, CA, AU, UG (alias UK for GB). No default: omit for no holiday calendar. | |
| customHolidays | No | Custom organizational holiday calendar as ISO dates (mutually exclusive with jurisdiction) |
Output Schema
| Name | Required | Description |
|---|---|---|
| answer | Yes | The calculated answer (kind-discriminated) |
| receipt | Yes | Auditable receipt: inputs, timezone, convention, workweek, holiday calendar, exclusions, versions, stable result ID |
Tool Definition Quality
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Annotations already indicate idempotent and read-only behavior. The description adds value by explaining calendar day counting, day-0 basis, and optional roll-forward past weekends/holidays, complementing the annotations without contradiction.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is two sentences, front-loading the core purpose and then adding optional features. It is concise without unnecessary detail, though slightly more structure could improve readability.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
With many parameters and constraints like mutual exclusivity of jurisdiction and customHolidays, the description covers the main use case but lacks detail on parameter interactions and edge cases. Output schema exists, so return values need not be described.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema coverage is 71% with descriptions for most parameters. The description clarifies 'net' as number of calendar days and 'roll' as roll-forward, but does not fully detail all parameter interactions (e.g., workweek defaults). Baseline 3 is appropriate.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the tool calculates due dates for Net-N payment terms, specifying that invoice date is day 0 and offering optional roll-forward. This distinct purpose separates it from siblings like add_days or business_days.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description implies usage for net terms with holiday adjustments but does not explicitly state when to use this tool versus alternatives like add_days or business_days. No 'when not to use' guidance is provided.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
next_occurrenceNext occurrence of an event or weekdayARead-onlyIdempotentInspect
The next occurrence strictly after the base date (default today) of either a tracked event slug (e.g. "christmas") or a weekday (0 = Sunday .. 6 = Saturday). Provide exactly one of event/weekday.
| Name | Required | Description | Default |
|---|---|---|---|
| tz | No | IANA timezone that defines "today" (e.g. Africa/Kampala). Default UTC. | UTC |
| from | No | ISO date YYYY-MM-DD, or "today" (resolved in tz) | |
| event | No | ||
| weekday | No |
Output Schema
| Name | Required | Description |
|---|---|---|
| answer | Yes | The calculated answer (kind-discriminated) |
| receipt | Yes | Auditable receipt: inputs, timezone, convention, workweek, holiday calendar, exclusions, versions, stable result ID |
Tool Definition Quality
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Annotations indicate readOnly, idempotent, non-destructive. The description adds behavior: 'strictly after' and 'default today'. 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.
Is the description appropriately sized, front-loaded, and free of redundancy?
Single sentence conveying all essential information with no fluff. Front-loaded with purpose and constraints.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
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 (not shown but indicated), the description focuses on input semantics and usage constraints, which covers the tool's purpose adequately.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema coverage is 50% but the description adds meaning for event and weekday (example for event, range for weekday). The schema covers tz and from, so description complements well.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the tool finds the next occurrence of a tracked event slug or weekday strictly after a base date. It distinguishes from sibling tools like add_days or business_days which are about date arithmetic or filtering.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description explicitly requires providing exactly one of event or weekday, and explains the default base date. It does not mention when not to use the tool or compare to siblings like holidays, but the context is sufficient.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
parse_date_queryParse a natural-language date questionARead-onlyIdempotentInspect
Parses queries like "90 business days from today in uganda" into a normalized operation, answers it, and returns the auditable receipt. Ambiguous dates (03/04/2027) return needsClarification instead of a guess.
| Name | Required | Description | Default |
|---|---|---|---|
| q | Yes | ||
| tz | No | IANA timezone that defines "today" (e.g. Africa/Kampala). Default UTC. | UTC |
| locale | No | Resolves ambiguous slash dates; omit to receive clarification choices |
Output Schema
| Name | Required | Description |
|---|---|---|
| answer | No | The calculated answer, absent when parsed is null |
| parsed | Yes | Normalized operation, or null when the query could not be understood confidently |
| receipt | No | Auditable receipt, absent when parsed is null |
| warnings | Yes | Machine-readable notes, e.g. unsupported_unit or time_ignored |
| confidence | Yes | 1.0 is a clean grammar hit; below 0.5 the query is refused rather than guessed |
| canonicalUrl | No | tilwhen page that answers this query, to cite; null when no page covers it |
| needsClarification | No | Present when the query is genuinely ambiguous (e.g. 03/04/2027); offers explicit choices instead of a guess |
Tool Definition Quality
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Annotations already declare readOnlyHint, idempotentHint, destructiveHint. Description adds value by disclosing that ambiguous dates return needsClarification and that output includes an auditable receipt. 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.
Is the description appropriately sized, front-loaded, and free of redundancy?
Two sentences, front-loaded with purpose and behavior. Every sentence adds distinct value. No unnecessary words.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Given output schema exists (not shown but noted), description covers both normal outcome and the needsClarification edge case. Parameters are sufficiently contextualized. Complete for a parsing tool with 3 parameters.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema coverage is 67% but description adds context: example queries for 'q', explains 'tz' as IANA timezone defining 'today', and clarifies that omitting 'locale' triggers clarification choices for ambiguous dates. This adds meaning beyond the schema.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
Description clearly states the tool parses natural-language date queries like '90 business days from today in uganda' into a normalized operation, answers it, and returns an auditable receipt. It distinguishes itself from sibling tools by handling broad queries rather than specific date arithmetic.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
Provides example queries and explains behavior for ambiguous dates (needsClarification). Does not explicitly state when to prefer this tool over siblings, but the sibling list implies specific arithmetic tools, so usage context is clear.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
subtract_daysSubtract calendar days from a dateBRead-onlyIdempotentInspect
The date N whole calendar days before a date.
| Name | Required | Description | Default |
|---|---|---|---|
| tz | No | IANA timezone that defines "today" (e.g. Africa/Kampala). Default UTC. | UTC |
| date | No | ISO date YYYY-MM-DD, or "today" (resolved in tz) | today |
| days | Yes |
Output Schema
| Name | Required | Description |
|---|---|---|
| answer | Yes | The calculated answer (kind-discriminated) |
| receipt | Yes | Auditable receipt: inputs, timezone, convention, workweek, holiday calendar, exclusions, versions, stable result ID |
Tool Definition Quality
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Annotations indicate read-only, idempotent, non-destructive. Description adds that it uses calendar days and resolves 'today' in a timezone, but does not disclose that negative values effectively add days, which is a key behavioral nuance.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
Single sentence that is front-loaded and contains zero unnecessary words. Highly concise.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
For a simple date manipulation tool with an output schema, the description provides core behavior. Missing mention of return format, but overall sufficient.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema description coverage is 67% (tz and date described, but days only has min/max). The description mentions 'N whole calendar days' but does not explain negative values or constraints beyond the schema.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description states the tool calculates a date N whole calendar days before a given date. It clearly distinguishes from siblings like add_days, but could be more explicit about subtraction.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
No guidance on when to use this tool versus alternatives like business_days or days_between. The description does not specify prerequisites or exclusions.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
Claim this connector by publishing a /.well-known/glama.json file on your server's domain with the following structure:
{
"$schema": "https://glama.ai/mcp/schemas/connector.json",
"maintainers": [{ "email": "your-email@example.com" }]
}The email address must match the email associated with your Glama account. Once published, Glama will automatically detect and verify the file within a few minutes.
Control your server's listing on Glama, including description and metadata
Access analytics and receive server usage reports
Get monitoring and health status updates for your server
Feature your server to boost visibility and reach more users
For users:
Full audit trail – every tool call is logged with inputs and outputs for compliance and debugging
Granular tool control – enable or disable individual tools per connector to limit what your AI agents can do
Centralized credential management – store and rotate API keys and OAuth tokens in one place
Change alerts – get notified when a connector changes its schema, adds or removes tools, or updates tool definitions, so nothing breaks silently
For server owners:
Proven adoption – public usage metrics on your listing show real-world traction and build trust with prospective users
Tool-level analytics – see which tools are being used most, helping you prioritize development and documentation
Direct user feedback – users can report issues and suggest improvements through the listing, giving you a channel you would not have otherwise
The connector status is unhealthy when Glama is unable to successfully connect to the server. This can happen for several reasons:
The server is experiencing an outage
The URL of the server is wrong
Credentials required to access the server are missing or invalid
If you are the owner of this MCP connector and would like to make modifications to the listing, including providing test credentials for accessing the server, please contact support@glama.ai.
Discussions
No comments yet. Be the first to start the discussion!
Related MCP Servers
- AlicenseAqualityAmaintenanceProvides deterministic business-day calculations for AI agents, correctly handling country-specific weekends and public holidays.6651Apache 2.0
- Alicense-qualityDmaintenanceA zero-signup business-day date arithmetic API that allows adding/subtracting working days, counting business days between two dates, and testing if a date is a business day, with custom holidays.MIT
- AlicenseAqualityBmaintenanceProvides correct trading day and settlement date calculations for multiple exchanges, with no external API calls.69MIT
- Alicense-qualityCmaintenanceEnables Japanese business calendar operations such as holiday checking, business day calculations, payment date calculation, fiscal year determination, and deadline tracking, all locally without external API.MIT