Skip to main content
Glama

CFPB Consumer Complaints MCP

Search CFPB complaints by product and state

search_by_product_state
Read-onlyIdempotent

Filter CFPB consumer complaints by financial product category and 2-letter U.S. state code, returning matching complaints plus top companies and issues.

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": {
      "product": "<product>",
      "state": "<state>"
    },
    "name": "search_by_product_state"
  }
}

Input Schema

NameRequiredDescriptionDefault
issueNoOptional specific issue filter.
limitNoMaximum complaints to return (1 to 50). Default 10.
stateYes2-letter U.S. state code (e.g. "CA", "NY", "FL").
productYesFinancial product category (e.g. "Mortgage", "Credit card", "Debt collection", "Checking or savings account").
date_received_minNoOptional earliest received date in YYYY-MM-DD format.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive, and open-world behavior, so the safety profile is covered. The description adds non-annotated context that the response includes derived aggregates (top companies and issues) in addition to matching complaints, which materially affects how an agent reads the output. It does not mention rate limits or pagination beyond the limit cap, so it is not fully comprehensive.

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?

A single front-loaded sentence that names the filter dimensions first and the returned content second, with no redundant or filler clauses. Every phrase 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?

With five fully documented parameters, read-only annotations, and no output schema, the description gives an agent enough to invoke the tool correctly and to anticipate aggregate fields in the response. The only gap is that it never positions the tool against its siblings, which matters given a similarly named search_complaints.

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 all five parameters including product examples, state format, limit bounds, and date format are already documented. The description echoes the two required parameters with no additional syntax, matching rules (e.g. case sensitivity for state), or semantics beyond what the schema supplies, so the baseline 3 applies.

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 (filter) and resource (CFPB consumer complaints) with the exact filter dimensions (product category and 2-letter state code), plus what comes back. It is clear on its own but never names sibling search_complaints or explains how the two differ, so an agent must open both schemas to choose.

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?

Usage is implied by the required product+state dimensions — use this when you need complaints narrowed to a product and a specific state. There is no explicit when-to-use/when-not guidance, no mention of search_complaints or get_company_complaints as alternatives, and no statement about what to do if you only have one of the two filters.

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.