Skip to main content
Glama

functiongraph__ListFunctionReservedInstances

Retrieves reserved instance counts for Huawei Cloud FunctionGraph functions by project, with optional URN and pagination. Use it to inspect function capacity and reserved concurrency allocations.

Instructions

[FUNCTIONGRAPH] 获取函数预留实例数量。

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": "functiongraph__ListFunctionReservedInstances"
  }
}

Input Schema

NameRequiredDescriptionDefault
urnNo查询指定函数版本预留实例数的函数urn。
limitNo每次查询获取的最大函数记录数量400
markerNo上一次查询到的最后的记录位置。0
project_idYes租户项目 ID,获取方式请参见[获取项目ID](functiongraph_06_0260.xml)。

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

C2.5/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 burden of behavioral disclosure. The word "获取" implies a read-only operation, but the description says nothing about pagination (despite limit and marker parameters), result scoping, or what the response contains. That is thin for a tool with no annotation coverage.

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

Conciseness3/5

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

It is a single short sentence with no filler and the resource is front-loaded. However, the terseness tips into under-specification rather than efficient conciseness.

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?

The tool has 4 parameters and no output schema or annotations, so the description needs to explain a lot. One sentence stating the tool fetches the reserved instance count is not enough to explain how to call it correctly or what it returns.

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%, with each parameter documented (urn, limit, marker, project_id), so the baseline is 3. The description adds no extra meaning about how these parameters interact, such as how limit and marker drive paging.

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

Purpose3/5

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

The description gives a specific verb in Chinese ("获取" / get) and a resource (预留实例数量 / reserved instance count), so the general intent is readable. But it doesn't differentiate itself from closely named siblings like ListReservedInstanceConfigs or UpdateFunctionReservedInstancesCount, and it's ambiguous whether it lists reserved instances or only returns a total count.

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, no guidance on when to use this versus ListReservedInstanceConfigs, and no prerequisite or scope notes. The agent must infer from the tool name alone.

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