Skip to main content
Glama

Maps Harvest

Local market snapshot

get_local_market_snapshot
Read-onlyIdempotent

Snapshot of one type of local business in one city, from Google Maps listings: how many listings the sample holds, the average star rating, the typical review count, the share without a website, the share showing a phone number, and up to 10 example businesses (name, address, rating, website; phone numbers are masked). Covers common business types in major cities of the United States, United Kingdom, Canada, Australia, Germany and Egypt. Use it for questions about a market as a whole (how many, how well rated, how many lack a website); to list the businesses that have no website, use find_businesses_without_website. When a city or business type is not covered, the result lists what is.

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": {
      "business_type": "<business_type>",
      "city": "<city>"
    },
    "name": "get_local_market_snapshot"
  }
}

Input Schema

NameRequiredDescriptionDefault
cityYesCity, for example "Houston" or "London".
regionNoState, province or county, for example "Texas", "TX" or "Greater London". Optional.
countryNoUnited States, United Kingdom, Canada, Australia, Germany or Egypt. Optional.
business_typeYesType of business, for example "Dentist", "Roofing contractor" or "Plumber".

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / country / description
      Previous value: -"United States, United Kingdom, Canada, Australia or Germany. Optional."New value: +"United States, United Kingdom, Canada, Australia, Germany or Egypt. Optional."
  2. First observed

TDQS

A4.6/5.0
Behavior5/5

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

Beyond the annotations (readOnly, idempotent, closed-world), the description discloses that figures come from a *sample*, that only up to 10 example businesses are returned, that phone numbers are masked in output, and how unsupported city/business-type combinations behave. These are exactly the sample-size and data-redaction caveats an agent needs to avoid over-claiming precision.

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?

Front-loaded with what the snapshot contains, then coverage scope, then usage and the sibling alternative. Single dense paragraph with no filler sentences, though the long metric enumeration is slightly list-like and could be broken out for faster scanning.

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?

No output schema exists, so the description carries the return-shape burden and does so: it names every aggregate, the example-business fields, the 10-item cap, and the masking of phone numbers. Combined with the coverage caveat, an agent knows both what it will get and when results will be thin.

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 each parameter already documents its examples. The description adds only marginal meaning -- reinforcing that business_type should be a common type and restating the six supported countries already listed in the country field -- so the schema is doing the heavy lifting. Baseline 3 applies.

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 and resource -- a snapshot of one business type in one city sourced from Google Maps listings -- and enumerates exactly which aggregates are returned (listing count, average rating, typical review count, share without website, share with phone). An agent can distinguish this from find_businesses_without_website purely from the description.

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 frames the use case (market-level questions: how many, how well rated, how many lack a website) and names the alternative for the record-level variant: 'to list the businesses that have no website, use find_businesses_without_website.' It also handles the coverage-miss path by noting the result lists what is covered, which is real operational guidance.

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