Skip to main content
Glama

独行录 / opcmenu

继续支付本人原订单

resume_payment_order
DestructiveIdempotent

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

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
channelNoauto
previewNo
outTradeNoYes
previewHashNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.8/5.0
Behavior4/5

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

Adds substantial context beyond the annotations: it states login is required, that the call does not create a new order (consistent with idempotentHint=true), and that behavior differs by channel (auto picks an open channel, app resumes by original order number, web returns a cashier page). It does not, however, spell out what 'destructive/irreversible' aspects the destructiveHint implies.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Very information-dense and largely front-loaded with the login requirement and flow, and each clause carries meaning. However the semicolon-chained single block is cramped and mixes preconditions, parameter workflow, and channel branching without clear separation, hurting scanability.

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-parameter mutation tool with no output schema, the description covers the auth prerequisite, the two-step preview/confirm workflow, channel-specific outcomes, and the paid/issued restrictions — enough for an agent to call it correctly. Only minor gaps remain around enum coverage and return-shape expectations.

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 0%, so the description must carry parameter meaning. It explains the preview/previewHash coupling and the confirm re-invocation pattern, plus auto/app/web channel behavior, but leaves the wap vs page enum values and the outTradeNo constraints unexplained, so it only partially compensates for the coverage gap.

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?

Names a specific operation — resuming/continuing payment for one's own existing order — and clarifies it does not create a new order (不新建), which differentiates it from the sibling create_payment_order. The two-phase preview-then-confirm flow is stated, though the core purpose is buried after the login-required marker rather than front-loaded.

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 an explicit procedure (preview first, then same params + previewHash with preview=false) and an explicit exclusion (already-paid/already-issued orders cannot be resumed). It also routes the agent to get_payment_order for verification, though it does not contrast directly against cancel_payment_order or create_payment_order by name.

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