Skip to main content
Glama

Crime index for several locations

crime_index_batch
Read-only

Crime indexes for up to 10 U.S. locations in one call, each with the same fields as a single lookup; each location that succeeds counts as one lookup. Developer and Business plans only.

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": {
      "locations": "<locations>"
    },
    "name": "crime_index_batch"
  }
}

Input Schema

NameRequiredDescriptionDefault
locationsYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / locations / items / properties / bg_geoid / description
      Added value: +"12-digit 2020 block group GEOID"
  2. Added

TDQS

B3.4/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false, and openWorldHint=false, so safety is covered. The description adds genuinely useful behavior beyond that: batch size cap, per-successful-location billing, and plan eligibility. It still doesn't say what happens to failing locations or how results map back to inputs.

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 where each clause does work — scope, output parity, billing, and eligibility. Slightly dense in packing four distinct facts into one sentence, but there is no filler.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

No output schema exists, and the description substitutes 'same fields as a single lookup,' which requires the agent to already know a sibling's return shape. Combined with unexplained per-location input structure, it is adequate but leaves real gaps for a batch tool.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

With one parameter at 0% reported schema coverage, the description carries the burden but only restates the max-10 limit that maxItems already encodes. It never explains that each array element accepts lat/lon, address, or a 12-digit block group GEOID, nor which identifiers are required per location.

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 resource ('Crime indexes') with a clear batch scope ('up to 10 U.S. locations in one call') and differentiates itself from a single-lookup operation by promising 'the same fields as a single lookup.' It never names the sibling `crime_index`, so the differentiation is implied rather than explicit.

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?

Gives concrete usage context: batch of up to 10 locations, per-location billing, and a hard prerequisite ('Developer and Business plans only'). It stops short of an explicit exclusion such as 'use crime_index for a single location,' leaving the when-not to inference.

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.