Skip to main content
Glama

fbi_cde_compare_state_to_national

Read-onlyIdempotent

Compare one state's monthly FBI summarized UCR offense rate with the national rate in LiveDataLink's self-hosted CDE aggregate snapshot, including both reporting-coverage series, rate difference, ratio, pagination, and provenance. Use this for 'California versus U.S. robbery rates in 2023', 'give national context for one state's burglary trend', or 'does state-national comparison have a coverage caveat?'. This deliberately supports only the FBI-recommended state-to-national context—not state rankings, city league tables, causal claims, or individual risk decisions.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
limitNoMaximum monthly observations. Default 24.
stateYesTwo-letter U.S. state or District of Columbia abbreviation; US is not accepted.
offsetNoMonthly observations to skip. Default 0.
offenseYesFBI CDE summarized offense category. Aggregate categories overlap their component offenses.
end_monthYesCalendar month in YYYY-MM format within the hosted snapshot.
start_monthYesCalendar month in YYYY-MM format within the hosted snapshot.
response_formatNoHuman-readable markdown or machine-readable JSON. Default markdown.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed9 schema fields changed
    • addedInput schema / properties / end_month / pattern
      Added value: +"^\\d{4}-(0[1-9]|1[0-2])$"
    • addedInput schema / properties / limit / maximum
      Added value: +60
    • addedInput schema / properties / limit / minimum
      Added value: +1
    • changedInput schema / properties / limit / type
      Previous value: -"number"New value: +"integer"
    • addedInput schema / properties / offset / maximum
      Added value: +120
    • addedInput schema / properties / offset / minimum
      Added value: +0
    • changedInput schema / properties / offset / type
      Previous value: -"number"New value: +"integer"
    • addedInput schema / properties / start_month / pattern
      Added value: +"^\\d{4}-(0[1-9]|1[0-2])$"
    • addedInput schema / properties / state / pattern
      Added value: +"^[A-Za-z]{2}$"
  2. Added

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, openWorldHint, and destructiveHint=false, so safety and mutability are covered. The description adds useful behavioral context by listing included outputs such as both reporting-coverage series, rate difference, ratio, pagination, and provenance, plus a coverage caveat. It does not fully specify response structure, but that is mitigated by the annotation coverage.

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?

The description is front-loaded with purpose and included outputs, followed by use cases and explicit exclusions. It is somewhat long, but every sentence serves routing or scoping, and there is no redundant filler.

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?

Given no output schema, the description compensates by naming the returned components: both reporting-coverage series, rate difference, ratio, pagination, and provenance. Combined with annotations and 100% schema coverage, an agent has enough context to invoke the tool correctly and understand its limits.

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

Parameters3/5

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

Schema description coverage is 100%, so the schema already documents each parameter's meaning, format, and constraints. The description mentions state-to-national comparison and output components but does not add parameter-level semantics beyond what the schema provides, so the baseline of 3 is appropriate.

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 states a specific verb and resource: compare one state's monthly FBI summarized UCR offense rate with the national rate. It identifies the exact data scope (LiveDataLink self-hosted CDE aggregate snapshot) and distinguishes the tool from sibling FBI CDE tools by emphasizing state-to-national comparison rather than trends, rankings, or snapshots.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

It gives explicit example queries and states when the tool is appropriate: state-versus-national context. It also clearly says what the tool does not support: state rankings, city league tables, causal claims, and individual risk decisions. This is strong routing guidance despite not naming specific sibling functions.

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.