Skip to main content
Glama

functiongraph__UpdateFunctionReservedInstancesCount

Updates reserved instance counts for a FunctionGraph function and configures idle mode, cron schedules, or metric thresholds to adjust capacity.

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": {
      "count": "<count>",
      "function_urn": "<function_urn>",
      "project_id": "<project_id>"
    },
    "name": "functiongraph__UpdateFunctionReservedInstancesCount"
  }
}

Input Schema

NameRequiredDescriptionDefault
countYes预留实例个数
idle_modeNo是否开启闲置模式配置
project_idYes租户项目 ID,获取方式请参见[获取项目ID](functiongraph_06_0260.xml)。
function_urnYes函数的URN,详细解释见FunctionGraph函数模型的描述。
tactics_configNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

D1.9/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, and it discloses essentially nothing: not whether the change is immediate or scheduled, not permission requirements, not what happens to existing tactics_config values when omitted, and not that cron/metric-based scaling rules can be attached. For a mutation tool with 5 parameters and nested config objects, this is a critical gap.

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?

The single sentence is not bloated, but it is severely under-specified rather than concise: nothing is front-loaded beyond the restated name, and no sentence earns a place by conveying usable information.

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?

With 5 parameters, two of them nested object structures (tactics_config with cron_configs and metric_configs), no annotations, and no output schema, the description should explain the mutation's effect and the configuration model. It supplies none of that, leaving the definition inadequate for the tool's complexity.

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 80% and every property, including the nested cron_configs and metric_configs fields, carries its own description, so the schema does the heavy lifting. The description adds no meaning beyond it, which lands at the baseline for high-coverage schemas.

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

Purpose2/5

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

The sentence "修改函数预留实例数量" restates the tool name (UpdateFunctionReservedInstancesCount) almost verbatim in Chinese, giving no information an agent could not already derive from the identifier. It names no scope, no side effects, and does nothing to distinguish this from siblings such as UpdateFunctionMaxInstanceConfig or ListFunctionReservedInstances.

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 prerequisite (e.g. an existing reserved-instance config must exist), and no mention of alternatives such as ListReservedInstanceConfigs for inspecting current counts. An agent must infer entirely from the name that this is the mutation counterpart to the list tools.

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