Skip to main content
Glama

Qashier MCP by usefulapi

Create checkout session

qashier_create_checkout_session
Destructive

WRITE: create a payment Checkout Session for ONE item and return its payment url. It charges nothing until the customer pays at that url. Amount is in cents (SGD 12.50 = 1250). POST /checkout/sessions.

Input Schema

NameRequiredDescriptionDefault
currencyYesCurrency code, uppercase, for example SGD, MYR, PHP.
expires_atNoExpiry as epoch seconds, 30 minutes to 24 hours from now (default 24 hours).
return_urlYeshttps URL where the customer returns after paying or cancelling.
success_urlYeshttps URL where the customer goes when payment is complete.
unit_amountYesAmount to charge in cents (non-negative integer).
customer_emailNoEmail that receives the payment receipt.
idempotency_keyNoOptional idempotency key (max 255 chars). Reuse the same key to retry safely without a duplicate.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior4/5

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

Annotations only carry destructiveHint=true; the description adds real context the agent can't see elsewhere: this is a WRITE, it defers any charge until the customer pays, and it returns a payment url. It stops short of noting the idempotency/retry behavior, which stays buried in the schema.

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?

Three short sentences, front-loaded with the "WRITE:" marker and ending on the HTTP endpoint. Nothing is redundant or 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 a 7-parameter write tool with no output schema, the description covers the mutation nature, the deferred charge, and the return value, with units clarified. Minor gaps remain around retry/idempotency semantics, though those are documented per-parameter in the schema.

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 the schema already explains all seven parameters. The description reinforces the unit_amount convention with a concrete conversion example (SGD 12.50 = 1250), but adds no meaning beyond that baseline.

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?

States a specific verb (create), resource (payment Checkout Session), and scope limit (ONE item), plus the return value (payment url). The create verb separates it cleanly from the get/list/expire/refund siblings without needing to name them.

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?

Implies usage through "It charges nothing until the customer pays at that url," which tells an agent this is the pre-payment step, but it never states when to choose this over siblings (e.g. multi-item flows, refunds) or any preconditions.

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.