Skip to main content
Glama

waf__ShowSubscriptionInfo

Retrieves WAF tenant subscription details—cloud-mode package periods, pay-per-use billing, and dedicated-mode info—using the provided project ID.

Instructions

[WAF] 查询租户订购信息,包括云模式包周期、按需计费、独享模式

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": {
      "project_id": "<project_id>"
    },
    "name": "waf__ShowSubscriptionInfo"
  }
}

Input Schema

NameRequiredDescriptionDefault
project_idYes用户的project_id,对应华为云控制台用户名->我的凭证->项目列表->项目ID

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

B3.2/5.0
Behavior3/5

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

No annotations are provided, so the description carries the full behavioral burden. '查询' implies a read-only operation, which is useful, but the description doesn't disclose permission requirements, what the returned subscription fields are, or any rate/scope constraints. Adequate but thin for a no-annotation tool.

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 compact sentence that front-loads the resource and enumerates the covered subscription modes. No wasted wording, though it could be slightly more structured with an explicit usage cue.

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?

For a simple one-parameter read tool with no output schema, the description covers the purpose but says nothing about what the response contains. Since there is no output schema, some return-value context would have helped, leaving this 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% and there is only one parameter (project_id), which the schema already documents in detail. The description adds no meaning beyond the schema, so the baseline 3 applies.

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 and resource: querying tenant subscription information, with the scope spelled out (cloud-mode package period, pay-per-use, dedicated mode). It's clear what the tool does, but it doesn't differentiate from siblings like codeartsinspector__ShowSubscription or waf__ShowInstance, so it falls short of a 5.

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

Usage Guidelines2/5

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

There is no explicit when-to-use guidance, no conditions, and no named alternatives. The agent must infer from the name and sibling context when to reach for this versus ShowSubscription or ShowInstance.

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