Skip to main content
Glama

Crypto & Web Data API for Agents

Sunrise, sunset and solar noon for a place and date via MET Norway

world_sun
Read-only

Sunrise, sunset and solar noon for a place and date via MET Norway. Returns sunrise, sunset, solar noon times (UTC), day length and noon elevation for a place and date. Use for daylight planning. Price $0.005 per call (x402: USDC on Base or Solana).

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "world_sun"
  }
}

Input Schema

NameRequiredDescriptionDefault
txNoAlternative to the X-Payment-Tx header
latNoLatitude in decimal degrees (use with lon instead of place)
lonNoLongitude in decimal degrees
dateNoDate YYYY-MM-DD (defaults to today UTC)
placeNoCity or address, e.g. Berlin or 1600 Pennsylvania Ave. Not needed when lat and lon are given

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already declare readOnlyHint and openWorldHint, so the safety profile is covered. The description adds genuinely useful context beyond that: returned values are UTC, what fields come back, and a per-call price with x402 payment (USDC on Base or Solana) – a real invocation prerequisite. Missing only error/rate-limit behavior.

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?

Three short sentences, front-loaded with purpose. The second sentence largely restates the first with field detail, which is mild redundancy, but the price sentence earns its place.

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?

With no output schema, the description responsibly enumerates return values (sunrise, sunset, solar noon in UTC, day length, noon elevation), and it discloses the payment model. All parameters are optional, so call-shape risk is low; only edge behavior for ambiguous place names is unaddressed.

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 coverage is 100%, so each parameter is already documented. The description only echoes the 'place and date' inputs and says nothing about the tx payment parameter or the place-vs-lat/lon alternative, so it adds little beyond the schema.

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 a specific verb-and-resource pair ('Sunrise, sunset and solar noon for a place and date'), names the upstream data source (MET Norway), and is clearly distinguishable from siblings like world_time or world_weather.

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?

'Use for daylight planning' is a brief usage hint but there is no when-not guidance and no alternatives named (e.g. world_time for clocks). The intended context is implied rather than spelled out.

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