Skip to main content
Glama

Search the local business directory

search_directory
Read-onlyIdempotent

Search Riviera Maya Elite’s directory of local businesses: over 2,000 in Playa del Carmen plus curated picks for Akumal and Cancún. Filter by free text (name, type, neighbourhood — e.g. "tacos centro", "dentist", "boat tours"), category and area. Returns name, type, neighbourhood, a map link, the business website when it is a featured business, and a link for owners to claim or correct the listing.

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

Input Schema

NameRequiredDescriptionDefault
areaNoTown: playa-del-carmen, akumal or cancun.
langNoLanguage for labels and links: "en" (default) or "es".
limitNoHow many results (default 10).
queryNoWhat to look for, e.g. "seafood", "yoga", "car rental", or a business name.
categoryNoCategory key from list_categories, e.g. "restaurants", "tours", "dental".
featured_onlyNoOnly featured businesses (they have a website).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior4/5

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

Annotations already establish read-only, idempotent, non-destructive, closed-world behavior, so the description is free to spend its words on the result shape: name, type, neighbourhood, map link, website for featured businesses, and an owner claim/correct link. It also clarifies that 'featured' implies the business has a website, which explains the featured_only flag. It stops short of describing result ordering or how matches are ranked.

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?

Two sentences, front-loaded with the corpus and coverage before dropping into filtering and return fields. The first sentence is long, with stacked parenthetical examples, but each clause carries information an agent would otherwise lack.

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?

With no output schema, the description correctly takes on the job of enumerating return fields and the featured-business caveat, and all six parameters are documented in the schema. The only shortfall is behavior around result ordering and what happens when filters return nothing — minor for a read-only search tool.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so a 3 is the baseline, but the description genuinely adds meaning: it specifies that free text matches against name, type, and neighbourhood (the schema only says 'what to look for'), and it ties featured_only to the presence of a website. It does not explain limit semantics or default paging beyond what the schema already states.

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?

The description names a specific verb and resource ('Search ... directory of local businesses') and scopes it with concrete detail: over 2,000 businesses in Playa del Carmen plus curated picks for Akumal and Cancún. It never distinguishes itself from siblings like get_business (detail lookup) or list_categories, so an agent must infer the search-vs-fetch split.

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?

It gives concrete guidance on how to use the tool — free-text matching over name, type, and neighbourhood, plus category and area filters — with illustrative queries ('tacos centro', 'dentist', 'boat tours'). There is no statement of when not to use it or which sibling to reach for instead, which keeps it below a 5.

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