Skip to main content
Glama

Set payment options

set_payment_options
Idempotent

Zahlarten ändern – nur die angegebenen Felder, der Rest bleibt. paypal (an/aus), vorkasse (Überweisung vorab; braucht IBAN im Verkäuferprofil, siehe set_seller_bank), stripe_methoden (feste Liste aus card, sepa_debit, klarna, eps, bancontact, ideal, giropay, sofort, link; null = im Stripe-Dashboard aktive Methoden), rabatte ({vorkasse|abholung|paypal|stripe: Prozent} oder null), abholung ({aktiv, adresse, zeiten, hinweis, bar} oder null), b2b ({aktiv, hinweis, rechnung, ziel_tage} oder null). Ein veröffentlichter Shop muss danach mindestens eine Zahlart haben. dry_run=true zeigt nur das Ergebnis. Nur Inhaber/Admins.

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": {
      "store_id": "<store_id>"
    },
    "name": "set_payment_options"
  }
}

Input Schema

NameRequiredDescriptionDefault
b2bNo
paypalNo
dry_runNo
rabatteNo
abholungNo
store_idYes
vorkasseNo
stripe_methodenNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/5.0
Behavior5/5

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

The description adds far more than the annotations: only supplied fields are changed and everything else is preserved (consistent with idempotentHint), a business validation rule survives the operation, dry_run=true previews the outcome, and an authorization restriction applies. The null semantics for stripe_methoden ('null = methods active in the Stripe dashboard') and the vorkasse dependency on seller IBAN are exactly the kind of side-effect context an agent needs.

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?

The overarching rule is front-loaded, then fields are listed compactly with semicolons; no sentence is filler. It is a single dense block with terse parenthetical notation, so parsing takes some effort, but the density is functional rather than padded.

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 an 8-parameter mutation tool with no output schema and zero schema doc coverage, the description covers nearly everything needed to call it safely: field semantics, null handling, validation rule, dry-run preview, and permissions. It does not describe the shape of the returned result or what a dry run actually outputs beyond 'shows the result', which is a minor remaining gap.

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 description coverage is 0%, and the NestedObjects have no properties at all, so the description carries the entire burden. It supplies the meaning of each field (paypal on/off, vorkasse prepayment, rabatte percentage keys, abholung keys aktiv/adresse/zeiten/hinweis/bar, b2b keys aktiv/hinweis/rechnung/ziel_tage), the enum list for stripe_methoden, and null behavior. Only store_id and the exact meaning of null for rabatte/abholung/b2b remain implicit.

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 opening phrase 'Zahlarten ändern' names a specific action and object (payment methods of a store), and 'nur die angegebenen Felder, der Rest bleibt' immediately pins down the partial-update scope. That scope plus the field-by-field list makes it unmistakable next to the read counterpart get_payment_options.

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 real preconditions: a published shop must have at least one payment method after the change, vorkasse requires an IBAN in the seller profile and points the agent to set_seller_bank, and usage is limited to owners/admins. It also recommends dry_run=true for previewing. It never explicitly says 'read current values with get_payment_options first', so it stops short of full alternative routing.

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