Skip to main content
Glama

cbr__UpdateOrder

Updates package-period product order details after CBC payment, using the order, project, resource, and product specification to revise a CBR resource order. This endpoint is deprecated.

Instructions

[CBR] 订单更新,支付cbc订单后,调用该接口更新包周期产品订单信息。该接口已废弃。

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "order_id": "<order_id>",
      "productInfo": "<productInfo>",
      "project_id": "<project_id>",
      "resourceId": "<resourceId>"
    },
    "name": "cbr__UpdateOrder"
  }
}

Input Schema

NameRequiredDescriptionDefault
order_idYes订单ID
project_idYes项目ID
resourceIdYes待变更的资源ID
productInfoYes产品信息
promotion_infoNo购买折扣
cloudServiceConsoleURLNo云服务ConsoleURL。订单支付完成后,客户可以通过此URL跳转到云服务Console页面查看信息

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

B3.3/5.0
Behavior3/5

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

With no annotations, the description carries the full burden, and it does disclose the deprecation state and the payment prerequisite. However, it says nothing about permissions needed, whether the update is idempotent or reversible, or what happens if the order is not paid. For a mutation endpoint with zero annotation coverage, that leaves notable gaps.

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?

Three short clauses with no filler; the deprecation flag is placed at the end where it is easy to miss but is still present in a very short text. Front-loading the deprecation warning would have been better, but nothing is wasted.

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 six parameters, a nested object, no output schema and no annotations, the description covers the key context an agent needs to avoid misusing it (deprecated, post-payment). It does not explain the mutation's effect, failure behavior, or what the updated order looks like, so it is adequate but not complete.

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 all six parameters, including the nested productInfo fields, are already documented in the schema. The description adds no parameter-level meaning such as format guidance for order_id or resourceId, so it sits at the baseline for fully documented schemas.

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

Purpose3/5

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

The description says it updates order information for package-period products, which is a concrete verb and resource, but the phrasing '订单更新' largely restates the tool name. It does not distinguish this from sibling cbr__ChangeOrder, so an agent still cannot tell which one to pick from the purpose alone. The deprecation notice is the only differentiating signal.

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?

It gives a real precondition ('after paying the cbc order, call this interface') and explicitly states the interface is deprecated, which steers the agent away from using it. It stops short of naming a replacement tool or saying what to do instead, but the when-to-use and the strongest when-not-to-use signal are both present.

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

Deploy Server

Other Tools