Skip to main content
Glama

weatherearth__sunrise_sunset_times

Sunrise, sunset, solar noon and day length for a place name, e.g. query "Halifax". Source: Sunrise-Sunset.org (attribution required). License: Sunrise-Sunset.org — free use with attribution.

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": {
      "query": "<query>"
    },
    "name": "weatherearth__sunrise_sunset_times"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoMax results, 1-20 (default 5).
queryYesSearch term for this source (see the tool description for what it expects).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.1/5.0
Behavior4/5

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

With no annotations, the description carries the burden and does disclose genuinely useful operational context: the upstream source (Sunrise-Sunset.org) and that attribution is required for use. It stops short of noting error behavior for unmatched place names or any rate limits.

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?

Front-loaded with the returned fields and the example, which is efficient. The source and license are stated twice with overlapping wording ("attribution required" and "free use with attribution"), which is mildly redundant.

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 two-parameter read tool with no output schema, listing the return fields, the input type, and the data source is nearly complete. Only omission is any statement about what happens when the place is not found.

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 100%, but the schema explicitly defers to the description ("see the tool description for what it expects"), and the description supplies that meaning by showing the query is a place name with a concrete example. The limit parameter is left unexplained, keeping it below 5.

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?

States specific verbs and resources — sunrise, sunset, solar noon and day length — plus the input type (a place name), so an agent knows exactly what it retrieves and cannot confuse it with the sibling weather/forecast tools.

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 example query "Halifax" implies the tool takes a place name and is used for astronomical day data, but there is no explicit when-to-use, when-not-to-use, or named alternative guidance; usage is only implied.

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.