Skip to main content
Glama
lzinga

US Government Open Data MCP

by lzinga

cfpb_state_complaints

Read-onlyIdempotent

Retrieve consumer complaint counts and data by state to compare regions or create maps. Filter by product, company, issue, dates, or tags for targeted analysis.

Instructions

Get complaint information broken down by state (geographic view). Returns complaint counts and data for each state. Useful for maps and state comparisons. Applies the same filters as search (product, company, date, etc.).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
tagsNoTag filter
issueNoFilter by issue type
companyNoFilter by company: 'Wells Fargo', etc.
productNoFilter by product: 'Mortgage', 'Debt collection', etc.
date_received_maxNoEnd date (YYYY-MM-DD)
date_received_minNoStart date (YYYY-MM-DD)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv2026.4.11
    • removedInput schema / additionalProperties
      Removed value: -false
  2. First observedv2026.3.9

TDQS

A4/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, openWorldHint=true, idempotentHint=true, and destructiveHint=false, so the safety profile is fully covered. The description adds that it returns counts and data per state, which clarifies the output shape, but does not disclose details like pagination or aggregation specifics. This level of additional context is adequate given 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.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is three concise sentences with no filler. The primary purpose is front-loaded in the first sentence, and the second and third sentences provide needed context (output type and use cases). Every sentence earns its place.

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 the absence of an output schema, the description clearly states that it returns compliant counts and data per state, which is essential. It also mentions filter compatibility, covering the main usage context. It does not describe pagination or behavior with no matching data, but for a read-only aggregation tool with annotations covering safety, this is sufficient.

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 coverage is 100% with each parameter having a description, so the schema already provides full parameter semantics. The description merely mentions the filters are the same as search, which is a helpful cross-reference but adds no new meaning beyond what the schema already conveys. 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 ('Get'), an explicit resource ('complaint information broken down by state'), and a clear geographic aggregation. It distinguishes itself from siblings by emphasizing the state-level view, which is unique among CFPB tools like cfpb_complaint_trends (time trends) and cfpb_complaint_detail (individual complaints).

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?

The description provides clear context for when to use it ('Useful for maps and state comparisons') and mentions that it applies the same filters as search, implying compatibility with existing search parameters. It does not explicitly name alternative tools or state when not to use it, but the use-case guidance is sufficient.

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

Deploy Server

Other Tools