Skip to main content
Glama

Crime index for several locations

crime_index_batch
Read-only

crime_index for up to 10 locations at once; each successful one counts as a call. Developer and Business plans; on the free plan, call crime_index once per location.

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. Added

TDQS

B3.4/5.0
Behavior3/5

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

Adds real behavior beyond the readOnly/openWorld annotations: batch cap and per-location billing ('each successful one counts as a call') plus plan eligibility. It does not disclose what happens on partial failure (are partial results returned? are failures still billed?), which is the key behavioral question for a batch tool.

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?

One dense sentence with the scope front-loaded and plan/billing caveat appended; every clause carries information. Semicolon-packed phrasing is slightly terse but not wasteful.

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, so the description should carry more: it covers billing and plan gating but leaves the location object's identifier forms and partial-failure semantics unexplained. Adequate for a simple batch wrapper, but missing pieces an agent needs to call it correctly.

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?

Schema description coverage is 0% and the nested location object (lat, lon, address, bg_geoid) is never explained in the description. It doesn't say whether a location may be given by coordinates, address, or block-group geoid, or whether exactly one is required — the single most important thing an agent needs to populate this array.

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 verb/resource and scope: 'crime_index for up to 10 locations at once', which distinguishes it from the single-location sibling crime_index by batching. It never says what a 'crime index' actually is, but the sibling tool presumably owns that definition.

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?

Names the alternative explicitly (crime_index) and gives the condition that selects it: free plan → call crime_index once per location; batch is for Developer/Business plans. No explicit when-not guidance beyond plan gating, but the routing decision is clear.

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