Skip to main content
Glama

Block groups in a place

place_block_groups
Read-only

How crime varies across a city, by census block group, for one measure (default total_major): a summary of every block group in the place (index quartiles, and the block groups and residents in each index band, with their shares of the block groups that have an index and of those block groups' residents), plus one page of block groups (default 25, highest index first) with each one's index, 80% interval, percentile and confidence. offset pages through the rest; order=asc lists the lowest first. Each call counts as one lookup.

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": {
      "place_id": "<place_id>"
    },
    "name": "place_block_groups"
  }
}

Input Schema

NameRequiredDescriptionDefault
sortNoRow order key (default index)
crimeNoA summary (total_major, persons, property, disorder) or one of the 16 crimes
limitNoBlock groups in this page (default 25, max 100)
orderNoDefault desc for index (highest first), asc for bg_geoid
offsetNoRows to skip, from the previous page's paging.next_offset
place_idYesA place_id such as 'tx/houston', or a 7-digit place GEOID

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed4 schema fields changed
    • addedInput schema / properties / limit
      Added value: +{
      +  "description": "Block groups in this page (default 25, max 100)",
      +  "maximum": 100,
      +  "minimum": 1,
      +  "type": "integer"
      +}
    • addedInput schema / properties / offset
      Added value: +{
      +  "description": "Rows to skip, from the previous page's paging.next_offset",
      +  "maximum": 9007199254740991,
      +  "minimum": 0,
      +  "type": "integer"
      +}
    • addedInput schema / properties / order
      Added value: +{
      +  "description": "Default desc for index (highest first), asc for bg_geoid",
      +  "enum": [
      +    "asc",
      +    "desc"
      +  ],
      +  "type": "string"
      +}
    • addedInput schema / properties / sort / description
      Added value: +"Row order key (default index)"
  2. Changed1 schema field changed
    • addedInput schema / properties / place_id / description
      Added value: +"A place_id such as 'tx/houston', or a 7-digit place GEOID"
  3. Added

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnlyHint, destructiveHint false, openWorldHint false), so the description's real contribution is the cost disclosure 'Each call counts as one lookup' and the explanation of default ordering and paging. That is genuine context an agent cannot read off the annotations. It does not cover failure modes for an invalid place_id, which keeps it from a 5.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Everything stated earns its place, and the purpose is front-loaded, but it is delivered as one dense run-on sentence with nested parentheticals describing the summary bands. The pagination and ordering clauses also overlap what the schema already documents, adding bulk without new information.

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 carries the burden of explaining returns, and it does so in detail: quartile summary, band counts, resident shares, plus per-row index, 80% interval, percentile and confidence. Combined with the limit ceiling and max 100 stated in the schema, an agent has enough to call it correctly; only error handling is unaddressed.

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, but the description adds meaning the schema does not: crime defaults to total_major (the schema lists valid values with no default), and it explains that offset walks the remaining pages while order=asc reverses sort direction. Those are real clarifications beyond the structured fields.

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 opens with a specific verb-and-resource framing: crime variation across a city by census block group for one measure, plus the returned summary and one page of rows. That is far more than a restatement of the name. It never names a sibling (e.g. place_profile, crime_index, nearby_incidents) to contrast with, so it stops short of a 5.

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?

Usage is implied through defaults and paging mechanics: default measure total_major, 25 rows, highest index first, offset to page, order=asc to flip. But there is no explicit statement of when to pick this over crime_index or incident_stats, nor any prerequisite or exclusion. Guidance is present but operational rather than selective.

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.