Skip to main content
Glama

Payment methods and accounts

get_payment_methods
Read-onlyIdempotent

The user's payment methods (cards, UPI, cash and so on, each with the account it pays from) and accounts, by name. Use to answer "which cards do I have", and to get exact names before add_transactions.

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

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.8/5.0
Behavior3/5

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

The annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and openWorldHint=false, so safety is covered without the description. The description adds relevant return-shape context — each payment method is paired with the account it pays from and items are keyed by name — which matters since there is no output schema. It omits edge-case behavior: whether closed/archived accounts appear, whether the list is complete, and what happens when the user has no methods.

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?

Two sentences with no filler: the first defines the returned data, the second front-loads the actionable uses. The parenthetical "cards, UPI, cash and so on" is slightly loose but efficiently conveys breadth. Nothing would be lost by trimming "and so on," but overall it is tight.

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?

With zero parameters, no output schema, and rich annotations, the description carries the remaining burden of telling the agent what comes back — which it does by describing the method-plus-funding-account structure and name keying. The only gap is the absence of any statement about list completeness or filtering, which is minor for a parameterless read.

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?

The tool takes zero parameters, so there is nothing for the description to disambiguate; baseline 4 applies. The schema is empty and fully consistent with a no-argument listing tool.

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 the resource concretely and enumerates what it contains: payments methods ("cards, UPI, cash and so on, each with the account it pays from") plus accounts, returned "by name." That is well beyond restating the title. It stops short of 5 because the "and accounts" clause overlaps conceptually with the sibling get_accounts_summary, and the description does not clarify the division of labor.

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 gives two concrete usage contexts: answering "which cards do I have" and retrieving exact names before calling add_transactions — the latter is a genuinely useful sequencing hint. It does not state when NOT to use this tool or name competing alternatives such as get_accounts_summary or get_spending_by_payment_method.

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