Skip to main content
Glama

CFPB Consumer Complaints MCP

Search CFPB consumer complaints

search_complaints
Read-onlyIdempotent

Full-text search over the official CFPB Consumer Complaint Database. Filter by search term, company, product, state, date range, or whether a consumer narrative is present.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "search_complaints"
  }
}

Input Schema

NameRequiredDescriptionDefault
sortNoSort order. Default "created_date_desc".
limitNoMaximum complaints to return (1 to 50). Default 10.
queryNoFree-text search query (e.g. "wire fraud", "overdraft fee", "credit report error").
stateNoOptional 2-letter U.S. state code (e.g. "CA", "NY", "TX").
companyNoOptional CFPB company name filter (e.g. "EQUIFAX, INC.").
productNoOptional CFPB product category (e.g. "Mortgage", "Credit card", "Debt collection").
has_narrativeNoIf true, return only complaints with a published consumer narrative.
date_received_maxNoOptional latest received date in YYYY-MM-DD format.
date_received_minNoOptional earliest received date in YYYY-MM-DD format.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, openWorldHint and destructiveHint=false, so the safety profile is fully covered. The description adds useful provenance by identifying the official CFPB database as the source, but says nothing about result volume, pagination, truncation at the 50-record cap, or what a result record contains.

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?

Two tight sentences with zero filler; the capability statement is front-loaded and the filter enumeration follows immediately. Every clause carries information the agent can act on.

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?

Nine parameters with no output schema means the description should say something about what comes back, and it does not. The search surface itself is adequately described and all filters are covered by the schema, but a result-shape hint would be needed for a higher score.

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%, with every parameter including enum values, formats, and defaults documented inline. The description merely restates the same filter names without adding semantics such as matching behavior, whether filters combine with AND, or how query interacts with the structured filters, so 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?

The description names a specific verb and resource ("Full-text search over the official CFPB Consumer Complaint Database") and enumerates the filterable dimensions, so the agent knows exactly what the tool does. It stops short of differentiating from overlapping siblings such as search_by_product_state or get_company_complaints, which is the only thing keeping it from a 5.

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 only implied: the filter list tells the agent what can be narrowed but never states when this tool should be chosen over the more targeted siblings. No when-not-to-use guidance or prerequisite information is given.

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.