Skip to main content
Glama
lzinga

US Government Open Data MCP

cfpb_state_complaints

Read-only

Retrieve consumer complaint counts by state, filtered by product, company, issue, and date range. Useful for geographic analysis and state comparisons.

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
productNoFilter by product: 'Mortgage', 'Debt collection', etc.
companyNoFilter by company: 'Wells Fargo', etc.
issueNoFilter by issue type
date_received_minNoStart date (YYYY-MM-DD)
date_received_maxNoEnd date (YYYY-MM-DD)
tagsNoTag filter
Behavior4/5

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

Annotations already provide readOnlyHint=true, so the description's claim of returning data is consistent. The addition that filters mirror search adds behavioral context without contradicting annotations. No hidden destructive behavior is implied.

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?

Three concise sentences front-load the main purpose. No extraneous information. Could be slightly more structured but is efficient for its scope.

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?

While the description covers purpose and filters, it omits return format details (e.g., list of states, fields) and potential limitations. Given no output schema and moderate complexity, the description is adequate but not fully complete.

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?

With 100% schema coverage, the baseline is 3. The description only reinforces that parameters are filters, adding no new semantics beyond the schema's parameter descriptions.

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 clearly states it returns complaint data broken down by state, specifying 'geographic view' and 'complaint counts and data for each state'. This distinct purpose differentiates it from sibling tools like cfpb_search_complaints (individual complaints) and cfpb_complaint_aggregations (other aggregations).

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?

The description mentions usefulness for 'maps and state comparisons' and that it applies the same filters as search, providing some context. However, it lacks explicit guidance on when not to use or direct references to alternatives, leaving room for confusion among sibling tools.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/lzinga/us-gov-open-data-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server