Skip to main content
Glama

Mosques and prayer rooms nearby

find_places_to_pray
Read-onlyIdempotent

Mosques and prayer rooms (musholla, surau) near a city or coordinates, nearest first, with listed facilities (Jumu'ah, women's prayer area, wudu) and each one's HalalTrip page.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "find_places_to_pray"
  }
}

Input Schema

NameRequiredDescriptionDefault
kindNoMosques only, prayer rooms only, or both. Default both.
limitNoHow many places, 1 to 10, nearest first. Default 5.
placeNoCity name, optionally with country ("Kuala Lumpur", "London, United Kingdom"), or a neighbourhood or landmark in HalalTrip's listings ("Bugis, Singapore"). For other areas, give coordinates.
latitudeNoLatitude in degrees, instead of place.
longitudeNoLongitude in degrees, instead of place.
radius_kmNoHow far to look, in km (1 to 25). Default 5.
facilitiesNoOnly places listing all of these: jumuah (Friday prayers), women (women's prayer area), wudu (ablution facilities).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / place / description
      Previous value: -"City name, optionally with country: \"Kuala Lumpur\", \"London, United Kingdom\"."New value: +"City name, optionally with country (\"Kuala Lumpur\", \"London, United Kingdom\"), or a neighbourhood or landmark in HalalTrip's listings (\"Bugis, Singapore\"). For other areas, give coordinates."
  2. Added

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive, closed-world behavior, so the safety profile is free. The description adds value beyond that by disclosing return content — listed facilities plus each place's HalalTrip page — and the nearest-first ordering, which matters because there is no output schema. It omits any note on what happens when a place is not found or how radius limits interact with results.

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?

A single dense sentence with the resource and ordering front-loaded and no filler. It is efficient, though the trailing clause about facilities and HalalTrip pages is packed tightly enough to need a second read.

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 7-parameter, all-optional search tool with no output schema, the description covers what is searched, how results are ordered, and what each result contains, which is most of what an agent needs. The remaining gap — fallback behavior when place resolution fails — is partly covered by the schema's coordinate 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 description coverage is 100% and every parameter, including the kind and facilities enums, is already documented in the schema. The description only restates the city/coordinates duality and the facility list, adding no format details, defaults, or edge-case behavior beyond the schema. Baseline 3 applies when the schema does the heavy lifting.

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 — "Mosques and prayer rooms (musholla, surau) near a city or coordinates, nearest first" — and implicitly separates it from airport-specific siblings by scoping to a city or coordinates. It never names an alternative tool, so sibling differentiation is only implied rather than 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?

Usage is implied by the phrasing "near a city or coordinates" and "For other areas, give coordinates" in the schema, but the description itself gives no when-to-use or when-not-to-use guidance, and does not point to get_airport_prayer_rooms or get_prayer_times as the appropriate alternatives.

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