Skip to main content
Glama

Delete Payments

delete_payments
Destructive

Delete payment records by filter. At least one filter is required. WARNING: without a date range, matching records are deleted across the entire history.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
endAtNoISO 8601 end timestamp
domainNoWebsite domain to query. Required when using a workspace token unless websiteId is provided.
startAtNoISO 8601 start timestamp
visitorIdNoDelete all payments for this visitor
websiteIdNoWebsite ID to query. Required when using a workspace token unless domain is provided.
transactionIdNoDelete the payment with this transaction ID

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultNoConfirmation of the payment record deletion.

TDQS

A4.4/5.0
Behavior4/5

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

The annotations already provide destructiveHint=true, and the description adds important behavioral detail by warning about full-history deletion when no date range is provided. It does not say whether deletion is reversible, but the explicit wording plus the destructive annotation covers the key safety concern.

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?

The description is only three short sentences, with the most important safety warning placed last but clearly emphasized. Every sentence earns its place, and there is no filler or repetition of schema content.

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 destructive tool with six optional-looking parameters, the description compensates well by stating the mandatory-filter condition and the biggest risk (full-history deletion). The output schema covers return-value expectations, though the text could have clarified how multiple filters combine (e.g., AND vs OR).

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 individual parameters are already documented. The description adds meaning beyond the schema by communicating that at least one filter is mandatory and by explaining the dangerous consequence of omitting startAt/endAt.

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?

The description uses a specific verb and resource ('Delete payment records by filter'), which clearly distinguishes it from the sibling delete_goals and the read-only analytics tools. Even without opening the schema, an agent can tell what resource this acts on and in what mode.

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?

It states that at least one filter is required and explicitly warns that omitting a date range deletes over the entire history, which is a critical usage constraint. It does not mention alternative tools, but there is no close substitute for deleting payments among the siblings.

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.

TDQS

A3.6/5.0
Disambiguation5/5

Each tool serves a distinct purpose: get_* tools cover different analytics dimensions (browsers, cities, countries, etc.) with clear scopes, while issue management and tracking tools are clearly separated. Even get_breakdown is explicitly scoped to dimensions without dedicated endpoints, avoiding overlap.

Naming Consistency5/5

All tools follow a consistent verb_noun pattern with snake_case (delete_goals, get_overview, track_goal, update_issue_status). Verbs are specific and predictable (get, delete, track, list, update), and there are no naming style mixes.

Tool Count2/5

At 27 tools, the set exceeds the 25-tool threshold considered 'too many.' While the domain is broad (analytics, tracking, issues), many get_* tools could be consolidated into get_breakdown with filter parameters, making the count feel inflated rather than necessarily well-scoped.

Completeness4/5

The tool surface covers the full analytics lifecycle: overview, time series, breakdowns, real-time data, visitor profiles, goal/payment tracking and deletion, plus AI issue listing/detail/status updates. Minor gaps exist (e.g., no update for goals/payments, no explicit list of defined goals), but these are non-critical and don't impair typical workflows.

Resources