Skip to main content
Glama

Map a service area

service_area
Read-onlyIdempotent

Work out what a local service business covers. Give a base (a 5-digit ZIP or "City, ST") and a radius in miles, or a list of ZIPs. Returns every ZIP Code Tabulation Area inside it with distance, population, housing units and owner-occupied homes; the cities, towns and Census places inside it; the counties it touches with the population inside the area; totals; and up to 20 candidate areas for a Google Business Profile service area with Google's written rules. Uses Census Gazetteer, relationship-file and ACS 2020-2024 data stored on the server. Distances are straight-line miles, not driving distance.

Input Schema

NameRequiredDescriptionDefault
baseNoWhere the business is based: a 5-digit ZIP such as 59901, or a city with its state such as "Kalispell, MT". Use with radius_miles.
zipsNoInstead of a base and radius: the ZIPs the business serves.
max_zipsNoHow many ZIPs to list (default and maximum 250). Totals always count every ZIP.
radius_milesNoStraight-line radius in miles, 1 to 100.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, openWorldHint=false and destructiveHint=false, so the safety profile is covered. The description adds genuinely non-derivable context: the underlying Census Gazetteer/relationship-file/ACS 2020-2024 data, straight-line rather than driving distance, and the cap of 20 candidate areas. Only the 250-default listing behavior is left to the schema.

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?

Three sentences, front-loaded with the purpose, then inputs, then outputs and caveats. Dense but every clause carries information (data sources, distance semantics, candidate-area cap); no filler or repetition of the title.

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, yet the description fully specifies the return contents — ZCTA-level fields, places, counties with in-area population, totals, and GBP candidates — plus the straight-line distance caveat. For a 4-param read-only analytic tool, an agent has everything needed to call and interpret it.

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 parameter (base, zips, max_zips, radius_miles) is already documented with formats, ranges and defaults. The description restates the ZIP/'City, ST' format and the base-vs-zips choice but adds no syntax or edge-case detail beyond the schema, which is the correct baseline for full coverage.

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?

The description opens with a specific verb+resource ('Work out what a local service business covers') and then enumerates exactly what is computed: ZCTAs with distance/population/housing, places, counties, totals, and up to 20 GBP candidate areas. An agent can tell precisely what this tool produces, and the sibling tools (trades, demand, review timing) share no overlap.

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 clearly states the two accepted input modes ('Give a base ... and a radius in miles, or a list of ZIPs'), which tells the agent how to invoke it, and the schema reinforces that base pairs with radius_miles. It does not state when to prefer one mode or when not to use this tool, but the sibling set offers no competing alternative, so the gap is minor.

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