Skip to main content
Glama

as__ShowApiVersion

Retrieve details for a specified Auto Scaling API version by passing v1 or v2 as the version ID, helping you confirm version information before making service calls.

Instructions

[AS] 根据租户id和资源id查询指定资源类型的标签列表

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": {
      "api_version": "<api_version>"
    },
    "name": "as__ShowApiVersion"
  }
}

Input Schema

NameRequiredDescriptionDefault
api_versionYesAPI版本ID。

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

D1.3/5.0
Behavior1/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, yet it discloses nothing about retrieving an API version document and instead describes unrelated tag-list behavior. With zero annotation coverage, this misinformation is a serious gap rather than a minor omission.

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

Conciseness2/5

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

It is a single short sentence, so there is no bloat, but the sentence is front-loaded with the wrong resource and wrong inputs, so it provides no usable signal despite its brevity.

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

Completeness1/5

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

For a one-parameter, enum-driven version lookup with no output schema, the description should explain that it returns version metadata for the given API version. Nothing correct about the tool is conveyed, leaving an agent unable to use it reliably.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100% and the single api_version enum is fully documented in the schema, which would normally justify a 3. However, the description references tenant id and resource id parameters that do not exist, actively confusing rather than merely omitting parameter meaning.

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

Purpose1/5

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

The tool is named ShowApiVersion and its only parameter is an API version enum (v1/v2), but the description says it queries a tag list for a resource type by tenant id and resource id. The stated purpose does not match the name or the schema, so an agent would form a wrong expectation about what the tool returns.

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

Usage Guidelines1/5

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

There is no when-to-use guidance, no mention of the sibling ListApiVersions / ShowApiVersion family, and the only usage hint given (tenant id + resource id tag lookup) points to an operation this tool cannot perform.

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