Skip to main content
Glama

get_payment_transactions

Read-only

List recent payment transactions from provider-synced payment data, newest first.

Each row: amount, fee, net, currency, kind, status, product, customer name/email/instagram, match status, and the matched CRM lead if any. No pagination; total_count reports all matching rows, so when it exceeds the returned count, narrow time_period or use search to see the rest.

Only available to Creator, Manager and Finance roles.

Args: time_period: Time period to query. Defaults to last_30_days. kind: CHARGE | REFUND | DISPUTE. status: e.g. SUCCEEDED, PENDING, FAILED, REFUNDED, DISPUTED. match: any | matched | unmatched (matched = linked to a CRM lead). search: Filter by customer email, customer name or product name. limit: Max rows to return (default 20, max 50).

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_payment_transactions"
  }
}

Input Schema

NameRequiredDescriptionDefault
kindNo
limitNo
matchNoany
searchNo
statusNo
time_periodNolast_30_days

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.5/5.0
Behavior4/5

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

Annotations already cover the read-only safety profile, and the description adds genuinely non-redundant behavior: no pagination, total_count semantics for truncation, default and maximum limit, and the Creator/Manager/Finance role restriction. It could still say what happens with an invalid or out-of-range time_period, but the operational caveats an agent needs are present.

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?

Front-loaded purpose sentence, then the row shape, then the truncation caveat, then args in a clean list. The row-field enumeration is somewhat long but is the kind of detail that saves a follow-up call; nothing here is padding.

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?

For a six-parameter filtered list tool with an output schema present, everything an agent needs is stated: scope, ordering, truncation behavior with a remedy, access constraints, and per-parameter meaning. Return values are covered by the output schema and the row summary matches it.

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

Parameters5/5

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

Schema coverage is 0%, so the description carries the full burden and does: it documents all six parameters with defaults (last_30_days, 20), the max (50), enumerated kind values, example status values, the three-way match semantics including "matched = linked to a CRM lead," and what search actually filters on. This adds meaning the bare schema does not.

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?

Opens with a specific verb and resource: "List recent payment transactions from provider-synced payment data, newest first." The scope (recent, provider-synced, newest-first ordering) is precise enough to distinguish it from the payment siblings such as get_payment_clients, get_payment_costs and get_payment_overview without opening any schema.

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

Usage Guidelines4/5

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

Gives actionable guidance for the no-pagination constraint: when total_count exceeds the returned count, "narrow time_period or use search to see the rest." It also states the role gate. It stops short of naming a sibling tool to use for aggregate views, so no explicit alternative routing, but the within-tool guidance is clear.

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