Skip to main content
Glama

AstroWay Astrology API (full catalogue)

Ephemeris Range

astroway_western_ephemeris
Read-onlyIdempotent

Return planet positions for a date range with configurable step (min 0.01 days). Max range: 1 year for sub-day steps, 5 years otherwise. Optionally filter by planetIds.

[Group: Core] [Endpoint: POST /v1/ephemeris] [Required: startDate, endDate] [Cost: 100 credits (Tier 4)]

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "startDate": "<startDate>",
      "endDate": "<endDate>"
    },
    "name": "astroway_western_ephemeris"
  }
}

Input Schema

NameRequiredDescriptionDefault
fieldsNoComma-separated paths inside `data` to keep, e.g. "planets.name,houses.cusp".
endDateYes
stepDaysNo
planetIdsNo
precisionNoRound numbers to this many decimals.
startDateYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed8 schema fields changed
    • removedInput schema / $schema
      Removed value: -"http://json-schema.org/draft-07/schema#"
    • changedInput schema / properties / fields / description
      Previous value: -"Compact mode: comma-separated dotted paths to keep, relative to `data`, e.g. \"planets.name,planets.longitude,houses.cusp\". Omit for the whole response."New value: +"Comma-separated paths inside `data` to keep, e.g. \"planets.name,houses.cusp\"."
    • removedInput schema / properties / planetIds / items / anyOf
      Removed value: -[
      -  {
      -    "maximum": 9007199254740991,
      -    "minimum": 0,
      -    "type": "integer"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • addedInput schema / properties / planetIds / items / maximum
      Added value: +9007199254740991
    • addedInput schema / properties / planetIds / items / minimum
      Added value: +0
    • addedInput schema / properties / planetIds / items / type
      Added value: +[
      +  "integer",
      +  "null"
      +]
    • changedInput schema / properties / precision / description
      Previous value: -"Compact mode: round fractional numbers to this many decimals. Longitudes carry 14 by default; 2 is finer than any chart is drawn."New value: +"Round numbers to this many decimals."
    • changedOutput schema / (root)
      Previous value: -{
      -  "$schema": "http://json-schema.org/draft-07/schema#",
      -  "additionalProperties": {},
      -  "properties": {
      -    "ephemeris": {
      -      "anyOf": [
      -        {
      -          "items": {
      -            "anyOf": [
      -              {
      -                "additionalProperties": {},
      -                "properties": {
      -                  "date": {
      -                    "type": [
      -                      "string",
      -                      "null"
      -                    ]
      -                  },
      -                  "jd": {
      -                    "type": [
      -                      "number",
      -                      "null"
      -                    ]
      -                  },
      -                  "positions": {
      -                    "anyOf": [
      -                      {
      -                        "items": {
      -                          "anyOf": [
      -                            {
      -                              "additionalProperties": {},
      -                              "properties": {
      -                                "isRetrograde": {
      -                                  "type": [
      -                                    "boolean",
      -                                    "null"
      -                                  ]
      -                                },
      -                                "longitude": {
      -                                  "type": [
      -                                    "number",
      -                                    "null"
      -                                  ]
      -                                },
      -                                "planetId": {
      -                                  "type": [
      -                                    "number",
      -                                    "null"
      -                                  ]
      -                                }
      -                              },
      -                              "type": "object"
      -                            },
      -                            {
      -                              "type": "null"
      -                            }
      -                          ]
      -                        },
      -                        "type": "array"
      -                      },
      -                      {
      -                        "type": "null"
      -                      }
      -                    ]
      -                  }
      -                },
      -                "type": "object"
      -              },
      -              {
      -                "type": "null"
      -              }
      -            ]
      -          },
      -          "type": "array"
      -        },
      -        {
      -          "type": "null"
      -        }
      -      ]
      -    }
      -  },
      -  "type": "object"
      -}New value: +null
  2. Changed3 schema fields changed
    • removedInput schema / properties / stepDays / anyOf
      Removed value: -[
      -  {
      -    "type": "number"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • addedInput schema / properties / stepDays / type
      Added value: +[
      +  "number",
      +  "null"
      +]
    • changedOutput schema / properties / ephemeris / anyOf
      Previous value: -[
      -  {
      -    "items": {
      -      "anyOf": [
      -        {
      -          "additionalProperties": {},
      -          "properties": {
      -            "date": {
      -              "anyOf": [
      -                {
      -                  "type": "string"
      -                },
      -                {
      -                  "type": "null"
      -                }
      -              ]
      -            },
      -            "jd": {
      -              "anyOf": [
      -                {
      -                  "type": "number"
      -                },
      -                {
      -                  "type": "null"
      -                }
      -              ]
      -            },
      -            "positions": {
      -              "anyOf": [
      -                {
      -                  "items": {
      -                    "anyOf": [
      -                      {
      -                        "additionalProperties": {},
      -                        "properties": {
      -                          "isRetrograde": {
      -                            "anyOf": [
      -                              {
      -                                "type": "boolean"
      -                              },
      -                              {
      -                                "type": "null"
      -                              }
      -                            ]
      -                          },
      -                          "longitude": {
      -                            "anyOf": [
      -                              {
      -                                "type": "number"
      -                              },
      -                              {
      -                                "type": "null"
      -                              }
      -                            ]
      -                          },
      -                          "planetId": {
      -                            "anyOf": [
      -                              {
      -                                "type": "number"
      -                              },
      -                              {
      -                                "type": "null"
      -                              }
      -                            ]
      -                          }
      -                        },
      -                        "type": "object"
      -                      },
      -                      {
      -                        "type": "null"
      -                      }
      -                    ]
      -                  },
      -                  "type": "array"
      -                },
      -                {
      -                  "type": "null"
      -                }
      -              ]
      -            }
      -          },
      -          "type": "object"
      -        },
      -        {
      -          "type": "null"
      -        }
      -      ]
      -    },
      -    "type": "array"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]New value: +[
      +  {
      +    "items": {
      +      "anyOf": [
      +        {
      +          "additionalProperties": {},
      +          "properties": {
      +            "date": {
      +              "type": [
      +                "string",
      +                "null"
      +              ]
      +            },
      +            "jd": {
      +              "type": [
      +                "number",
      +                "null"
      +              ]
      +            },
      +            "positions": {
      +              "anyOf": [
      +                {
      +                  "items": {
      +                    "anyOf": [
      +                      {
      +                        "additionalProperties": {},
      +                        "properties": {
      +                          "isRetrograde": {
      +                            "type": [
      +                              "boolean",
      +                              "null"
      +                            ]
      +                          },
      +                          "longitude": {
      +                            "type": [
      +                              "number",
      +                              "null"
      +                            ]
      +                          },
      +                          "planetId": {
      +                            "type": [
      +                              "number",
      +                              "null"
      +                            ]
      +                          }
      +                        },
      +                        "type": "object"
      +                      },
      +                      {
      +                        "type": "null"
      +                      }
      +                    ]
      +                  },
      +                  "type": "array"
      +                },
      +                {
      +                  "type": "null"
      +                }
      +              ]
      +            }
      +          },
      +          "type": "object"
      +        },
      +        {
      +          "type": "null"
      +        }
      +      ]
      +    },
      +    "type": "array"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
  3. First observed

TDQS

A3.6/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive, and closed-world, so the safety profile is covered. The description goes beyond them by disclosing the minimum step (0.01 days), the tiered maximum range, the credit cost (100 credits, Tier 4), and the backing endpoint — concrete operational constraints an agent would otherwise hit blind.

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

Conciseness4/5

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

Two tight sentences lead with the core operation and constraints, followed by a compact bracketed metadata block for group, endpoint, required params, and cost. Every sentence earns its place; the only minor cost is that the bracketed block is not prose-integrated.

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?

For a 6-parameter tool with 33% schema coverage and no output schema, the description covers limits and cost but says nothing about the shape of the returned series or how 'fields' and 'precision' interact with it. Adequate to call correctly in the common case, but incomplete for power usage.

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 only 33%, so the description must compensate. It explains stepDays (minimum 0.01 days) and planetIds as an optional filter, but leaves 'fields' (comma-separated paths), 'precision' rounding, and the date format unexplained — those are only partially recoverable from the schema itself.

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 gives a specific verb and resource ('Return planet positions') plus the key scope qualifier ('for a date range with configurable step'), which cleanly separates it from a single-moment planet tool. It does not name or contrast with any sibling such as astroway_western_planets, so an agent must infer the boundary itself.

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?

Usage is implied by the range/step framing and the stated hard limits (1 year for sub-day steps, 5 years otherwise), which tell the agent when a request will be rejected. There is no explicit statement of when to choose this over a single-chart or single-moment planet tool, and no preconditions or alternatives are named.

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