Skip to main content
Glama

qibla_direction

Read-onlyIdempotent

Get the Qibla compass bearing from a given location toward Mecca.

Instructions

Get the Qibla compass bearing from a given location toward Mecca.

Input Schema

NameRequiredDescriptionDefault
latitudeYesLatitude in decimal degrees.
longitudeYesLongitude in decimal degrees.

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

A3.9/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, openWorldHint, and destructiveHint=false, so the safety profile is covered. The description adds that the bearing is computed from a location toward Mecca, but provides no additional behavioral context beyond what the annotations and schema already supply.

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 with no wasted words. It states the operation, input source, and target efficiently.

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

Completeness5/5

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

For a simple two-parameter read-only computation with an output schema and rich annotations, the description is complete enough. It need not explain return values because the output schema exists, and the annotations cover safety behavior.

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 latitude and longitude are fully documented in the schema. The description only says 'from a given location' and does not add syntax, coordinate system, or format details beyond the schema baseline.

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 states a specific verb ('Get'), resource ('Qibla compass bearing'), source ('from a given location'), and target ('toward Mecca'). It is clearly distinguishable from siblings such as prayer_times_for or weather tools.

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 the tool is used to obtain a Qibla bearing from coordinates, but it does not explicitly state when to use it versus alternatives or any prerequisites. Usage is inferable from the purpose, but no routing guidance is provided.

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

Deploy Server

Other Tools