Skip to main content
Glama
dathere

FBI Crime Data MCP Server

by dathere

get_nibrs_data

Retrieve NIBRS incident-based crime data for 70+ offense types with filters for offense, geographic level, and date range to analyze crime trends and totals.

Instructions

Get NIBRS incident-based crime data for 70+ offense types.

Args: offense: NIBRS offense code (e.g., "13A" for aggravated assault, "09A" for murder, "11A" for rape, "120" for robbery, "220" for burglary). Use get_reference_data for full list. level: Geographic level — "national", "state", or "agency" from_date: Start date in mm-yyyy format (e.g., "01-2020") to_date: End date in mm-yyyy format (e.g., "12-2022") data_type: "counts" for time series data or "totals" for aggregate breakdowns (default: "counts") state: Two-letter state abbreviation (required when level is "state") ori: Agency ORI code (required when level is "agency") aggregate: Aggregation level — "yearly" (default, sums monthly into yearly) or "monthly" (monthly granularity). Only applies when data_type is "counts". Years with fewer than 12 months of data are flagged in a top-level "_partial_years" key (rates are unweighted averages of the available months).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
oriNo
levelYes
stateNo
offenseYes
to_dateYes
aggregateNoyearly
data_typeNocounts
from_dateYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

A3.6/5.0
Behavior3/5

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

No annotations are provided, so the description carries the burden. It discloses a meaningful behavioral trait: partial-year flagging via a top-level '_partial_years' key and that rates are unweighted averages over available months. These are genuinely useful and not derivable from the schema. But it omits permissions, error behavior, pagination/rate limits, and whether results are cached.

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 summary sentence followed by a structured Args block mirroring the schema. Front-loaded purpose with parameter detail in a scannable format. Slightly verbose in repeating schema field names, but the added semantics justify the length.

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?

Given 8 parameters, no annotations, and an output schema already present, the description covers parameter semantics well and adds behavioral context about partial years. It stops short of describing auth requirements, error cases, or how the output is shaped, but the output schema reduces that need.

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 description coverage is 0%, so the description must compensate, and it does: it explains offense codes with examples, level values, date format (mm-yyyy), data_type semantics, state/ori conditionality on level, and aggregate behavior. This substantially covers 8 parameters. It's not a 5 only because some ancillary parameters (e.g., defaults interplay, null handling for state/ori) are not fully spelled out.

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 and resource: fetching NIBRS incident-based crime data across 70+ offense types. It distinguishes itself from siblings like get_summarized_crime_data or get_crime_trends by naming NIBRS specifically, though it doesn't explicitly say how it differs from get_nibrs_estimation.

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?

It points the agent to get_reference_data for the full offense list, which is a useful routing hint. However, it provides no guidance on when to prefer this tool over get_nibrs_estimation or other crime-data siblings, leaving the agent to infer boundaries.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.