Skip to main content
Glama

cfpb_complaint_trends

Read-onlyIdempotent

Time-series trends of complaint volume. lens=overview shows total complaints over time; lens=product shows by product; lens=company shows by company; lens=issue shows by issue. Interval can be month, quarter, or year.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
lensYesTrend dimension
productNoFilter to a specific product
sub_lensNoOptional sub-dimension
trend_depthNoTop N to track (default 5)
trend_intervalNoTime bucket size
date_received_maxNoYYYY-MM-DD upper bound
date_received_minNoYYYY-MM-DD lower bound

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changed
    • addedInput schema / properties / trend_depth / maximum
      Added value: +20
    • addedInput schema / properties / trend_depth / minimum
      Added value: +1
    • changedInput schema / properties / trend_depth / type
      Previous value: -"number"New value: +"integer"
  2. 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 no behavioral context such as data freshness or rate limits, which is acceptable given the annotation coverage but leaves the definition at a minimum viable level.

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?

Three sentences that are front-loaded with purpose and then enumerate lens and interval options. Every sentence earns its place with no redundant or filler text.

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 7-parameter tool with no output schema and rich schema descriptions, the description covers the core lens semantics and interval choices. It omits details about date-range filters and trend_depth, but those are documented in the schema, so the description is adequately complete.

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 100%, so all parameters are documented. The description goes beyond the schema by explaining what each lens value shows (overview, product, company, issue), which adds meaningful semantic context for the required parameter.

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 states a specific verb and resource: 'Time-series trends of complaint volume.' It clearly distinguishes the tool's purpose, but does not differentiate it from siblings such as cfpb_complaint_aggregations or cfpb_state_complaints.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description explains lens options and interval choices, but gives no guidance on when to use this tool versus alternatives. There is no mention of appropriate contexts, exclusions, or sibling tools to prefer.

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.