Skip to main content
Glama

Stream Sunrise/Sunset

astroway_stream_sunrise_sunset

Today + tomorrow sun events.

[Group: Real-time Streaming] [Endpoint: POST /v1/stream/sunrise-sunset] [Required: latitude, longitude] [Cost: 10 credits (Tier 1)]

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": {
      "latitude": "<latitude>",
      "longitude": "<longitude>"
    },
    "name": "astroway_stream_sunrise_sunset"
  }
}

Input Schema

NameRequiredDescriptionDefault
fieldsNoComma-separated paths inside `data` to keep, e.g. "planets.name,houses.cusp".
latitudeYes
longitudeYes
precisionNoRound numbers to this many decimals.
timezoneOffsetNoHours from UTC, not minutes (3, -5, 5.5). Defaults to 0 (UTC).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed9 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\"."
    • 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."
    • removedInput schema / properties / timezoneOffset / anyOf
      Removed value: -[
      -  {
      -    "maximum": 14,
      -    "minimum": -14,
      -    "type": "number"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • changedInput schema / properties / timezoneOffset / description
      Previous value: -"Hours from UTC at the given moment, not minutes. Fractional zones are hours too: 5.5 for India, 5.75 for Nepal, -3.5 for Newfoundland. Defaults to 0, meaning UTC."New value: +"Hours from UTC, not minutes (3, -5, 5.5). Defaults to 0 (UTC)."
    • addedInput schema / properties / timezoneOffset / maximum
      Added value: +14
    • addedInput schema / properties / timezoneOffset / minimum
      Added value: +-14
    • addedInput schema / properties / timezoneOffset / type
      Added value: +[
      +  "number",
      +  "null"
      +]
    • changedOutput schema / (root)
      Previous value: -{
      -  "$schema": "http://json-schema.org/draft-07/schema#",
      -  "additionalProperties": {},
      -  "properties": {
      -    "nextEventAt": {
      -      "type": [
      -        "string",
      -        "null"
      -      ]
      -    },
      -    "nextEventKind": {
      -      "type": [
      -        "string",
      -        "null"
      -      ]
      -    },
      -    "pricing": {
      -      "type": [
      -        "string",
      -        "null"
      -      ]
      -    },
      -    "sseUpgrade": {
      -      "type": [
      -        "string",
      -        "null"
      -      ]
      -    },
      -    "tickSeconds": {
      -      "type": [
      -        "number",
      -        "null"
      -      ]
      -    },
      -    "timestamp": {
      -      "type": [
      -        "string",
      -        "null"
      -      ]
      -    },
      -    "today": {
      -      "anyOf": [
      -        {
      -          "additionalProperties": {},
      -          "properties": {
      -            "date": {
      -              "type": [
      -                "string",
      -                "null"
      -              ]
      -            },
      -            "polarState": {
      -              "type": [
      -                "string",
      -                "null"
      -              ]
      -            },
      -            "sunrise": {
      -              "type": [
      -                "string",
      -                "null"
      -              ]
      -            },
      -            "sunset": {
      -              "type": [
      -                "string",
      -                "null"
      -              ]
      -            },
      -            "warning": {
      -              "anyOf": [
      -                {},
      -                {
      -                  "type": "null"
      -                }
      -              ]
      -            }
      -          },
      -          "type": "object"
      -        },
      -        {
      -          "type": "null"
      -        }
      -      ]
      -    },
      -    "tomorrow": {
      -      "anyOf": [
      -        {
      -          "additionalProperties": {},
      -          "properties": {
      -            "date": {
      -              "type": [
      -                "string",
      -                "null"
      -              ]
      -            },
      -            "polarState": {
      -              "type": [
      -                "string",
      -                "null"
      -              ]
      -            },
      -            "sunrise": {
      -              "type": [
      -                "string",
      -                "null"
      -              ]
      -            },
      -            "sunset": {
      -              "type": [
      -                "string",
      -                "null"
      -              ]
      -            }
      -          },
      -          "type": "object"
      -        },
      -        {
      -          "type": "null"
      -        }
      -      ]
      -    },
      -    "transport": {
      -      "type": [
      -        "string",
      -        "null"
      -      ]
      -    }
      -  },
      -  "type": "object"
      -}New value: +null
  2. Changed20 schema fields changed
    • removedInput schema / properties / latitude / anyOf
      Removed value: -[
      -  {
      -    "type": "number"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • addedInput schema / properties / latitude / type
      Added value: +[
      +  "number",
      +  "null"
      +]
    • removedInput schema / properties / longitude / anyOf
      Removed value: -[
      -  {
      -    "type": "number"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • addedInput schema / properties / longitude / type
      Added value: +[
      +  "number",
      +  "null"
      +]
    • removedOutput schema / properties / nextEventAt / anyOf
      Removed value: -[
      -  {
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • addedOutput schema / properties / nextEventAt / type
      Added value: +[
      +  "string",
      +  "null"
      +]
    • removedOutput schema / properties / nextEventKind / anyOf
      Removed value: -[
      -  {
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • addedOutput schema / properties / nextEventKind / type
      Added value: +[
      +  "string",
      +  "null"
      +]
    • removedOutput schema / properties / pricing / anyOf
      Removed value: -[
      -  {
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • addedOutput schema / properties / pricing / type
      Added value: +[
      +  "string",
      +  "null"
      +]
    • removedOutput schema / properties / sseUpgrade / anyOf
      Removed value: -[
      -  {
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • addedOutput schema / properties / sseUpgrade / type
      Added value: +[
      +  "string",
      +  "null"
      +]
    • removedOutput schema / properties / tickSeconds / anyOf
      Removed value: -[
      -  {
      -    "type": "number"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • addedOutput schema / properties / tickSeconds / type
      Added value: +[
      +  "number",
      +  "null"
      +]
    • removedOutput schema / properties / timestamp / anyOf
      Removed value: -[
      -  {
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • addedOutput schema / properties / timestamp / type
      Added value: +[
      +  "string",
      +  "null"
      +]
    • changedOutput schema / properties / today / anyOf
      Previous value: -[
      -  {
      -    "additionalProperties": {},
      -    "properties": {
      -      "date": {
      -        "anyOf": [
      -          {
      -            "type": "string"
      -          },
      -          {
      -            "type": "null"
      -          }
      -        ]
      -      },
      -      "polarState": {
      -        "anyOf": [
      -          {
      -            "type": "string"
      -          },
      -          {
      -            "type": "null"
      -          }
      -        ]
      -      },
      -      "sunrise": {
      -        "anyOf": [
      -          {
      -            "type": "string"
      -          },
      -          {
      -            "type": "null"
      -          }
      -        ]
      -      },
      -      "sunset": {
      -        "anyOf": [
      -          {
      -            "type": "string"
      -          },
      -          {
      -            "type": "null"
      -          }
      -        ]
      -      },
      -      "warning": {
      -        "anyOf": [
      -          {},
      -          {
      -            "type": "null"
      -          }
      -        ]
      -      }
      -    },
      -    "type": "object"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]New value: +[
      +  {
      +    "additionalProperties": {},
      +    "properties": {
      +      "date": {
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "polarState": {
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "sunrise": {
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "sunset": {
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "warning": {
      +        "anyOf": [
      +          {},
      +          {
      +            "type": "null"
      +          }
      +        ]
      +      }
      +    },
      +    "type": "object"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • changedOutput schema / properties / tomorrow / anyOf
      Previous value: -[
      -  {
      -    "additionalProperties": {},
      -    "properties": {
      -      "date": {
      -        "anyOf": [
      -          {
      -            "type": "string"
      -          },
      -          {
      -            "type": "null"
      -          }
      -        ]
      -      },
      -      "polarState": {
      -        "anyOf": [
      -          {
      -            "type": "string"
      -          },
      -          {
      -            "type": "null"
      -          }
      -        ]
      -      },
      -      "sunrise": {
      -        "anyOf": [
      -          {
      -            "type": "string"
      -          },
      -          {
      -            "type": "null"
      -          }
      -        ]
      -      },
      -      "sunset": {
      -        "anyOf": [
      -          {
      -            "type": "string"
      -          },
      -          {
      -            "type": "null"
      -          }
      -        ]
      -      }
      -    },
      -    "type": "object"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]New value: +[
      +  {
      +    "additionalProperties": {},
      +    "properties": {
      +      "date": {
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "polarState": {
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "sunrise": {
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "sunset": {
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      }
      +    },
      +    "type": "object"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • removedOutput schema / properties / transport / anyOf
      Removed value: -[
      -  {
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • addedOutput schema / properties / transport / type
      Added value: +[
      +  "string",
      +  "null"
      +]
  3. First observed

TDQS

C2.7/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=false, openWorldHint=true, idempotentHint=false and destructiveHint=false, so safety is largely covered. The description adds genuinely useful non-annotation context (POST endpoint, required coordinates, 10-credit Tier 1 cost), but says nothing about how the stream behaves, whether it terminates, or how results are delivered.

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?

Bracketed metadata lines make endpoint, required params and cost scannable with zero filler. It is appropriately short, though the leading content sentence is thinner than the metadata framing around it.

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

Completeness2/5

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

There is no output schema, no statement of what a "stream" yields or how events are consumed, no mention of the fields/precision/timezoneOffset filtering options, and no overlap/duplication warning given idempotentHint=false. For a paid, non-idempotent, open-world streaming endpoint this leaves too much for the agent to infer.

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

Parameters2/5

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

The description only repeats the two required parameters that the schema already marks required, while latitude and longitude have no schema descriptions and get no clarification here (units, sign convention, range). With 60% coverage, the undocumented coordinate semantics remain the biggest gap and the description does not compensate for it.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

"Today + tomorrow sun events" conveys the data domain and time window, and the endpoint line confirms it is a sunrise/sunset feed. However, the description never states that it streams (push/SSE) versus returning a payload, so an agent gets the topic but not the operation's nature, and it does not distinguish this from the many other astroway_stream_* feeds.

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 at all. The only routing signal is the "[Group: Real-time Streaming]" label, which categorizes rather than instructs, leaving the agent to guess between this and siblings like astroway_stream_positions or astroway_stream_planetary_hour_changes.

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