Skip to main content
Glama

Search local businesses

search_businesses
Read-only

Find local businesses that take bookings: salons, massage, doctors, trainers, yoga classes, courts, scooter/car/boat rental, home services, tours. Filter by text, city/country or coordinates and category. Awning does not guess where the user is from the request — it comes from your servers — so pass their city or near coordinates when you know them. Returns cards with business_id, offerings and page_url. A card with demo: true is a sample listing, not a real place: say so if you mention it and offer real places first. Use this first when the user wants a place or a service; when they pick one, continue with get_business. Not for the user's own bookings (my_bookings) or for an owner's businesses (owner_status).

Input Schema

NameRequiredDescriptionDefault
cityNoCity as people write it, e.g. 'Nairobi' or 'New York'. Also matches a district or neighbourhood such as 'Brooklyn' or 'Williamsburg'.
nearNoThe user's position, when you know it. With it only places within radius_km come back, and closer ones rank higher.
limitNoHow many cards to return. Default 10, at most 25.
queryNoWhat the user wants, in a few words, e.g. 'haircut' or 'scooter rental'
countryNoISO 3166-1 alpha-2, e.g. KE, TH, US
categoryNoCategory code prefix, e.g. beauty or rental_vehicle
radius_kmNoSearch radius around `near`, in kilometres. Default 10.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed6 schema fields changed
    • addedInput schema / properties / city / description
      Added value: +"City as people write it, e.g. 'Nairobi' or 'New York'. Also matches a district or neighbourhood such as 'Brooklyn' or 'Williamsburg'."
    • addedInput schema / properties / limit / description
      Added value: +"How many cards to return. Default 10, at most 25."
    • addedInput schema / properties / near / description
      Added value: +"The user's position, when you know it. With it only places within radius_km come back, and closer ones rank higher."
    • addedInput schema / properties / near / properties / lat / description
      Added value: +"Latitude, -90 to 90"
    • addedInput schema / properties / near / properties / lng / description
      Added value: +"Longitude, -180 to 180"
    • addedInput schema / properties / radius_km / description
      Added value: +"Search radius around `near`, in kilometres. Default 10."
  2. First observed

TDQS

A4.9/5.0
Behavior5/5

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

Annotations already cover the safety profile (readOnlyHint=true, openWorldHint=false); the description adds real behavioral context beyond them: results come back as cards containing business_id, offerings and page_url, and any card with demo:true is sample data that should be disclosed and de-prioritized. It also explains that location is not inferred from the request but comes from the server.

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?

Front-loaded with what the tool finds and how to filter, then demo-flag handling, then routing. Four dense sentences with no filler; even the parenthetical category list earns its place by scoping expectations.

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?

There is no output schema, and the description compensates by naming the returned fields (business_id, offerings, page_url) and the demo:true caveat. For a 7-parameter, optional-only search tool, an agent has everything needed to call it and interpret the result.

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 the baseline is 3; the description earns an extra point by explaining the filtering modes at a conceptual level (text, city/country, coordinates/category) and, importantly, clarifying the semantics of location — 'Awning does not guess where the user is from the request... so pass their city or near coordinates when you know them'. It does not restate limits or radius formatting, but that is already in the schema.

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?

States a specific verb ('Find') and resource ('local businesses that take bookings'), then enumerates the concrete verticals it covers (salons, courts, rentals, tours). It also distinguishes itself from three siblings by name — get_business for follow-up, my_bookings for the user's own bookings, owner_status for owners.

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

Usage Guidelines5/5

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

Explicitly says 'Use this first when the user wants a place or a service; when they pick one, continue with get_business', giving both the entry condition and the handoff. Closes with two named exclusions (my_bookings, owner_status), so an agent need not infer routing.

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