Skip to main content
Glama

Credit card statements

get_credit_card_statements
Read-onlyIdempotent

One credit card's statements (amount, paid, left to pay, due date, status: paid, partPaid, unpaid, overdue or noDue) and what was spent by category and month: for startDate–endDate when given, else the latest statement's period.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "get_credit_card_statements"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoLatest statements to return when no dates are given (default 6)
endDateNoYYYY-MM-DD: statements and spending up to this day
cardNameNoCard name, bank or last 4 digits (partial match). Needed when the user has more than one card
startDateNoYYYY-MM-DD: statements and spending from this day

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and openWorldHint=false, so the safety profile is covered. The description adds real value beyond that: the enumerated status values (paid, partPaid, unpaid, overdue, noDue) and the fallback rule that with no dates it reports the latest statement's period. It omits any note on permissions or how large the category/month breakdown can get.

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?

It is a single dense sentence, front-loaded with the resource and immediately followed by the returned fields and the date fallback rule. The parenthetical status list is compact and informative rather than wasteful, though the sentence is long enough to be slightly hard to parse in one pass.

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?

There is no output schema, so the description must carry the return-value burden, and it does so by listing amount, paid, left to pay, due date, status values, and the category/month spending breakdown. It leaves the shape of the spending breakdown and any pagination behavior unspecified, which is a modest gap for a read-only reporting tool.

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 baseline is 3, but the description adds meaning the schema does not fully convey: the combined startDate/endDate window governs both statements and spending, and absent dates the tool defaults to the latest statement period. The cardName disambiguation ('Needed when the user has more than one card') lives only in the schema, so no extra credit there.

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 names a specific resource (one credit card's statements) plus the secondary payload (spending by category and month), and enumerates the returned fields and status values, so the agent knows exactly what it retrieves. It does not explicitly distinguish itself from sibling tools like get_credit_card_costs or get_credit_cards_summary, which keeps it below a 5.

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 description gives conditional usage for the date parameters ('for startDate–endDate when given, else the latest statement's period'), which is genuine context, but it never states when to prefer this tool over the credit-card cost or summary siblings. Usage is implied by the scope ('One credit card's statements') rather than explicitly guided.

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.

Resources