Skip to main content
Glama

Get the payment link

get_payment_link
Read-onlyIdempotent

Create a web payment link for an unpaid order so clients can pay by card or PayPal or approve a card charge.

Instructions

The web link where anyone can pay an unpaid order by card or PayPal - to send to whoever pays (e.g. the firm's client), or when a card needs the cardholder's approval.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
order_numberYesThe eVerbary order number, e.g. 43392.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true and destructiveHint=false, so safety is covered. The description still adds real context: the link only makes sense for an unpaid order, it supports card or PayPal, and it may be needed for cardholder approval. Minor gap: no note on link expiry or repeatability.

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?

A single front-loaded sentence with no filler; the core noun phrase comes first and the usage cases follow. The trailing clause is slightly convoluted ('to send to whoever pays') but still earns its place.

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 no output schema, the description usefully states what is returned (a web link) and the two situations it applies to. Complete enough for an agent to call it correctly, missing only details about link lifetime or validity of the unpaid order.

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 order_number parameter is documented with a format example in the schema itself. The description adds nothing about the parameter, so the baseline 3 applies.

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 and resource ('the web link where anyone can pay an unpaid order') and pins the scope to unpaid orders, which implicitly separates it from pay_order and order_status. It never names a sibling explicitly, so differentiation rests on inference.

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 two concrete use contexts: sending the link to whoever pays (e.g. the firm's client), or when a card needs the cardholder's approval. That is clear when-to-use guidance, though it offers no when-not-to-use or explicit alternative tool.

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