Skip to main content
Glama

geo_sun

Get sun position data for any geographic coordinate and date: sunrise, sunset, solar noon, civil dawn/dusk, and day length. All times in UTC.

Instructions

Calculate sun position data for a geographic coordinate on a given date: sunrise, sunset, solar noon, civil dawn/dusk, and day length in hours. All times are in UTC.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
latYesLatitude of the observation point (-90 to 90)
lngYesLongitude of the observation point (-180 to 180)
dateNoISO date string (YYYY-MM-DD) for the calculation. Defaults to today if omitted.
Behavior3/5

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

With no annotations, the description must disclose all behaviors. It states times are in UTC, which is helpful. However, it does not mention edge cases like polar regions (no sunrise/sunset), error handling, or the effect of missing date (defaults to today, as per schema). Basic transparency but incomplete.

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, front-loaded with key functionality, no redundancy. Every word adds value. Ideal length for a simple calculator tool.

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

Completeness4/5

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

The description adequately covers inputs, outputs, and time zone for a tool with no output schema. It could mention edge cases or return format, but is sufficient for typical use. Lacks only minor details.

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 100%, so the schema already documents parameters. The description adds meaning by listing outputs, but does not enrich parameter understanding (e.g., lat/lng bounds or date format). 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 clearly states the tool calculates sun position data and lists specific outputs (sunrise, sunset, solar noon, civil dawn/dusk, day length). This verb+resource combination is distinct from sibling tools like geo_elevation or geo_timezone, making its purpose unambiguous.

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?

No explicit guidance on when to use this tool versus alternatives. The description lacks conditions, prerequisites, or mentions of when not to use. While siblings are mostly non-overlapping, there is no proactive direction for the agent.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/badchars/satellite-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server