Skip to main content
Glama

cbr__ChangeVaultChargeMode

Converts CBR vaults from pay-per-use to subscription billing by specifying vault IDs and a monthly or yearly period.

Instructions

[CBR] 修改资源的付费模式,暂时只支持按需资源转包周期资源。

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": {
      "period_num": "<period_num>",
      "period_type": "<period_type>",
      "project_id": "<project_id>",
      "vault_ids": "<vault_ids>"
    },
    "name": "cbr__ChangeVaultChargeMode"
  }
}

Input Schema

NameRequiredDescriptionDefault
vault_idsYes资源列表
period_numYes创建类型的数量,按年或按月的个数
project_idYes项目ID
console_urlNo跳转URL
is_auto_payNo是否自动付费,默认为不自动付费
period_typeYes创建类型,按年(year)或者按月(month)
charging_modeNo付费模式,当前仅可选择:pre_paid
is_auto_renewNo到期后是否自动续期,默认不续期

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

B3.3/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full behavioral burden for a billing-mutating operation. It discloses the allowed direction of change but says nothing about cost implications, whether an order is generated, whether the change is reversible, or how is_auto_pay/is_auto_renew affect the outcome.

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?

A single short sentence, front-loaded with the operation and immediately followed by the scope caveat. The '[CBR]' prefix is mild noise, but there is no padding or redundant restatement.

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

Completeness2/5

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

For an eight-parameter, four-required billing mutation with no annotations and no output schema, the definition is far too thin. It does not explain the order/payment flow, constraints on vault_ids (e.g., homogeneity of charge mode), or what a caller should expect after a successful conversion.

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 eight parameters are already documented in the input schema, and the description adds no extra meaning about period_type, period_num, vault_ids limits, or auto-pay behavior. Baseline 3 applies when structured fields do the work.

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 states a specific verb+resource pair (modify the charging mode of resources) and adds a scope constraint: currently only on-demand (pay-per-use) resources can be converted to subscription/period resources. That constraint distinguishes it from generic 'mode' changers and from sibling vault operations, though no sibling is named explicitly.

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 clear applicability condition — only pay-as-you-go to subscription conversions are supported — which functions as an implicit when-not rule. It stops short of naming an alternative path (e.g., ordering/ChangeOrder) for the unsupported direction or stating prerequisites such as payment setup.

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