Skip to main content
Glama

Date Calculator

date-calculator

Calculate date differences, add/subtract dates, count business days.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
modeNoCalculation modediff
unitNoUnit for add mode
date1YesFirst date (YYYY-MM-DD)
date2NoSecond date (YYYY-MM-DD) for diff mode
amountNoAmount to add/subtract (for add mode)

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. Added

TDQS

C2.9/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full burden of disclosing behavior. It states the core operations but omits any details about assumptions (e.g., business days excludes weekends but not holidays), side effects (none expected), or edge cases like negative amounts for subtraction. For a pure calculation tool, this is a moderate gap in transparency.

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?

The description is a single concise sentence of ten words, front-loading the core functionality without fluff. Every word contributes to conveying the tool's purpose.

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?

The tool has 5 parameters, 2 enums, and no output schema. The description is too terse to clarify parameter relationships, such as which parameters are required for each mode. It also does not hint at return values. There is notable ambiguity: date2 is described only as 'for diff mode', yet business-days counting presumably also requires two dates. This is a significant completeness gap for an agent to invoke the tool correctly.

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% (every parameter has a description), meeting the baseline of 3. The description itself adds no parameter-level detail beyond the schema's existing explanations. Since the schema already documents mode, unit, date1, date2, and amount adequately, the description does not need to compensate.

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 specific verbs and resources: 'calculate date differences, add/subtract dates, count business days'. It clearly enumerates three distinct operations, distinguishing it from more specialized siblings like age-calculator or countdown-timer. However, it does not explicitly name any alternative tool or exclusion, so it slightly misses the highest bar for sibling differentiation.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description offers no guidance on when to choose this tool over alternatives or how to select among the modes (diff, add, business-days). It does not mention prerequisites, such as the need for two dates in diff/business-days modes or amount+unit in add mode. This is essentially no usage guidance beyond the implied general purpose.

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.

TDQS

B3.1/5.0
Disambiguation2/5

Multiple tools have overlapping purposes, such as bg-remover, bg-remover-pro, pro-matting, and takumi all performing background removal, and upscaler/upscaler-pro being redundant. With 202 tools, an agent may easily select the wrong one despite detailed descriptions.

Naming Consistency4/5

Most tools use a consistent kebab-case format with descriptive names like pdf-compress, image-resizer, and tax-return-calc. Exceptions like 'takumi', 'pro-matting', and '-pro' suffixes (bg-remover-pro, upscaler-pro) are minor deviations relative to the total.

Tool Count1/5

202 tools is an extreme mismatch for an MCP server, far exceeding the typical 3-15 well-scoped range. The sheer volume makes it unwieldy for an agent to efficiently navigate and select the right tool.

Completeness4/5

The tool set provides extensive coverage across many domains, including PDF operations (20+ tools), image editing, financial calculations, e-commerce fee estimation, and YouTube utilities. Minor gaps exist in cross-tool integration, but the breadth is highly comprehensive for the apparent purpose.

Resources