Skip to main content
Glama

Namaz Times AI Service

Local timezone and DST

get_timezone_info
Read-only

Resolve IANA timezone, UTC offset and daylight saving offset for a location on a given date.

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

Input Schema

NameRequiredDescriptionDefault
dateYesYYYY-MM-DD
latitudeYes
timezoneNoOptional IANA timezone
longitudeYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true and openWorldHint=false, so safety and locality are covered. The description adds value by naming the three values returned, which substitutes for the absent output schema. It says nothing about failure behavior for out-of-range coordinates, ambiguous locations, or what happens when the optional timezone conflicts with the coordinates.

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?

One sentence, front-loaded with the verb and output list, with no filler. It is terse but not truncated; the only cost is that its brevity leaves the usage and parameter gaps above unfilled.

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?

For a read-only lookup with no output schema, the description names the three return values, which is the main thing missing from structured data. Remaining gaps are error/edge-case behavior and the semantics of the optional timezone input, both modest for a deterministic resolver whose annotations already signal a safe, closed-world read.

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 50%: date and timezone carry descriptions, latitude and longitude rely on self-evident names plus min/max bounds. The description maps latitude/longitude/date as 'a location on a given date', which adds some meaning, but it never explains the optional 'timezone' parameter's role (override? fallback for ambiguous coordinates?), which is the single most ambiguous input.

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?

Specific verb ('Resolve') plus three named outputs (IANA timezone, UTC offset, DST offset), scoped to 'a location on a given date'. An agent knows exactly what it gets back. It does not differentiate itself from siblings like find_location or resolve_prayer_context, leaving overlap resolution to inference.

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

Usage Guidelines2/5

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

No when-to-use, when-not-to-use, or alternative routing is stated. The phrase 'on a given date' hints that DST depends on the date supplied, but nothing tells the agent when to prefer this over find_location or resolve_prayer_context, nor what prerequisites (valid coordinates, date format) must hold.

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