Skip to main content
Glama

PlainAstro

Get planet positions

get_planet_positions
Read-onlyIdempotent

Use this when the user asks where the planets are right now or at a given date and time: the zodiac sign and degree of the Sun, Moon and the planets Mercury to Pluto, which planets are retrograde, and the phase of the Moon. It is not tied to anyone's birth; for a person's chart use calculate_birth_chart.

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": "get_planet_positions"
  }
}

Input Schema

NameRequiredDescriptionDefault
dateNoDate as YYYY-MM-DD, between 1900 and 2100. Leave it out for the current moment.
time_utcNoTime in UTC, 24-hour HH:mm. Only with date; default 12:00.

Output Schema

NameRequiredDescriptionDefault
positionsYes"degree" is the position within the sign in degrees and minutes (for example 22°48′); "longitude" is the ecliptic longitude from 0 to 360.
moon_phaseYes
calculated_for_utcYes
retrograde_planetsYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.5/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint and openWorldHint=false, so the safety profile is covered. The description adds genuinely useful context beyond that: the results are moment-in-time/date-based and independent of any birth data, which is the main behavioral confusion risk for an astrology API. It does not discuss caching or ephemeris precision, but with an output schema present that is a minor gap.

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 sentences, no filler. The usage trigger comes first, the output inventory second, and the sibling disambiguation closes it out, so the most decision-relevant information is front-loaded.

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?

An output schema handles return-value detail, annotations handle safety and idempotency, and the schema fully documents both optional parameters. The description supplies the one thing structured fields cannot: the natal-vs-current distinction and the sibling to use instead.

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%: the schema documents the YYYY-MM-DD date format, range 1900-2100, the HH:mm UTC time format, and the 12:00 default. The description only echoes 'at a given date and time' and adds no format or default detail beyond that, so baseline 3 applies.

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 names the resource (planet positions) and enumerates exactly what is returned: zodiac sign and degree for the Sun, Moon, Mercury through Pluto, retrograde status, and Moon phase. It also explicitly separates itself from calculate_birth_chart, so an agent can pick between them without opening either schema.

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?

It states the triggering condition ('when the user asks where the planets are right now or at a given date and time') and names the alternative plus the condition that selects it ('not tied to anyone's birth; for a person's chart use calculate_birth_chart'). Both when-to-use and when-not-to-use are covered explicitly.

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