Skip to main content
Glama

独行录 / opcmenu

继续支付本人原订单

resume_payment_order
Idempotent

【需登录】预览本人原单金额/状态/渠道;确认后同参+previewHash、preview=false返回原单入口,不新建。auto选已开放渠道;App渠道按原订单号由本人续付,网站渠道返回收银台。已付/已发放不能续付;get_payment_order核验。

Input Schema

NameRequiredDescriptionDefault
channelNoauto
previewNo
outTradeNoYes
previewHashNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.9/5.0
Behavior4/5

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

Annotations only declare idempotentHint, so the description carries the behavior burden and does well: it discloses the login requirement, the two-step preview/confirm flow, that no new order is created, channel-specific routing (App self-renew vs web cashier), and blocking states. Return-format details are thin but the key behavioral traits are surfaced.

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?

Front-loads the login requirement and packs the flow, channel, and eligibility into a compact block with no obvious filler. It is dense to the point of being terse, but every clause conveys real information.

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 4-param, no-output-schema mutation/resume tool, the description covers login, the confirm-token flow, channel behavior, and failure conditions sufficiently for an agent to invoke it correctly. Minor gaps remain around output/return rather than core invocation.

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 0%, so the description must compensate. It explains preview/previewHash (reuse params + hash from preview to confirm) and channel 'auto' behavior and app-vs-web routing, but leaves outTradeNo as only implicitly '原订单号' and does not distinguish wap/page enum values, so coverage is partial.

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 the exact resource (本人原单), and distinguishes the resume action from get_payment_order used for verification. An agent can tell this resumes an existing order rather than creating one (不新建), though the primary 'resume payment' action is a bit buried behind the preview step.

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 clear usage: preview first, then re-call with the same params + previewHash and preview=false, plus eligibility exclusions (已付/已发放不能续付) and a verification alternative (get_payment_order核验). It doesn't explicitly contrast against create_payment_order, but the when-to-use context is strong.

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