Skip to main content
Glama

get_qibla

Read-only

Get the Qibla direction (compass bearing to the Kaaba) for a city or coordinates.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
cityNoCity name to resolve, e.g. "Dhaka" or "Madinah". Ignored when latitude and longitude are given.
latitudeNoLatitude in degrees, north positive.
timezoneNoIANA timezone, e.g. "Asia/Dhaka". Used with explicit latitude/longitude. If omitted, the zone is inferred from the nearest known city and reported in the answer.
longitudeNoLongitude in degrees, east positive.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / timezone / description
      Previous value: -"IANA timezone, e.g. \"Asia/Dhaka\". Used with explicit latitude/longitude. Defaults to UTC if omitted."New value: +"IANA timezone, e.g. \"Asia/Dhaka\". Used with explicit latitude/longitude. If omitted, the zone is inferred from the nearest known city and reported in the answer."
  2. First observed

TDQS

A3.7/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, so the description need not re-state safety. It adds the clarification that the result is a compass bearing, which is useful, but does not disclose edge cases, error handling, or limitations beyond what annotations provide.

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?

The description is a single, front-loaded sentence of 15 words. It conveys the purpose efficiently without redundancy or unnecessary detail.

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?

No output schema exists, but the description hints at the return value (compass bearing). With zero required parameters, the description does not explicitly state that at least one of city or latitude/longitude must be provided, which is a potential gap. The schema clarifies the precedence between inputs, so overall the definition is adequate but not exhaustive.

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 description coverage is 100%, so each parameter is already documented. The description adds a high-level summary ('for a city or coordinates') but does not add meaning beyond the schema's individual parameter descriptions.

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

Purpose5/5

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

The description clearly states the tool gets the Qibla direction (compass bearing to the Kaaba) for a city or coordinates. It uses a specific verb+resource and is distinguishable from sibling tools which cover prayers, calendar dates, and other religious topics.

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?

The description implies usage when a Qibla direction is needed, but provides no explicit when-to-use guidance or references to alternative tools. There is no exclusion of cases where another tool would be more appropriate.

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.