Skip to main content
Glama

The sky on a day

get_occasion_sky
Read-onlyIdempotent

Describes the sky on a day that matters to someone: the Sun and Moon signs, the Moon's phase and any retrograde planets, with a card title and short lines. With a place it adds sunset, golden hour, dusk, the Moon and the planets visible that evening. It rates the date from 0 to 100 with a verdict, the astrological reasons (Venus, the Moon's phase and sign, retrograde planets) and a "Reading confidence NN%" label that says how specific the details were, not the odds of an event. Given a window of up to 92 days as searchFrom and searchTo it rates every day and returns the three best-rated days. It rates one date per call. cardUrl is the complete link to the printable card, including every field after #; when cardUrl is null, the returned page link takes its place. shareUrl is the link for sharing the rating. It fits a wedding, an anniversary, the day two people met, a birthday, a pet, a new home, a job, a graduation, a retirement or a gathering. The rating is astrology's traditional reading; it never guarantees how the day will go. A birthday card for a day in the last 13 years is refused. A card's link carries the occasion's own day, time, zone and rounded coordinates, and no name. The place name and first names are printed on the card only and are not used in the calculation.

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": {
      "occasion": "<occasion>"
    },
    "name": "get_occasion_sky"
  }
}

Input Schema

NameRequiredDescriptionDefault
dateNoThe day, such as 2027-09-18 (years 1800 to 2199). Needed unless searchFrom and searchTo are given.
timeNoThe local clock time, such as 16:30, if the person gives one. Needs zone.
zoneNoThe place's time zone, such as Europe/Lisbon. Needed with a time or a place.
namesNoOptional: up to two first names to print on the card, only if the person asks for them. Display only, not stored.
placeNoOptional place name printed on the card, such as Lisbon, Portugal. Display only: it is not used in the calculation and is not stored.
latitudeNoOptional. The place's latitude, used only to work out sunset, golden hour and the evening sky there. Give it with longitude and zone. Nothing is stored.
occasionYesWhat the day is: wedding, anniversary, met (the day they met), birthday, pet, home, job, graduation, retirement or gathering.
searchToNoThe last day of the window to search, such as 2027-09-30, at most 92 days after searchFrom counting both days. Every day is rated and the three best come back.
longitudeNoOptional. The place's longitude, with latitude, for the evening sky. Nothing is stored.
searchFromNoTo find the best days: the first day of the window to search, such as 2027-09-01. Give it with searchTo.

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / date / description
      Previous value: -"The day, such as 2027-09-18 (years 1800–2199). Needed unless searchFrom and searchTo are given."New value: +"The day, such as 2027-09-18 (years 1800 to 2199). Needed unless searchFrom and searchTo are given."
  2. Changed6 schema fields changed
    • changedInput schema / properties / date / description
      Previous value: -"The day, such as 2027-06-12 (years 1800–2199). Needed unless searchFrom and searchTo are given."New value: +"The day, such as 2027-09-18 (years 1800–2199). Needed unless searchFrom and searchTo are given."
    • changedInput schema / properties / place / description
      Previous value: -"Optional place name printed on the card, such as Florence, Italy. Display only: it is not used in the calculation and is not stored."New value: +"Optional place name printed on the card, such as Lisbon, Portugal. Display only: it is not used in the calculation and is not stored."
    • changedInput schema / properties / searchFrom / description
      Previous value: -"To find the best days: the first day of the window to search, such as 2027-06-01. Give it with searchTo."New value: +"To find the best days: the first day of the window to search, such as 2027-09-01. Give it with searchTo."
    • changedInput schema / properties / searchTo / description
      Previous value: -"The last day of the window to search, such as 2027-06-30, at most 92 days after searchFrom counting both days. Every day is rated and the three best come back."New value: +"The last day of the window to search, such as 2027-09-30, at most 92 days after searchFrom counting both days. Every day is rated and the three best come back."
    • changedInput schema / properties / time / description
      Previous value: -"The local clock time, such as 19:00, if the person gives one. Needs zone."New value: +"The local clock time, such as 16:30, if the person gives one. Needs zone."
    • changedInput schema / properties / zone / description
      Previous value: -"The place's time zone, such as Europe/Rome. Needed with a time or a place."New value: +"The place's time zone, such as Europe/Lisbon. Needed with a time or a place."
  3. First observed

TDQS

A4.3/5.0
Behavior5/5

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

Beyond the readOnly/idempotent/non-destructive annotations, it discloses concrete behavior: the rating has a verdict and astrological reasons, the 'Reading confidence NN%' label means specificity rather than odds, cardUrl is null when no card exists and the page link substitutes, and place names and coordinates are display-only and never stored. The refusal rule and the privacy note about what the card link carries are exactly the kind of side-effect detail annotations cannot express.

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?

Purpose and core outputs are front-loaded, and nearly every sentence carries new information about outputs, the search window, link fallbacks or refusals. It runs long and the rating concept is restated several times, which costs a little density.

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?

For a ten-parameter tool with a rich result, the description covers both modes, all notable return fields (cardUrl, shareUrl, confidence label) and the edge cases (null card, 13-year birthday refusal, no storage). With an output schema present, nothing an agent needs in order to call it correctly is missing.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is already 100%, so the baseline is 3; the description still adds relational meaning the schema does not: date is needed unless searchFrom and searchTo are given, the window is capped at 92 days and returns the three best-rated days, and names/place are print-only while latitude/longitude drive only the evening-sky calculations. That goes beyond restating field descriptions.

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 opens with a specific verb and resource: it describes the sky on a day that matters, listing Sun and Moon signs, phase, retrogrades, a 0-100 rating and a printable card. It also covers the window-search mode and the one-date-per-call limit, so the operation is unambiguous. It never names a sibling such as get_sky to contrast with, so the differentiation is implicit in the 'occasion' framing rather than stated.

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?

It states when the tool fits (wedding, anniversary, the day two people met, birthday, pet, home, job, graduation, retirement, gathering), how the search-window mode works versus a single date, and one explicit exclusion: a birthday card for a day in the last 13 years is refused. It stops short of pointing to an alternative tool when the occasion does not apply.

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