Skip to main content
Glama

ELART parts

listPaymentMethods

Read-onlyIdempotent

List guest payment methods for the cart currency (Stripe, PayPal, EveryPay when EUR, bank transfer).

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "cart_token": "<cart_token>"
    },
    "name": "listPaymentMethods"
  }
}

Input Schema

NameRequiredDescriptionDefault
cart_tokenYesCart token from createCart. Required on every later cart call.

Output Schema

NameRequiredDescriptionDefault
errorNoPresent when the call failed. The HTTP status stays 200.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

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 (readOnly, idempotent, closed-world), so the bar is lower; the description nonetheless adds non-obvious behavior — results are filtered by the cart's currency, and EveryPay only appears for EUR while bank transfer is also offered. It does not disclose empty-result or unsupported-currency behavior, which keeps it from a 5.

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?

One front-loaded sentence with zero padding; the verb, scope, and provider list all appear before any trailing detail. Nothing could be removed without losing information.

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 an output schema present and a single fully documented parameter, the description needs only to say what the list contains and how it varies — which it does via the currency and provider enumeration. Missing only sequencing/call-order context, which for a read-only list call is a minor gap.

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?

Schema coverage is 100% and the single cart_token parameter is fully documented with its provenance (from createCart) and constraint. The description adds no parameter-level detail beyond that, which is the expected baseline when the schema does the work.

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?

States a specific verb+resource ("List guest payment methods") and scopes it to the cart currency, so it is distinguishable from listShippingMethods and the mutating siblings setPaymentMethod/startPayment. It does not explicitly name a sibling it is not, so a 4 rather than 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 Guidelines2/5

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

The description gives no explicit when-to-use or when-not guidance, and does not mention ordering relative to setPaymentMethod or startPayment. Scope ("for the cart currency", "guest") implies usage context but no condition or alternative is stated.

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