Skip to main content
Glama

CFPB Consumer Complaints MCP

Get CFPB complaints for a company

get_company_complaints
Read-onlyIdempotent

Retrieve recent CFPB complaints and top product, issue, and timely-response aggregations for a specific financial institution or lender.

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": {
      "company": "<company>"
    },
    "name": "get_company_complaints"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoMaximum complaints to return (1 to 50). Default 10.
stateNoOptional 2-letter U.S. state code.
companyYesCFPB company name (e.g. "EQUIFAX, INC.", "WELLS FARGO & COMPANY", "JPMORGAN CHASE & CO.").
productNoOptional product category filter.
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, destructiveHint=false and openWorldHint=true, so the safety profile is covered. The description adds genuinely new context by naming what comes back (complaint list plus product/issue/timely-response aggregations), which matters because there is no output schema. It stops short of disclosing matching semantics (exact vs partial company name) or whether 'recent' has a fixed window, which are the behaviors most likely to cause a wrong call.

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?

A single front-loaded sentence with no filler; the verb and scope come first and the return payload follows. It is slightly overloaded by packing complaint retrieval and three aggregation types into one clause, but nothing is wasted.

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 parameters fully described in the schema, strong annotations, and no output schema, the description does the right job of stating what is returned alongside the complaints. The remaining gap is entity-resolution behavior – how strictly the company name must match and what 'recent' covers – which an agent would need before trusting results.

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 company, limit, state, product, and date_received_min are all documented in structured form, and the baseline of 3 applies. The description adds nothing beyond the schema about parameters – it never mentions the state, product, or date filters or how the company string is matched, so it neither compensates nor detracts.

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 and resource ('Retrieve recent CFPB complaints') plus the return payload ('top product, issue, and timely-response aggregations') scoped to 'a specific financial institution or lender'. That is clear enough to act on, but it does not distinguish itself from siblings like get_complaint_trends, which sounds like it also produces aggregations, or search_complaints.

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 phrase 'for a specific financial institution or lender' tells the agent this needs a company name, and 'recent' hints at recency-limited scope. There is no explicit when-to-use/when-not guidance and no routing to search_complaints, search_by_product_state, or get_complaint_trends, even though the aggregation overlap with the latter is a real selection risk.

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.