Skip to main content
Glama

Julian Date Converter API - JD, MJD, Ordinal YYYYDDD/YYDDD, JD Edwards & Gregorian

julian_date_converter
Read-onlyIdempotent

Convert between Gregorian dates, Astronomical Julian Date (JD), Modified Julian Date (MJD), Reduced JD, Ordinal / Day-of-Year (YYYY-DDD, YYYYDDD, 5-digit YYDDD, JD Edwards CYYDDD), and Historical Julian Calendar. Auto-detects input format in both directions. Single or batch up to 1,000 items. 0 AI, pure Python stdlib, < 5 ms, nothing stored. Free: 5 calls/day per IP. Paid: Radar API key (from €15/mo at https://radarbg.com/pricing#starter via X-API-Key) or $0.001/call via x402 at https://radarbg.com/x402/julian-date-converter.

Example tool call

This call uses example arguments supplied in the tool’s input schema.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "mode": "auto",
      "input": "2026-12-01"
    },
    "name": "julian_date_converter"
  }
}

Input Schema

NameRequiredDescriptionDefault
modeNoInput format override (default auto)auto
inputNoGregorian date (2026-12-01), JD (2461010.5), MJD (MJD 61010), or Ordinal (2026-335, 26335, 126335)2026-12-01
inputsNoOptional batch list of up to 1,000 dates
compareToNoOptional second date to compute exact Julian day difference

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.5/5.0
Behavior4/5

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

Annotations cover read-only/idempotent/open-world, but the description adds material the agent cannot get elsewhere: batch ceiling of 1,000 items, sub-5 ms latency, no data retention, and the two auth paths (free 5 calls/day per IP, or API key / x402 per-call payment). Those are real call-planning facts. It loses a point for burying them in pricing marketing rather than stating the failure mode when the free quota is exhausted.

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

Conciseness3/5

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

The purpose clause is front-loaded and dense with meaningful format names. The second half degrades into promotional boilerplate ('0 AI, pure Python stdlib', two pricing URLs, x402 endpoint) that competes for attention with the operational facts an agent actually needs.

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?

Input handling is thoroughly covered and all parameters are optional with full schema documentation, but there is no output schema and the description never says what a result looks like (converted string? object with JD and MJD? array for batches?). It also omits what 'compareTo' returns despite the schema hinting at a day-difference computation.

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%, so all four parameters are already documented in the schema. The description adds useful behavior for 'mode' (auto-detection in both directions) and the batch ceiling for 'inputs', but says nothing about 'compareTo' or 'mode' overrides beyond what the schema states. Baseline 3 is appropriate.

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?

States the specific verb 'Convert between' and enumerates the exact resource set (Gregorian, JD, MJD, Reduced JD, ordinal YYYYDDD/YYDDD/JD Edwards CYYDDD, historical Julian calendar), which makes it naturally distinguishable from siblings like epoch_converter or date_calculator. It stops short of naming any alternative tool, so it lands at 4 rather than 5.

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

Usage Guidelines3/5

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

'Auto-detects input format in both directions' implies that the default mode is safe for unlabeled input, which is genuine usage guidance. However, there is no explicit statement of when to prefer this tool over epoch_converter or date_calculator, nor any exclusion such as which formats are NOT supported (e.g. ISO week dates).

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.

Resources