Skip to main content
Glama
cfpb-complaints-mcp

cfpb-complaints-mcp

by bnovarini

get_complaint

Retrieve a single CFPB consumer complaint by Complaint ID to access its structured fields and, when archived, the full narrative.

Instructions

One complaint by its CFPB Complaint ID: all structured fields and, when archived, the full narrative.

Input Schema

NameRequiredDescriptionDefault
complaint_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.3

TDQS

A3.9/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does add real behavioral value: it discloses what comes back (all structured fields) and a conditional return rule (full narrative only when archived). It does not cover failure behavior for an invalid/missing ID, so it falls short of full transparency.

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?

One sentence, front-loaded with the action and resource, with the return detail appended where it belongs. No padding or redundant restatement of the name.

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?

For a one-parameter read with no output schema, the description usefully sketches the return payload and its archive conditionality. It stops short of error/not-found semantics, which is the only meaningful remaining gap.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 0%, so the description must compensate, and it does by naming the identifier domain ('CFPB Complaint ID') rather than leaving the bare integer unexplained. A single self-evident required key limits how much more could be said.

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 ('get one complaint') plus the lookup key ('by its CFPB Complaint ID'), so the agent knows this is a single-record fetch rather than a search. It does not name a sibling (e.g., search_narratives) to draw the boundary explicitly, but the singular-by-ID framing is unambiguous.

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 'by its CFPB Complaint ID' phrasing signals the precondition (you must already have an ID), which distinguishes it from search tools. There is no explicit when-to-use/when-not statement and no mention of the alternative to pick when you lack an ID.

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