Skip to main content
Glama

Okam

Verify payment

checkout_verify

Verify an external payment after the user has completed the returned payment URL. Provider is vipps or dintero.

Input Schema

NameRequiredDescriptionDefault
providerYesPayment provider: vipps or dintero.
paymentReferenceYesVipps orderId or Dintero session/payment transaction id returned by checkout_start.

Output Schema

NameRequiredDescriptionDefault
orderNo
statusNo
messageNo
providerNo
paymentReferenceNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=false, openWorldHint=true, and destructiveHint=false, so the agent knows this makes an external, non-destructive mutation. The description adds that the URL comes from a prior step and constrains providers, but does not state what verification does to the order or whether repeated calls are idempotent.

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 short sentences, front-loading the action and condition. The trailing provider sentence largely duplicates the schema description, which is minor waste but not harmful.

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 covering return values and annotations covering the safety profile, the description supplies the needed precondition and provider scope. Only the side effects of a successful/failed verification remain unstated.

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 both parameters are documented, including the exact vipps/dintero id forms. The description repeats the provider list already in the schema and adds no syntax or format detail beyond it, so baseline is appropriate.

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 (verify) and resource (external payment), tied to the precondition 'after the user has completed the returned payment URL'. That precondition implicitly distinguishes it from checkout_start, though no sibling is named explicitly.

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?

Gives a clear sequencing trigger: call this after the user has finished at the returned payment URL. It does not name alternatives or exclusions (e.g., what to do on verification failure), but the when-to-use context is unambiguous.

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