Skip to main content
Glama

shadow_times

Read-only

Find the times of day when the sun matches a measured shadow at a known place and date from shadow direction, object height and shadow length, or both.

Instructions

Find the times of day at which the sun matches a measured shadow at a known place and date. Give the compass direction the shadow points, or an object's height and its shadow length, or both.

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": {
      "latitude": "<latitude>",
      "longitude": "<longitude>",
      "date": "<date>"
    },
    "name": "shadow_times"
  }
}

Input Schema

NameRequiredDescriptionDefault
dateYesLocal date, YYYY-MM-DD
latitudeYesDecimal degrees, north positive
longitudeYesDecimal degrees, east positive
toleranceNoDegrees of measurement error to allow (default 2)
utc_offsetNoLocal offset from UTC such as +05:30 (default Z)
object_heightNoHeight of the object, any unit
shadow_lengthNoShadow length, same unit
shadow_azimuthNoDirection the shadow points, degrees clockwise from north

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.1

TDQS

A3.6/5.0
Behavior3/5

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

readOnlyHint=true already tells the agent this is a safe, non-mutating computation, so the description carries a lower burden. It adds the useful implication that results are plural ('times of day'), meaning multiple solutions may be returned, but says nothing about what happens when no time matches or how tolerance affects the answer.

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 short sentences, front-loaded with the core purpose followed by the input-shape rule. Every clause carries information; nothing is repeated from the schema or annotations.

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

Completeness3/5

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

With eight parameters, no output schema and no annotations beyond readOnlyHint, the description does not explain the shape of the returned result or the no-match case. It covers the input side adequately but leaves the agent guessing about output for a computation tool.

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%, so the baseline is 3, but the description adds meaning the schema does not: only latitude, longitude and date are required in the schema, and the description supplies the missing constraint that at least one shadow measurement (azimuth, or height plus length, or both) must be supplied. That is real semantics beyond the structured fields.

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?

States a specific verb and resource: 'Find the times of day at which the sun matches a measured shadow' at a given place and date. This is the inverse of a sun-position lookup, and an agent can infer the distinction, but the description never names the sibling sun_position to make the contrast explicit.

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 tells the caller which input shapes are acceptable ('compass direction ... or an object's height and its shadow length, or both'), which is genuine usage guidance. It gives no when-not-to-use conditions and never points to an alternative tool for forward position lookups, so the guidance is implied rather than explicit.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.