Skip to main content
Glama
UQPAY MCP Server

UQPAY MCP Server

Official
by uqpay

payment_intent_create

Initiates a payment by creating a payment intent with amount, currency, order ID, description, and return URL to redirect customers after checkout.

Instructions

Create a payment intent.

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": {
      "amount": "<amount>",
      "currency": "<currency>",
      "merchant_order_id": "<merchant_order_id>",
      "return_url": "<return_url>",
      "description": "<description>"
    },
    "name": "payment_intent_create"
  }
}

Input Schema

NameRequiredDescriptionDefault
amountYesPayment amount as decimal string, e.g. "100.00". Must be a string, not a number.
currencyYesISO 4217 currency code, e.g. "USD"
metadataNoKey-value metadata for your internal reference
ip_addressNoCustomer IP address for fraud detection
return_urlYesURL to redirect customer after payment
descriptionYesDescription of the payment shown to the customer
browser_infoNoCustomer browser info for 3DS authentication
on_behalf_ofNoSub-account ID to act on behalf of. Pass the short account ID (e.g. "CB4488338944") to operate on a sub-account; omit to operate on the master account.
payment_methodNoPayment method details (varies by method type)
payment_ordersNoSplit payment order details
merchant_order_idYesYour unique order ID for this payment

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

D1.7/5.0
Behavior1/5

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

No annotations are supplied, so the description carries the full burden of behavioral disclosure and delivers none of it. It does not state whether the intent is auto-confirmed, whether the call requires an API key or account context, whether idempotency keys are supported, what happens on failure, or that all five required fields must be present before any side effect occurs.

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

Conciseness2/5

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

It is short and front-loaded, but the brevity is under-specification rather than economy: a single five-word sentence that conveys no information an agent could not read off the title. Nothing here earns its place relative to what a payment-creation tool must explain.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness1/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

This is an 11-parameter mutation with nested objects (payment_method, payment_orders, browser_info), five required fields, no annotations, and no output schema. A one-line description leaves the agent without any of the lifecycle, idempotency, 3DS, or split-payment context needed to invoke it correctly.

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 description coverage is 100%, so every one of the 11 parameters already carries an inline description, including the tricky decimal-string amount and the on_behalf_of sub-account semantics. The description adds nothing beyond that, but per the high-coverage baseline a 3 is appropriate.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose2/5

Does the description clearly state what the tool does and how it differs from similar tools?

"Create a payment intent." restates the tool name (payment_intent_create) with no additional specificity. It does convey a verb and a resource, but nothing distinguishes it from what the name already tells the agent, and it offers no scope, ordering, or outcome detail.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines1/5

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

There is no guidance at all on when to call this versus siblings such as payment_intent_confirm, payment_intent_capture, or banking_payment/create flows. The agent is left to infer the entire create-vs-confirm lifecycle from external knowledge.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Deploy Server

Other Tools