Skip to main content
Glama

datasets_apple_maps_places_search

Read-only

Search the stored Apple Maps place directory by keyword, category, city, state, country, rating or radius and return places with name, category, address, coordinates, phone, website, hours and rating. Coverage is observed, not complete (Apple answers each crawl search with at most 25 places). Costs 1 credit per record returned (minimum 2), so keep page_size to what you need. Use datasets_apple_maps_places_facets to discover exact category names.

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

Input Schema

NameRequiredDescriptionDefault
qNoOptional full-text search over place name, category, city and address; every term must match. Max 256 characters.
latNoOptional latitude for radius filtering or distance sort, from -90 through 90; supply together with lon.
lonNoOptional longitude for radius filtering or distance sort, from -180 through 180; supply together with lat.
cityNoOptional exact city filter, max 128 characters.
pageNoResult page number, 1-based, default 1; page times page_size must not exceed 10000.
sortNoOptional sort order. Allowed values: relevance, rating_desc, review_count_desc, updated_at_desc, distance_asc. Defaults to relevance with q, otherwise updated_at_desc.
stateNoOptional exact state/region filter, max 128 characters.
categoryNoOptional exact Apple category name, max 128 characters, e.g. Coffee Shop; use facet=category to discover values.
radius_mNoOptional radius in meters, from 1 through 50000; requires lat and lon.
has_phoneNoOptional phone presence filter; true keeps only places with a phone number.
page_sizeNoPage size, default 20, max 100; page times page_size must not exceed 10000.
min_ratingNoOptional minimum rating, from 0 through 5. Places Apple shows no rating for have rating null; any value above 0 excludes them.
has_websiteNoOptional website presence filter; true keeps only places with a website.
postal_codeNoOptional exact postal code filter, max 128 characters.
country_codeNoOptional ISO 3166-1 alpha-2 country filter, e.g. US, GB, JP.
min_rating_countNoOptional minimum number of ratings behind the rating, 0 or greater.

Output Schema

NameRequiredDescriptionDefault
dataYesThe tool result payload (shape varies per tool; see each tool's docs resource).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.1/5.0
Behavior5/5

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

Annotations already declare read-only, open-world, non-idempotent behavior, and the description adds material facts the agent could not learn otherwise: coverage is observed rather than complete because Apple answers each crawl search with at most 25 places, and each returned record consumes a credit with a two-credit floor. These two disclosures directly shape query design (broad filters return shallow result sets; large page_size burns budget) and go well beyond the structured hints.

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?

Three sentences: capability first, then the coverage limitation, then the cost/parameter warning and the facets pointer. Every sentence carries actionable information and the most consequential constraint (incomplete coverage, credit cost) is placed prominently rather than buried.

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 16-parameter, fully described schema with an output schema, the description covers what structured fields cannot: result depths, cost, and category discovery. It stops short of explaining how filters combine with the radius/sort interaction or how this dataset search differs from the sibling nearby and item tools, which is the main remaining gap for an agent choosing among them.

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 every one of the 16 parameters is already documented in-schema with ranges, defaults and mutual requirements. The description adds only one piece of semantic linkage beyond that: page_size drives cost, so it should be sized to actual need. That is genuine added meaning but narrow, keeping it at the baseline-plus level.

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 ("Search the stored Apple Maps place directory") and enumerates both the filter axes and the returned fields (name, category, address, coordinates, phone, website, hours, rating), so the agent knows exactly what the call yields. The word "stored" implies a snapshot dataset rather than a live Apple Maps lookup, which helps separate it from the live-query siblings, but it never explicitly contrasts itself with the nearby/item dataset tools beyond pointing at facets.

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

Usage Guidelines4/5

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

Gives two concrete operating conditions: a cost model (1 credit per record, minimum 2) with an instruction to keep page_size minimal, and explicit routing to datasets_apple_maps_places_facets to resolve exact category names before filtering. What is missing is selection guidance against nearby-style or item-style siblings, so the agent must infer when radius search here is preferable to a dedicated proximity tool.

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.