Skip to main content
Glama
online111111

public-apis-mcp-server

by online111111

get_sun_times

Retrieve sunrise, sunset, and twilight times for any location and date using a free public API.

Instructions

获取指定地点和日期的日出、日落、晨光、暮光等天文时间。 数据来源: Sunrise-Sunset API,完全免费。

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
latitudeYes纬度
longitudeYes经度
dateNo日期,格式 YYYY-MM-DD,默认今天

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior3/5

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

No annotations are provided, so the description is the sole source of behavioral info. It notes the data source and free nature but lacks details on error handling, limitations, or reliability. With an output schema present (context indicates exists), the description does not need to explain return values, but more context on behavior would be beneficial.

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 the purpose. No redundant or unnecessary information. Efficient and well-structured.

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?

For a simple tool with three parameters and an output schema, the description is largely complete. It covers the core functionality and data source. Could mention input validation but not critical given schema. Output schema handles returns.

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 describes all parameters. The description adds no additional meaning beyond matching parameters to 'location and date.' Baseline 3 is appropriate.

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 retrieves astronomical times (sunrise, sunset, etc.) for a given location and date. It uses a specific verb ('get') and resource ('astronomical times'), differentiating it from sibling tools like get_weather or get_country_info.

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?

The description mentions the data source and that it is free, but does not explicitly state when to use this tool versus alternatives or provide any exclusions. Usage context is implied but not clearly delineated.

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/online111111/public-apis-mcp-server'

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