Skip to main content
Glama

cms__ListSupplyRecommendation

Recommends ECS regions and flavors using capacity or cost strategies, returning scored supply options so you can identify higher-priority deployment targets.

Instructions

[CMS] 对ECS的资源供给的地域和规格进行推荐,推荐结果以打分的形式呈现,分数越高推荐程度越高

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": {
      "domain_id": "<domain_id>"
    },
    "name": "cms__ListSupplyRecommendation"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNo查询返回的数量限制
markerNo取值为上一页数据的最后一条记录的唯一标记
optionNo供给推荐的选项
strategyNo推荐的策略。CAPACITY
domain_idYes租户域ID
locationsNo接受推荐的地域列表,默认接受所有区域
flavor_idsNo接受推荐的规格列表
flavor_constraintNo资源供给规格的约束,给出规格列表时优先使用规格列表

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 supplied, so the description carries the full behavioral burden. It does add one useful fact beyond the schema — that results are scored and higher is better — but it never states that this is a read-only, side-effect-free operation, nor how pagination (limit/marker) or the large default result sets behave. For an 8-parameter tool with no annotations, that is a significant disclosure gap.

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 front-loaded sentence with no filler, and the key output convention (score-based ranking) is stated up front. It is efficient, though for a tool of this complexity the brevity borders on under-specification rather than being purely economical.

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?

Against 8 parameters, nested constraint objects, multiple enums, no output schema, and no annotations, the description covers only the headline purpose and the score convention. It says nothing about the shape of a recommendation record (region? AZ? flavor? score bounds?), the effect of strategy or granularity on results, or pagination behavior — all things an agent needs before calling it correctly.

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 every parameter (limit, marker, option, strategy, locations, flavor_ids, flavor_constraint) is already documented in the schema, including the CAPACITY/COST strategy and BY_* granularity enums. The description adds no additional meaning about how these interplay — e.g. how strategy changes the score semantics — so the baseline of 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?

States a specific verb and resource: recommend regions and flavor specs for ECS capacity supply, with results expressed as scores where higher means more recommended. That is materially clearer than the tool name 'ListSupplyRecommendation' (which sounds like a plain list). It does not differentiate itself from any sibling, so it stops 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 when-to-use guidance at all: no statement of the scenario this serves (capacity planning vs. cost optimization), no prerequisites beyond the schema's domain_id, and no mention of alternatives or when a recommendation query should precede a create/auto-launch-group call. The one real tie-break (flavor_ids takes precedence over flavor_constraint) lives only in the schema, not the description.

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