Skip to main content
Glama

申请退单

order_refund_apply

Request a refund for a static residential proxy sub-account. Submit the sub-account ID and reason for manual review; refunds are not immediate and are subject to eligibility checks.

Instructions

为静态住宅的一个子账号申请退单,提交后由人工审核,不会立即退款。后端限制:只能在下单后 1 天内申请;已续费、有进行中的带宽升级订单、消费记录已开票的子账号不能退;同一子账号重复申请会被拒。

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idYes子账号 id
remarkYes退单原因
productYes产品:static-standard=静态住宅(非原生),static-native=静态住宅(原生),static-isp-native=静态住宅(运营商原生)
confirm_tokenNo确认码。客户端不支持弹窗确认时,第一次调用只返回操作预览和确认码;把预览告诉用户并得到同意后,用相同参数带上确认码再调一次。支持弹窗确认的客户端不需要这个参数

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.7/5.0
Behavior5/5

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

The description adds meaningful behavioral context beyond the annotations: submission triggers manual review, refunds are not immediate, and duplicate applications are rejected. It also discloses backend eligibility restrictions. These traits are not inferable from readOnlyHint=false, openWorldHint=true, or idempotentHint=false, and there is no contradiction.

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?

One dense sentence front-loads the action and the manual-review consequence, then packs the backend restrictions into a compact, scannable list. There is no filler or redundancy.

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

Completeness5/5

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

Combined with the rich schema, which already explains the confirm_token two-step confirmation flow, the description covers purpose, eligibility, timing, and post-submission outcome. Nothing an agent needs to decide whether to invoke this tool is missing.

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 100%, so the schema already documents id, remark, product enum, and confirm_token in detail. The description adds no parameter-level meaning beyond referencing the static-residential product scope, so the baseline 3 is appropriate.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description states a specific action ('申请退单' – apply for refund) targeting a static-residential subaccount, and clearly distinguishes this tool from sibling order/subaccount tools by its refund purpose and manual-review caveat. The verb and resource are unambiguous.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description explicitly states when the tool can be used ('只能在下单后 1 天内申请') and lists disqualifying conditions: renewed subaccounts, ongoing bandwidth upgrade orders, invoiced consumption records, and duplicate applications. This gives an agent clear go/no-go criteria, and no refund-specific sibling tool exists to confuse it with.

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