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/5 across 9 of 9 tools scored. Lowest: 2.9/5.
Each tool has a clearly distinct purpose: date arithmetic (add_days, subtract_days), difference (days_between), business days (business_days), holidays (holidays), payment terms (invoice_due), next occurrence (next_occurrence), natural language parsing (parse_date_query), and a meta-operation explainer (explain). No overlap.
Names consistently use lowercase and underscores, but the pattern varies: some are verb_noun (add_days), some are noun_phrase (holidays, business_days). This is mostly consistent but not perfectly uniform.
Nine tools is well-scoped for a date calculation engine, covering core operations without bloat. Each tool earns its place.
The set covers fundamental date operations (add/subtract, difference, business days, holidays, next occurrence, payment terms, and parsing). Minor gaps exist, such as explicit current date or date formatting, but these are not core to the domain.
Available Tools
9 toolsadd_daysAdd calendar days to a dateARead-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 declare readOnlyHint=true and idempotentHint=true, so the agent knows it's a safe, deterministic operation. The description adds the key behavioral nuance 'exclusive counting' (start date is day 0), which is not in annotations. 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 that is front-loaded and precise. Every word serves a purpose with no redundancy. Ideal conciseness.
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 tool has an output schema (return values covered), good annotations, and is a simple arithmetic operation, the description is virtually complete. The only minor gap is not mentioning edge cases like leap years or timezone effects beyond default UTC.
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% (tz and date described, days not). The description adds meaning for the 'days' parameter by specifying 'N whole calendar days' and 'exclusive counting', but does not fully compensate for the missing schema description. 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 adds N whole calendar days to a date with exclusive counting (start date is day 0). This specific verb-resource combination distinguishes it from sibling tools like 'days_between' 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 simple day arithmetic via 'exclusive counting' but does not explicitly state when to use this tool vs alternatives like 'business_days' or 'next_occurrence'. No usage exclusions or context are provided.
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?
Annotations indicate read-only, idempotent, non-destructive behavior. The description adds critical details: span mode exclusivity/inclusivity, timezone resolution of 'today', and optional holiday/workweek parameters. 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 compact sentences: first describes span mode, second add mode plus optional features. No wasted words, information front-loaded.
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 8 parameters, 88% schema coverage, existing output schema, and optional parameters, the description covers both operational modes and optional configurations. Could explicitly link parameters to modes, but implied 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 covers 88% of parameters with descriptions; the description groups parameters into modes and explains their roles (span vs add), adding context beyond schema defaults. However, some syntactical details (e.g., ISO date format) are already in 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 two computation modes (span and add) with specific verbs and resources. It distinguishes from sibling tools by specifying business-day logic with holidays and custom workweeks.
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 when-to-use guidance or comparative advice against siblings. The description implies use for date calculations involving business days and holidays, but does not exclude simpler alternatives like 'add_days' or 'days_between'.
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?
Annotations already declare readOnlyHint, idempotentHint, and destructiveHint. The description adds key behavioral details: signed result, midnight-to-midnight computation, endpoint exclusivity, and that it returns a gap. 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?
A single sentence packs all essential information: what the tool computes, the unit (whole calendar days), the time boundary (midnight to midnight), and endpoint treatment (exclusive). No redundant phrasing.
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 output schema exists, the description does not need to detail return values. It explains the calculation method comprehensively. For a simple date difference tool, no additional context is necessary.
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?
The input schema provides descriptions for all three parameters (from, to, tz). The description adds contextual meaning about how dates are interpreted (midnight-to-midnight, exclusive endpoints), but does not elaborate on parameter syntax beyond the schema. With high schema coverage, the description offers modest additional value.
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 from one date to another, midnight to midnight, endpoints exclusive'. It uniquely identifies the tool's function and distinguishes it from siblings like business_days and 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 provides clear context on what the tool computes, allowing the agent to infer when to use it vs. siblings. It does not explicitly state exclusions or alternatives, but the specificity of 'whole calendar days' and 'endpoints exclusive' guides appropriate use.
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 read-only and idempotent behavior. The description adds value by disclosing the output includes a receipt and derivation steps, which is not captured by annotations.
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 consists of two sentences that directly convey the core functionality. It is front-loaded with the main action and contains no superfluous content.
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 high parameter count and existence of output schema, the description adequately covers the tool's purpose. It states it runs any operation and returns explanation, which is sufficient for the agent to understand when to invoke 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 coverage is 53%. The description adds the key insight that parameters are discriminated by op, but does not elaborate on individual parameters. The schema provides adequate descriptions for most, so the description provides moderate additive value.
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. It distinguishes from siblings by noting it accepts the same fields discriminated by op, making the purpose specific and unique.
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 when explanation is needed by stating it returns human-readable derivation steps. It mentions accepting same fields as other tools, but does not explicitly state when not to use or list alternatives, though the sibling list is provided.
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?
Annotations already indicate read-only, idempotent, and non-destructive behavior. The description adds transparency about output details (nominal date, status, warning for declared-only holidays), which supplements the annotations well.
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 a single sentence that efficiently conveys the tool's purpose and key behavioral details. No unnecessary words, and it is front-loaded with essential information.
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 low complexity, comprehensive annotations, and presence of an output schema, the description provides sufficient context about the tool's behavior and output, though it could briefly mention the output schema's existence.
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 100% (both parameters have descriptions in the JSON Schema). The tool description does not add new parameter semantics beyond the schema, meeting the baseline for complete 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 title 'Public holidays for a jurisdiction and year' and description clearly state the tool returns observed public holidays with nominal date and status. It distinguishes from sibling date calculation tools by focusing on holiday data retrieval.
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 getting public holidays but does not provide explicit guidance on when to use this tool versus alternatives or mention any prerequisites or exclusions.
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 indicate read-only, idempotent, non-destructive. The description adds valuable behavior: calendar days counting, roll-forward over weekends and holidays with jurisdiction/custom calendar. 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 with no wasted words. Front-loaded with core purpose, then key options. Every sentence adds value.
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 output schema exists, no need to detail returns. Description covers core logic and optional features. Could mention an example but acceptable.
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%, so baseline 3 applies. The description adds context for the net parameter but does not elaborate on other parameters beyond what their schema descriptions already provide.
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, with invoice date as day 0. It distinguishes from siblings like business_days or add_days by focusing on net terms and optional roll-forward.
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 payment terms but does not explicitly state when to use versus alternatives (e.g., add_days for simple date addition). No exclusions or conditions 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 already declare readOnlyHint=true, idempotentHint=true, destructiveHint=false. The description adds that the occurrence is 'strictly after' the base date and resolves today in the given timezone, but these are minor additions. 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?
Two sentences, front-loaded with core purpose, no filler. Every sentence adds value.
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 mentioned), the description adequately explains inputs and constraints. It could mention timezone resolution more explicitly, but it's sufficient for a simple 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 50% (tz, from have descriptions). The description clarifies 'event' (slug like 'christmas') and 'weekday' (0-6 range) which are missing from schema, and explains default for 'from' as today.
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 it finds the next occurrence of an event slug or weekday after a base date, with examples. It distinguishes from siblings like 'holidays' (which lists holidays in a year) and 'days_between' (difference).
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 says 'Provide exactly one of event/weekday', guiding parameter selection. However, it does not contrast with sibling tools or state when not to use this tool.
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 indicate read-only, idempotent, and non-destructive behavior. The description adds that the tool returns an auditable receipt and handles ambiguous dates by returning needsClarification, providing useful behavioral context beyond annotations.
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 concise sentences. The first sentence clearly states the primary function, and the second adds a critical detail about ambiguity. No redundant information.
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, the description sufficiently covers input format, answer behavior, and ambiguity handling. The term 'normalized operation' could be clarified, but the overall completeness is high.
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% (2 of 3 params have descriptions). The description provides an example for the 'q' parameter (e.g., '90 business days from today in uganda'), adding context not in the schema. However, it does not elaborate on 'tz' or 'locale' further than the schema already does.
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 parses natural-language date queries, normalizes them, answers the question, and returns an auditable receipt. It also mentions handling ambiguous dates, which distinguishes it from sibling tools that focus on specific date calculations.
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 use for natural-language date parsing but does not explicitly state when to use this tool over siblings or when not to use it. No alternatives or exclusions are mentioned.
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 dateCRead-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 already declare readOnlyHint=true and idempotentHint=true, so the safety profile is clear. Description adds 'whole calendar days' but omits edge cases (e.g., DST transitions, invalid dates).
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 concise sentence with no wasted words. Could be slightly more structured but remains effective.
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 an output schema available, the description need not detail return values. However, it omits behavior for edge cases (negative days, zero days, large N) and does not specify that the result is a date string.
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 does not elaborate on any parameter. The 'days' parameter lacks a schema description and is not explained in the tool description.
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 computes a date N whole calendar days before a given date. It distinguishes from siblings like add_days and business_days through the phrase 'whole calendar days', implying no business day logic.
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 over alternatives like business_days or days_between. Description does not mention that it handles simple calendar day subtraction, not business days.
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!