Skip to main content
Glama

datasets_bbb_scamtracker_reports_facets

Read-only

Aggregate the stored BBB Scam Tracker reports and return counts by scam_type, state or country under the same filters as the search tool. Use it to list the scam types present or to size a date range before paging through datasets_bbb_scamtracker_reports_search.

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": {
      "facet": "<facet>"
    },
    "name": "datasets_bbb_scamtracker_reports_facets"
  }
}

Input Schema

NameRequiredDescriptionDefault
qNoOptional full-text match on the report narrative and the business name used, max 256 characters.
pageNoResult page number, 1-based, default 1; page times page_size must not exceed 10000.
sortNoOptional sort order. Allowed values: relevance, reported_desc, reported_asc, loss_desc. Defaults to relevance with q, otherwise reported_desc.
facetYesRequired facet to aggregate. Allowed values: scam_type, state, country.
stateNoOptional 2-letter state or province code of the targeted person, e.g. TX or QC.
countryNoOptional country of the targeted person. Allowed values: USA, CAN.
date_toNoOptional inclusive report-date ceiling, YYYY-MM-DD, e.g. 2023-01-31.
max_lossNoOptional ceiling against the reported dollar loss, 0 or greater. Reports with an unknown loss are excluded.
min_lossNoOptional floor against the reported dollar loss, 0 or greater. Reports with an unknown loss are excluded.
date_fromNoOptional inclusive report-date floor, YYYY-MM-DD, e.g. 2023-01-01.
page_sizeNoPage size, default 20, max 100; page times page_size must not exceed 10000.
scam_typeNoOptional exact scam type filter, e.g. Online Purchase. Use the values returned by facets?facet=scam_type.

Output Schema

NameRequiredDescriptionDefault
dataYesThe tool result payload (shape varies per tool; see each tool's docs resource).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.5/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true and openWorldHint=true, so safety is covered. The description adds meaningful behavior by saying it aggregates stored reports into counts and reuses the same filters as the search tool, though it does not clarify how pagination or sort parameters affect aggregated counts.

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 focused sentences: the first defines the aggregation and facet options, the second gives purpose and points to the related search tool. No filler or repetition.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

The tool has annotations, a complete input schema, and an output schema, so the description need not explain return values. It adequately covers purpose, alternatives, and the shared-filter behavior needed for an agent to select and call it 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 coverage is 100%, so every parameter is already documented. The description only adds that filters are the same as the search tool and that facet supports scam_type, state, or country, which is already clear from the schema; it does not provide extra syntax or edge-case semantics.

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?

States a specific verb and resource: aggregate stored BBB Scam Tracker reports and return counts by scam_type, state, or country. It explicitly distinguishes this from datasets_bbb_scamtracker_reports_search by explaining that search pages through records while this tool aggregates them.

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

Usage Guidelines5/5

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

Gives concrete when-to-use guidance: list the scam types present or size a date range before paging through the search tool. It names the alternative tool and the workflow condition that selects this tool, leaving little inference required.

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.