Skip to main content
Glama

age-on-other-planets

Read-onlyIdempotent

Given an age in Earth days, return the equivalent age in years on each of the eight planets plus Pluto. Years are sidereal orbital periods from the NASA Planetary Fact Sheet; Earth uses the Julian year (365.25 days) for calendar alignment.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
ageEarthDaysYesAge in Earth days. A typical human lifespan is 0–40,000 days; the upper bound 50,000 covers any plausible age. Decimal days are allowed (e.g. 13189.5).

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
planetsYesOne row per body, in order from the Sun: Mercury, Venus, Earth, Mars, Jupiter, Saturn, Uranus, Neptune, Pluto.
ageEarthDaysYesThe input, echoed back.
ageEarthYearsYesConvenience field: ageEarthDays / 365.25, the same as the Earth row's years value.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, and non-destructive. The description adds specific calculation details—sidereal orbital periods from NASA and Julian year for Earth—which helps the agent understand the data source and calibration. This is valuable beyond annotations, so a 4.

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?

Two concise sentences deliver the core functionality and calculation basis without unnecessary words. Front-loaded with the operation.

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

Completeness5/5

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

With a simple conversion, full schema coverage, a read-only annotation, and an output schema, the description suffices. It covers the essential context (source and Earth year definition) without needing to explain return values.

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?

The input schema has 100% coverage for the single parameter, describing bounds and data type. The description reiterates that age is in Earth days but adds no new parameter-specific details. Baseline 3 is appropriate.

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 states the tool converts an Earth-day age to planetary years using a specific verb ('return') and resource (eight planets plus Pluto). It distinguishes from the sibling 'weight-on-other-planets' by focusing on age rather than weight.

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

Usage Guidelines4/5

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

The description implicitly defines the use case: converting an age in Earth days to planetary ages. It does not explicitly name alternatives or exclusions, but the input-output relationship is unambiguous, and among siblings only this tool handles age conversion. A score of 4 reflects clear context without explicit alternative guidance.

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