Skip to main content
Glama

cfpb_search_complaints

Read-onlyIdempotent

Search the CFPB Consumer Complaint Database (4M+ complaints submitted against financial companies since 2011). Filter by free-text term, company, product, state, date range, and narrative-presence. Returns complaint metadata plus public narratives when available.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
fromNoPagination offset (default 0)
sizeNoPage size (default 25, max 100)
stateNoTwo-letter state code
companyNoExact company name (use cfpb_suggest_company for fuzzy matching)
productNoCFPB product category (e.g. 'Credit reporting', 'Mortgage', 'Debt collection')
search_termNoFree-text search across all complaint fields
has_narrativeNoOnly complaints with consumer narratives
date_received_maxNoYYYY-MM-DD upper bound
date_received_minNoYYYY-MM-DD lower bound

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, openWorldHint, idempotentHint, and destructiveHint=false, so the safety profile is covered. The description adds non-obvious behavioral context: data scope (4M+ complaints since 2011) and return characteristics (metadata plus public narratives when available), which is useful beyond the structured fields.

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 sentences with no filler. The first sentence names the resource and scope; the second covers both filter capabilities and return values. Every phrase earns its place and the most important information is front-loaded.

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 no output schema, the description still explains what is returned (metadata plus public narratives). The schema documents all 9 optional parameters, and annotations cover the operation's safety. The main gap is the absence of explicit routing guidance among the sibling CFPB tools, but overall an agent has enough to invoke the tool correctly.

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 9 parameters are already documented. The description repeats the filter dimensions at a high level and adds natural-language aliases like 'free-text term' and 'narrative-presence', but it does not add substantive format, default, or constraint details beyond the schema. Baseline 3 applies.

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 opens with a specific verb and resource: 'Search the CFPB Consumer Complaint Database'. It then lists concrete filter dimensions and the return type (complaint metadata plus public narratives). This clearly positions it as the general complaint search tool, distinct from siblings like cfpb_complaint_detail, cfpb_complaint_aggregations, and cfpb_complaint_trends.

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 find-by-filters framing implies this is the general search entry point, and the mention of 'free-text term, company, product, state, date range, and narrative-presence' gives useful context. However, the description never explicitly tells the agent when to prefer this over cfpb_complaint_detail, cfpb_complaint_aggregations, cfpb_complaint_trends, or cfpb_state_complaints, nor does it name alternatives.

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.

TDQS

B3.2/5.0
Disambiguation2/5

Many tools overlap heavily across domains: caselaw_search vs court_case_search vs court_opinion_search, caselaw_citation_lookup vs court_citation_resolver, and a cluster of company due-diligence tools (company_trust_check, counterparty_risk_score, entity_dossier, issuer_diligence_dossier, kyb_aml_evidence_case_file) that all screen a company for sanctions/risk/standing. With 290 tools, an agent will frequently face multiple equally plausible choices for the same user intent.

Naming Consistency3/5

The vast majority of tools follow a clean domain-prefix + snake_case pattern (census_, eia_, fmcsa_, npi_, cfpb_, etc.), but there are notable exceptions: entity_resolve and resolve_entity are reversed duplicates, reg_search (Federal Register) sits next to reg_cfr_search (CFR) with confusingly similar names, and carrier_monitor_recheck deviates from the carrier_vetting_* family.

Tool Count1/5

290 tools is an extreme count under any rubric, far exceeding even the 50+ threshold for the lowest score. While the group-filtering mechanism and meta-tools like list_tool_groups and search_available_datasets mitigate the practical burden, the raw surface is still massively oversized for an agent to select from accurately and efficiently.

Completeness4/5

For a read-only data-aggregation server, coverage is remarkably comprehensive across 59 domains, and generic fallbacks like cdc_dataset_query, eia_series_lookup, fred_observations, and bls_series prevent most dead ends. Minor gaps exist (a single GitHub tool, demo-only property_lookup coverage, no write/update operations anywhere), but the stated data-access purpose is well served.

Resources