Skip to main content
Glama

fbi-crime-mcp-server

FBI Get Hate Crimes

fbi_get_hate_crimes
Read-onlyIdempotent

Hate crime counts reported to FBI CDE for the nation, a state, or an agency, summed over a month window from January 1991 through the current year. Returns incidents by bias motivation and bias category, plus counts by offense type, location type, offender race, offender ethnicity, and federal judicial district, with every category CDE reports, zeros included. Narrow to one bias motivation with bias. National scope omits identifiers; state requires only state_abbr; agency requires only ori (look it up with fbi_search_agencies). CDE returns zeros both when nothing was reported and when it does not recognize a state or ORI. Set include_monthly for month-by-month incident and offense counts and rates with population and reporting coverage, which also tells those two cases apart.

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": {
      "scope": "<scope>",
      "from_year": "<from_year>",
      "to_year": "<to_year>"
    },
    "name": "fbi_get_hate_crimes"
  }
}

Input Schema

NameRequiredDescriptionDefault
oriNoNine ASCII-letter/digit ORI code (e.g. CA0010400, DCMPD0000); case-insensitive. Find an agency's ORI with fbi_search_agencies. Only permitted and required for agency scope.
biasNoBias motivation code to narrow the counts to, or all (default). With a code, incidents count that motivation plus multiple-bias incidents that include it. Codes: 11 Anti-White; 12 Anti-Black or African American; 13 Anti-American Indian or Alaska Native; 14 Anti-Asian; 15 Anti-Multiple Races, Group; 16 Anti-Native Hawaiian or Other Pacific Islander; 21 Anti-Jewish; 22 Anti-Catholic; 23 Anti-Protestant; 24 Anti-Islamic (Muslim); 25 Anti-Other Religion; 26 Anti-Multiple Religions, Group; 27 Anti-Atheism/Agnosticism; 28 Anti-Church of Jesus Christ; 29 Anti-Jehovah's Witness; 31 Anti-Arab; 32 Anti-Hispanic or Latino; 33 Anti-Other Race/Ethnicity/Ancestry; 41 Anti-Gay (Male); 42 Anti-Lesbian (Female); 43 Anti-Lesbian, Gay, Bisexual, or Transgender (Mixed Group); 44 Anti-Heterosexual; 45 Anti-Bisexual; 51 Anti-Physical Disability; 52 Anti-Mental Disability; 61 Anti-Male; 62 Anti-Female; 71 Anti-Transgender; 72 Anti-Gender Non-Conforming; 81 Anti-Eastern Orthodox (Russian, Greek, Other); 82 Anti-Other Christian; 83 Anti-Buddhist; 84 Anti-Hindu; 85 Anti-Sikh.all
scopeYesGeographic scope: national (omit identifiers), state (only state_abbr), or agency (only ori).
to_yearYesEnd year of the data range (inclusive), 1991 through the current year.
to_monthNoEnd month (1–12). Defaults to December.
from_yearYesStart year of the data range (inclusive), 1991 through the current year. The API uses monthly granularity.
from_monthNoStart month (1–12). Defaults to January.
state_abbrNoTwo ASCII-letter state abbreviation (e.g. CA, DC, PR); case-insensitive. Only permitted and required for state scope.
include_monthlyNoAlso return monthly: one row per month of the window for the scoped entity, with this selection's counts and rates, population, participating population, and reporting coverage, from CDE's monthly view (one more request).

Output Schema

NameRequiredDescriptionDefault
toNoLast month of the summed window (MM-YYYY).
oriNoUppercased ORI code; present only for agency scope.
biasNoBias motivation code applied, or all.
fromNoFirst month of the summed window (MM-YYYY).
errorNoPresent when the call failed. Absent on success.
scopeNoGeographic scope queried.
noticeNoPresent when every count is zero; says whether zeros can also mean an unrecognized state or ORI.
monthlyNoPresent only when include_monthly is true: one row per month of the window for the scoped entity, in chronological order, from CDE's monthly view. Empty when CDE does not recognize the state or ORI.
bias_labelNoCDE label for the applied bias code; "All bias motivations" for all.
state_abbrNoUppercased state abbreviation; present only for state scope.
bias_sectionNoCDE's bias_section breakdowns summed over the window. Each dimension is counted on its own basis, so the dimensions do not sum to one total or to the incident count.
incident_sectionNoIncident counts summed over the window.
data_last_updatedNoDate CDE last refreshed hate crime data; absent when CDE omits it.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • addedInput schema / properties / include_monthly
      Added value: +{
      +  "default": false,
      +  "description": "Also return monthly: one row per month of the window for the scoped entity, with this selection's counts and rates, population, participating population, and reporting coverage, from CDE's monthly view (one more request).",
      +  "type": "boolean"
      +}
    • addedOutput schema / properties / monthly
      Added value: +{
      +  "description": "Present only when include_monthly is true: one row per month of the window for the scoped entity, in chronological order, from CDE's monthly view. Empty when CDE does not recognize the state or ORI.",
      +  "items": {
      +    "additionalProperties": false,
      +    "description": "One month for the scoped entity.",
      +    "properties": {
      +      "incident_count": {
      +        "description": "Hate crime incidents in the month. In a month whose participated_population is null no agency reported, so the count is not a reported zero.",
      +        "type": [
      +          "number",
      +          "null"
      +        ]
      +      },
      +      "incident_rate_per_100k": {
      +        "description": "Incident rate for the month. Per 100,000 participating population; null when CDE sends none, including its -1 for a month with no participating population.",
      +        "type": [
      +          "number",
      +          "null"
      +        ]
      +      },
      +      "month": {
      +        "description": "Month (1–12).",
      +        "maximum": 12,
      +        "minimum": 1,
      +        "type": "integer"
      +      },
      +      "offense_count": {
      +        "description": "Hate crime offenses in the month. In a month whose participated_population is null no agency reported, so the count is not a reported zero.",
      +        "type": [
      +          "number",
      +          "null"
      +        ]
      +      },
      +      "offense_rate_per_100k": {
      +        "description": "Offense rate for the month. Per 100,000 participating population; null when CDE sends none, including its -1 for a month with no participating population.",
      +        "type": [
      +          "number",
      +          "null"
      +        ]
      +      },
      +      "participated_population": {
      +        "description": "Population covered by the agencies that reported for the month; null when none reported.",
      +        "type": [
      +          "number",
      +          "null"
      +        ]
      +      },
      +      "population": {
      +        "description": "Population CDE assigns the scoped entity for the month; null when unavailable.",
      +        "type": [
      +          "number",
      +          "null"
      +        ]
      +      },
      +      "population_coverage_percent": {
      +        "description": "CDE's reporting coverage percentage for the month, never calculated; null when unavailable, as at agency scope.",
      +        "type": [
      +          "number",
      +          "null"
      +        ]
      +      },
      +      "year": {
      +        "description": "Year.",
      +        "maximum": 9007199254740991,
      +        "minimum": -9007199254740991,
      +        "type": "integer"
      +      }
      +    },
      +    "required": [
      +      "year",
      +      "month",
      +      "incident_count",
      +      "offense_count",
      +      "incident_rate_per_100k",
      +      "offense_rate_per_100k",
      +      "population",
      +      "participated_population",
      +      "population_coverage_percent"
      +    ],
      +    "type": "object"
      +  },
      +  "type": "array"
      +}
  2. Added

TDQS

A4.6/5.0
Behavior5/5

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

Annotations only declare read-only/idempotent/open-world, but the description adds genuinely non-obvious behavior: all CDE categories are returned with zeros included, and zeros are ambiguous because CDE returns them both when nothing was reported and when a state or ORI is unrecognized. It also discloses that include_monthly costs one extra request and what that view adds (population, participating population, reporting coverage), which is real cost/behavior context an agent cannot infer from annotations.

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?

It is front-loaded with the resource and time window before the scope and caveat details, and every clause carries information. The prose is dense and the closing clause about telling the two zero cases apart is slightly convoluted, and include_monthly is partly restated from the schema.

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

Completeness5/5

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

For a 9-parameter tool with an output schema, the description covers everything an agent needs to call it correctly: scope/identifier pairing, time window bounds, bias narrowing, the zero-ambiguity pitfall, and the cost of the monthly view. Return shape is left to the output schema, as appropriate.

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; the description goes beyond it by tying parameters to scope-conditional obligations (state_abbr only for state, ori only for agency) and by explaining that unrecognized state_abbr/ori silently yields zeros rather than an error. The bias narrowing semantics largely duplicate the schema's enum documentation, so it is not a full 5.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description names a specific verb and resource ('Hate crime counts reported to FBI CDE'), the geographic scopes supported, the time granularity (month window from Jan 1991), and the exact breakdown dimensions returned (bias motivation, offense type, location type, offender race/ethnicity, judicial district). An agent can distinguish this from fbi_get_arrests or fbi_get_nibrs_breakdown without opening the schema.

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?

Explicit routing rules are given for the required scope parameter: national omits identifiers, state needs only state_abbr, agency needs only ori, and ori must be obtained via fbi_search_agencies. It also explains how to narrow with bias. It stops short of stating when this tool should be preferred over sibling crime-statistics tools, so no exclusion guidance is present.

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.