Skip to main content
Glama

Sun hours at a Norwegian address

sun_hours
Read-only

Hours of direct sun per year, and at the winter and summer solstice, at a Norwegian street address, with uncertainty, method and a link. A first request in a new area may answer status 'computing' — call again after retry_after_s.

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": {
      "address": "<address>"
    },
    "name": "sun_hours"
  }
}

Input Schema

NameRequiredDescriptionDefault
langNoLanguage of the prose fields (unit, uncertainty, method, message). Default nb.
addressYesNorwegian address, e.g. 'Alpinvegen 43A, Trysil'.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, openWorldHint and destructiveHint=false, so safety is covered. Beyond that the description discloses the non-obvious asynchronous behavior (a 'computing' status with a retry_after_s wait) and the shape of the return payload, which an agent could not infer from structured fields. It does not say how long a computing state typically lasts or whether repeated calls create cost.

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 tight sentences, output content front-loaded, and the retry caveat placed second where it does not obscure the primary purpose. No filler and nothing repeated from the schema.

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 correctly carries the return-shape burden and covers the async polling path, which is the main way a call can go wrong. The remaining gap is sibling differentiation versus sun_hours_at and any statement about accuracy or coverage limits of the underlying model.

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 both the lang enum and the address format are already documented in the schema. The description reinforces the Norwegian-address constraint but adds no syntax, format, or edge-case meaning beyond that. Baseline 3 is appropriate when the schema does the heavy lifting.

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

Purpose4/5

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

The description names a specific computation and scope: hours of direct sun per year plus solstice values, at a Norwegian street address. An agent immediately knows what it gets back (numbers, uncertainty, method, link). It stops short of distinguishing itself from the sibling sun_hours_at, which likely offers the same computation at coordinates.

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?

It gives a real operational guideline: a first request in a new area may return status 'computing', in which case call again after retry_after_s. That is genuinely actionable. However, there is no guidance on when to pick this over sun_hours_at, nor any note on address-format prerequisites or failure cases.

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