Skip to main content
Glama

alipay_precreate

Create an Alipay payment order and obtain a QR code for customer payment. Use execute=false to get the signed request specification instead.

Instructions

支付宝当面付预下单:execute=false 仅返回已签名请求规格;true 真实调用返回 qr_code 二维码链接。

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
credNo凭证(可省略,改用环境变量;PEM 字段可直接传 PEM 全文或 .pem 文件路径)
orderYes
executeNo
sandboxNo是否沙箱环境
notifyUrlNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.5/5.0
Behavior3/5

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

With no annotations, the description carries the burden of behavioral disclosure. It does disclose the split between dry-run and actual invocation, which is valuable. However, it does not explain side effects of the real call, authentication/credential expectations, error behavior, or reversibility, leaving gaps for a tool that can perform a real external API call.

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?

The description is a single compact sentence that front-loads the tool's purpose and immediately clarifies the critical execute behavior. Every clause adds useful information and there is no padding or redundancy.

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

Completeness3/5

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

Given moderate complexity with nested objects, no output schema, and no annotations, the description is adequate but not complete. It explains the main modes and the QR code output, but leaves parameter details, authentication fallbacks, and broader behavioral expectations to the schema or agent inference.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is only 40%, so the description needs to compensate for undocumented parameters. It only adds meaning for the execute parameter; the order object fields, cred, sandbox, and notifyUrl are not explained in the description. Some schema descriptions exist, but the description does not add enough value to cover the low coverage.

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?

The description clearly identifies the tool as Alipay Face-to-Face Payment pre-ordering with a specific resource and output (qr_code). It does not explicitly distinguish itself from sibling tools like alipay_sign_params or alipay_build_pay_url, but the verb and resource are specific enough that the core purpose is unambiguous.

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?

The description provides explicit guidance on the execute flag: execute=false returns a signed request spec, while execute=true performs a real call and returns a QR code. This gives clear context for the two main usage modes, though it does not mention when to prefer this tool over sibling tools or any exclusions.

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