Skip to main content
Glama

Crime index

crime_index
Read-only

Crime indexes for the 2020 census block group at a U.S. location. The location is one of: address, lat and lon, or bg_geoid (12 digits). Returns 16 crimes and four summaries with expected annual counts, indexes (100 = U.S. rate per resident), 80% intervals, confidence, national percentiles, city and county comparisons, and notes.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "crime_index"
  }
}

Input Schema

NameRequiredDescriptionDefault
latNoLatitude
lonNoLongitude
addressNoA U.S. street address
bg_geoidNo12-digit 2020 block group GEOID

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed23 schema fields changed
    • addedInput schema / $schema
      Added value: +"http://json-schema.org/draft-07/schema#"
    • removedInput schema / properties / address / anyOf
      Removed value: -[
      -  {
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • removedInput schema / properties / address / default
      Removed value: -null
    • addedInput schema / properties / address / description
      Added value: +"A U.S. street address"
    • removedInput schema / properties / address / title
      Removed value: -"Address"
    • addedInput schema / properties / address / type
      Added value: +"string"
    • removedInput schema / properties / bg_geoid / anyOf
      Removed value: -[
      -  {
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • removedInput schema / properties / bg_geoid / default
      Removed value: -null
    • addedInput schema / properties / bg_geoid / description
      Added value: +"12-digit 2020 block group GEOID"
    • removedInput schema / properties / bg_geoid / title
      Removed value: -"Bg Geoid"
    • addedInput schema / properties / bg_geoid / type
      Added value: +"string"
    • removedInput schema / properties / lat / anyOf
      Removed value: -[
      -  {
      -    "type": "number"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • removedInput schema / properties / lat / default
      Removed value: -null
    • addedInput schema / properties / lat / description
      Added value: +"Latitude"
    • removedInput schema / properties / lat / title
      Removed value: -"Lat"
    • addedInput schema / properties / lat / type
      Added value: +"number"
    • removedInput schema / properties / lon / anyOf
      Removed value: -[
      -  {
      -    "type": "number"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • removedInput schema / properties / lon / default
      Removed value: -null
    • addedInput schema / properties / lon / description
      Added value: +"Longitude"
    • removedInput schema / properties / lon / title
      Removed value: -"Lon"
    • addedInput schema / properties / lon / type
      Added value: +"number"
    • removedInput schema / title
      Removed value: -"crime_indexArguments"
    • changedOutput schema / (root)
      Previous value: -{
      -  "additionalProperties": true,
      -  "title": "crime_indexDictOutput",
      -  "type": "object"
      -}New value: +null
  2. First observed

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnly, non-destructive, closed-world), and the description adds substantive payload context beyond them: 16 crime types plus four summaries, expected annual counts, the 100 = U.S. per-resident rate scaling, 80% intervals, confidence, national percentiles, and city/county comparisons. It does not disclose data vintage or caveats about how the index should be interpreted, which would have pushed this higher.

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 short sentences, front-loaded with what the tool returns and where, then the locator modes, then the return payload. Dense but well ordered; the return-value clause is long, yet every element named is distinct 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?

For a read-only lookup with no output schema, the description carries the return-value burden and does so adequately, enumerating the summary fields and index semantics. The main remaining gap is interpretive guidance on the index scale and data vintage, but an agent has enough to select and invoke the tool correctly.

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 earns above baseline by stating that the locator parameters are alternatives ('one of: address, lat and lon, or bg_geoid'), a mutual-exclusivity constraint the schema does not express since all four properties are optional with no required field. It also anchors bg_geoid to 2020 block groups, matching the schema's 12-digit note.

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 names a specific resource (crime indexes) at a specific geographic unit (2020 census block group at a U.S. location) and enumerates the three accepted locator forms. It implies a single-location scope, which distinguishes it from crime_index_batch, but it never states that distinction 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?

Usage is implied rather than stated: 'at a U.S. location' (singular) suggests one location per call, and the locator options are clarified. However, there is no explicit when-to-use/when-not guidance, no pointer to crime_index_batch for multiple locations, and no mention of crime_definitions for interpreting the returned crime types.

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.