Skip to main content
Glama

cdm__ShowFlavorDetail

Retrieves detailed specifications for a specified CDM flavor ID within a project, helping you verify capacity and configuration before provisioning or scaling.

Instructions

[CDM] 查询指定规格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": {
      "flavor_id": "<flavor_id>",
      "project_id": "<project_id>"
    },
    "name": "cdm__ShowFlavorDetail"
  }
}

Input Schema

NameRequiredDescriptionDefault
flavor_idYes规格ID,获取方法请参见[查询版本规格](ShowFlavors.xml)。
project_idYes项目ID。

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

C2.9/5.0
Behavior2/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 only says it queries a detail. It does not confirm the operation is read-only, does not mention required permissions on the project/flavor, and does not describe what happens when the flavor ID is invalid or not visible in the project.

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?

It is a single short sentence with no filler, and the resource and scope are front-loaded. The only blemishes are the typo '详请' for '详情' and the near-zero information yield of the sentence.

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?

The tool is a simple two-parameter read, and the schema fully documents both parameters, so not much is strictly needed. However, with no annotations and no output schema, an agent still cannot learn whether the call is read-only or what the returned detail contains, which the description could have supplied.

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 coverage is 100% with both path parameters documented, including how to obtain flavor_id via ShowFlavors, so the baseline of 3 applies. The description adds no meaning beyond the schema, only restating that the query targets a flavor ID.

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 combination ('查询...规格详情', query the flavor detail) scoped to a given flavor ID, so an agent can tell it is a single-resource lookup. It does not differentiate itself from siblings such as cdm__ShowFlavors or cdm__ShowClusterDetail, which share the same Show* naming pattern.

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 guidance on when to use this tool versus the sibling list tool or other Show* detail tools, and no prerequisites are stated. The only routing hint ('获取方法请参见[查询版本规格]') lives in the schema, not in the description, so the description itself offers no selection logic.

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