Skip to main content
Glama

Sun hours at a point in Norway

sun_hours_at
Read-only

Same as sun_hours for a WGS84 point in mainland Norway, for a cabin or plot without a street address.

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": {
      "lat": "<lat>",
      "lon": "<lon>"
    },
    "name": "sun_hours_at"
  }
}

Input Schema

NameRequiredDescriptionDefault
latYes
lonYes
langNoLanguage of the prose fields (unit, uncertainty, method, message). Default nb.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false and openWorldHint=true, so the safety profile needs no restating. The description adds the notable constraint that coverage is limited to mainland Norway at WGS84 coordinates. However, it omits a key behavioral fact: what time span the sun hours are computed over (day, month, year), which is central to interpreting results.

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?

A single sentence with no filler, and the differentiating condition is front-loaded before the use case. Nothing could be trimmed without losing the sibling reference or the geographic scope.

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

Completeness2/5

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

With no output schema and no return-value description, the agent cannot tell what a result looks like or what period the sun hours cover. For a computation tool with three parameters and only 33% schema coverage, the description should state at least the period/unit of the returned figure.

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 33%, with lat/lon bounded but undescribed and only lang documented. The description partially compensates by naming the coordinate system (WGS84) and the geographic region matching the numeric bounds. It says nothing about units (degrees, assumed) or the existence of the lang parameter, so coverage of the undocumented params is only partial.

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 identifies the operation by delegation ('Same as sun_hours') and specifies the key differentiator: a WGS84 point in mainland Norway rather than an address. Combined with the title ('Sun hours at a point in Norway'), an agent can distinguish it from the sun_hours sibling. It loses a point because the actual verb/result ('compute sun hours') is only inherited from the sibling's definition, not stated outright.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Gives a concrete selection condition: 'for a cabin or plot without a street address', which implicitly routes address-based queries to sun_hours. There is no explicit 'do not use when...' clause, but the alternative and the condition that selects it are both derivable in one reading.

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