Skip to main content
Glama

Julian Day Calculator

JulianDayCalculator
Read-only

Julian Day Calculator: Julian Day Calculator converts between Gregorian calendar dates and Julian Day Numbers (JDN). Julian Day is a continuous count of days used in astronomy and historical research. (Cost: 1 credit)

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "JulianDayCalculator"
  }
}

Input Schema

NameRequiredDescriptionDefault
jdnNoThe Julian Day Number to convert
dateNoThe Gregorian date in YYYY-MM-DD format

Output Schema

NameRequiredDescriptionDefault
dataNo
errorNoError message, null on success
statusNo"ok" on success

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.1/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false, and openWorldHint=true, so the safety profile is covered. The description adds one genuinely useful operational fact, the 1-credit cost, which is not in the structured fields. It says nothing about what happens if both parameters are supplied or neither is, nor about output format or error behavior.

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 description opens by restating the tool name twice ('Julian Day Calculator: Julian Day Calculator converts...'), which wastes the most valuable position. The background sentence on Julian Day is legitimately useful for an agent unfamiliar with the concept, but the whole thing could be tightened to two sentences without loss.

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?

An output schema exists, so return values need not be explained, and the annotations carry the safety profile. However, with zero required parameters, the definition should state the mutual-exclusivity rule (supply 'date' for one direction, 'jdn' for the other) and what a bad or ambiguous call returns; that gap matters for a bidirectional converter.

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 both parameters and their formats are already documented in the schema, establishing the baseline of 3. The phrase 'converts between' implies bidirectionality but never maps which parameter drives which direction, so no meaning is added beyond the schema.

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 names a specific resource and both directions of conversion: 'converts between Gregorian calendar dates and Julian Day Numbers (JDN)'. An agent knows exactly what domain this covers. It does not differentiate from plausible siblings like UnixTimestampConverter, DateCalculator, or MayanCalendar, which keeps it from a 5.

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?

There is no when-to-use or when-not-to-use guidance, and no routing to alternatives such as the Unix timestamp or Mayan calendar tools. Critically, it never explains that the caller supplies either 'date' or 'jdn' depending on conversion direction, leaving the selection condition entirely implicit.

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.