Skip to main content
Glama

get_payments

Read-only

The app's web payment providers (Stripe, Dodo Payments, Polar), as in the dashboard's app settings › Revenue: for each, connected, the webhookUrl Hailbell takes its events at, the events it should send, secretHint, scope (for Dodo, the brand and product ids that count, or null for everything), lastEventAt (the last correctly signed event, test events included) and purchasesStored. Superwall and RevenueCat are set in the dashboard. Purchases from these providers show in get_conversation like app purchases.

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

Input Schema

NameRequiredDescriptionDefault
appIdNoThe app to act on, from list_apps. Optional when the key belongs to one app.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.6/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnlyHint=true, openWorldHint=false), yet the description adds real semantic detail beyond them: secretHint is a hint rather than a secret, lastEventAt means 'the last correctly signed event, test events included', and scope is null for 'everything' on Dodo. These clarify how to interpret returned values, which annotations cannot express; only the omission of pagination/response shape keeps it from 5.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The whole definition is one long run-on sentence loaded with parenthetical enumerations of every returned field, which hurts scannability. The information is mostly useful rather than filler, and the resource scope is front-loaded, but it would benefit substantially from breaking the field list into a structured list.

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 read-only, single-optional-parameter config fetch with no output schema, the description does the heavy lifting by enumerating returned fields and their meaning. The main remaining gap is that it does not state what happens when no provider is connected or how the response is shaped (list vs. object).

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?

There is a single parameter at 100% schema coverage, whose description already explains provenance ('from list_apps') and optionality when the key belongs to one app. The tool description adds only an implicit notion of app scoping ('The app's web payment providers') and no syntax or fallback behavior beyond the schema. Baseline 3 applies.

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 first clause names the exact resource: 'The app's web payment providers (Stripe, Dodo Payments, Polar)', mirroring the dashboard's Revenue settings page. It is unambiguous which resource is read, but it never uses a clean verb like 'returns' or 'retrieves', instead diving straight into a field enumeration. Distinguishing it from siblings is implicit only.

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?

Usage is implied by the dashboard analogy ('as in the dashboard's app settings › Revenue') and by a scope exclusion: 'Superwall and RevenueCat are set in the dashboard'. However, there is no explicit when-to-use statement and no alternative tool recommended — the mention of get_conversation is a data cross-reference, not a routing hint.

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