Skip to main content
Glama
datacore-one

datacore-mcp

Official
by datacore-one

datacore_date

Perform canonical date operations: retrieve current date, validate weekday names, add/subtract days, parse relative expressions, and format org-mode timestamps.

Instructions

Canonical date operations — ALWAYS use this instead of typing dates from memory. LLMs hallucinate day-of-week names and anchor to training-era dates. Returns today's date, validates day-of-week, adds/subtracts days, parses relative expressions, and formats org-mode timestamps.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nNoNumber of days for add/sub
opYesOperation: today (current date+dow), dow (day-of-week for a date), validate (check date matches claimed dow), add/sub (N days from date), diff (days between two dates), parse (relative expression like "next monday"), org-stamp (<YYYY-MM-DD Day>)
dayNoClaimed day name (Mon..Sun) for validate
dateNoISO date YYYY-MM-DD (for dow/validate/add/sub/org-stamp)
exprNoRelative expression for parse (e.g. "tomorrow", "next monday", "in 3 days")
date2NoSecond date for diff
inactiveNoFor org-stamp: use [..] instead of <..>
Behavior4/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. It transparently states the tool's behaviors (returns today's date, validates day-of-week, adds/subtracts days, etc.) and explains the underlying problem it solves (LLM hallucination). While it doesn't explicitly mention side effects or read-only nature, the tool is inherently a pure calculation function, making the description sufficient.

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 two sentences, front-loaded with an imperative rule and rationale, followed by a compact enumeration of capabilities. Every word earns its place, with no redundancy or unnecessary details.

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

Completeness4/5

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

For a simple date utility with one required parameter and fully documented schema, the description is largely complete. It does not specify return value formats (e.g., exact output of diff or parse), but the schema's op enumeration provides sufficient context. Since there is no output schema, slightly more detail on outputs would push this to a 5, but the low complexity keeps it adequate.

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%, so the baseline is 3. The description enumerates operation categories but does not add parameter-level semantics beyond the schema. It does provide context on why certain operations exist (e.g., validation to counter hallucination), but this is not parameter-specific detail.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly identifies the tool as a canonical date operations utility and enumerates all supported operations (today, dow, validate, add/sub, diff, parse, org-stamp). It distinguishes itself from sibling tools (datacore_capture, datacore_search, datacore_ingest, datacore_status) by being the only date-related utility.

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

Usage Guidelines5/5

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

Explicitly instructs 'ALWAYS use this instead of typing dates from memory', providing a clear when-to-use directive with the rationale that LLMs hallucinate day-of-week names and training-era dates. This effectively tells the agent to prefer this tool for any date calculation, overriding memory-based guesses.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/datacore-one/datacore-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server