Skip to main content
Glama

Namaz Times AI Service

Preview location elevation and timezone

resolve_prayer_context
Read-only

Resolve date-specific timezone and automatic or manual elevation for the user's confirmed coordinates. Use before prayer calculation to resolve confirmed current-request location and metadata; no prayer times calculated.

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": "resolve_prayer_context"
  }
}

Input Schema

NameRequiredDescriptionDefault
dateYesLocal reference date YYYY-MM-DD
clockNo12h
methodNohanafi
latitudeYesLatitude of the requested location (not guessed)
timezoneNoOptional explicit IANA timezone, e.g. Asia/Karachi
longitudeYesLongitude of the requested location (not guessed)
institutionNoOptional requested institution: شعبہ فلکیات دعوتِ اسلامی / Shoba Falakiyat Dawat-e-Islami. Routing label; official calculation-method match is not yet verified.
time_formatNoseconds is default; careful_minutes is an internal identifier for the requested HH:MM format, not print precautions.seconds
elevation_ftNo
location_nameNoConfirmed location label; do not invent a city from coordinates.
elevation_modeNoauto

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.4/5.0
Behavior3/5

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

The annotations already declare readOnlyHint=true and openWorldHint=true, so the safety profile is covered by structured data. The description adds useful framing by calling this a pre-calculation resolution step and flagging the auto/manual elevation distinction, but it never explains the external lookups implied by openWorldHint or what happens when the optional timezone is null.

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?

Two sentences with the substantive purpose stated first and the ordering constraint second; nothing is padding. The wording is dense but each clause carries information.

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?

For an 11-parameter read tool with no output schema, the definition covers intent but not outcome: it never indicates that the response contains a resolved timezone and an elevation value, nor how the auto mode derives elevation. It is adequate to select the tool but thin for invoking it confidently on the optional parameters.

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 64% across 11 parameters, so the schema carries most of the load. The description reinforces the key semantic constraint that coordinates must be confirmed and describes the auto/manual elevation behavior, but it says nothing about the interaction between elevation_mode=manual and elevation_ft, or about the method, institution, and time_format parameters.

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 verb and resource: resolving date-specific timezone and elevation for confirmed coordinates, with an explicit disclaimer that no prayer times are calculated. This separates it from the prayer-time siblings, though it never names the closest alternative, get_timezone_info, which overlaps on the timezone half of the job.

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 real ordering guidance ("Use before prayer calculation") and an exclusion ("no prayer times calculated"), which is more than most definitions offer. However, it never says when to prefer get_timezone_info or find_location instead, so an agent must infer boundaries from sibling names alone.

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