Skip to main content
Glama

AgentAPIGate — Real-Time Crypto Prices, OHLCV & Market Data

Lookup Local Businesses & Places

lookup_local_businesses
Read-onlyIdempotent

Search local businesses, offices, venues, and points of interest with ratings, review counts, street addresses, categories, and public websites.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "query": "<query>"
    },
    "name": "lookup_local_businesses"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoMaximum number of places to return (1-20)
queryYesBusiness category, place name, or search phrase (e.g. "specialty coffee roasters")
locationNoOptional city, neighborhood, or region (e.g. "San Francisco, CA")

Output Schema

NameRequiredDescriptionDefault
dataYes
metaYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.5/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 value by enumerating what comes back (ratings, review counts, addresses, categories, websites), but says nothing about coverage gaps in open-world data or whether results are ranked/filtered.

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 front-loaded sentence with no filler. The trailing field list is long but each item conveys real return-value information, so it mostly earns its place.

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 an output schema present and rich annotations, the description needn't explain return structure or safety. For a simple three-parameter search tool it is largely sufficient, with only open-world coverage caveats left unstated.

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% with per-parameter descriptions and a default/maximum on limit, so the schema carries the burden. The description adds no syntax, format, or matching-behavior detail (e.g. how query and location combine) beyond what the schema 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?

States a specific verb ("Search") and a concrete resource set (local businesses, offices, venues, points of interest), plus the fields returned. An agent can distinguish this from generic search_web or lookup_company_profile, though no sibling is named explicitly.

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 scope wording implicitly tells the agent this is for place/business discovery rather than general web or company-firmographic lookups, but there is no explicit when-to-use, when-not-to-use, or named alternative (e.g. search_web, lookup_company_profile).

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.