Skip to main content
Glama

Date difference calculator

date_difference_calculator

Difference between two dates: calendar years/months/days, total days, weeks and weekday count. Runs on smart-tools.xyz.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
localeNoLanguage for the source_url link (default en)
end_dateYesEnd date, YYYY-MM-DD
start_dateYesStart date, YYYY-MM-DD

Schema Changelog

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

  1. First observed

TDQS

C2.9/5.0
Behavior2/5

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

With no annotations, the description carries the full burden of disclosing behavior. It mentions the output types but omits critical behaviors such as whether the start/end dates are inclusive, if the order of dates matters, how invalid dates are handled, and whether the result is a structured object. The platform note ('Runs on smart-tools.xyz') adds no behavioral insight.

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

Conciseness4/5

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

The description is very concise: two sentences. The first sentence front-loads the core purpose, and the second provides a brief platform context. However, the platform note is not essential for tool selection, preventing a perfect score.

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

Completeness3/5

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

The tool is fairly simple, and the description lists the main output types, partially compensating for the absence of an output schema. However, it does not explain the output format, date ordering constraints, or edge-case behavior, which are important for an agent to use the tool correctly without additional guidance.

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 coverage is 100% (all three parameters have descriptions), so the baseline of 3 applies. The description does not add any parameter semantics beyond what the schema already provides—it only lists output types, which are not directly tied to parameter meanings.

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 explicitly states the operation ('Difference between two dates') and enumerates the computed units (calendar years/months/days, total days, weeks, weekday count). This clearly identifies the tool's purpose and distinguishes it from sibling date tools like age_calculator or due_date_calculator, though it does not explicitly name alternatives.

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?

No guidance is provided on when to use this tool versus alternatives. The description is purely functional and does not mention scenarios, exclusions, or contrast with sibling tools, leaving the agent to infer usage from the name and description alone.

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.3/5.0
Disambiguation3/5

Most tools are clearly distinct, but there are notable overlaps. 'hash_generator' and 'file_hash' effectively do the same thing (SHA hashing of text), and several CSV/TSV converters (csv_to_json, csv_to_sql, table_to_csv, markdown_table) have similar input handling, though outputs differ. The sheer number of converters is clear, but these near-duplicates create some ambiguity.

Naming Consistency4/5

Names follow a generally consistent pattern: lowercase with underscores, often ending in 'converter', 'calculator', or 'generator'. A few names like 'base64', 'lorem_ipsum', and 'transliteration' deviate from the suffix pattern, but the naming style is uniform and predictable overall.

Tool Count2/5

With 73 tools, this server is far over the typical well-scoped range. While the broad utility-toolkit purpose might justify a larger set, 73 is unwieldy and pushes well into 'too many' territory, making it harder for an agent to select the right tool efficiently.

Completeness4/5

The server covers a remarkably wide range of common utilities: unit conversions, calculators, text transformations, development helpers (JSON, regex, JWT, subnet), and generators. Minor gaps exist (e.g., currency converter, time zone converter), but for a general-purpose toolkit, it is largely comprehensive.

Resources