Skip to main content
Glama

functiongraph__CreateFunctionApp

Creates a FunctionGraph application from a template within a Huawei Cloud project. Use it to deploy serverless apps by specifying name, template ID, and parameters.

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__CreateFunctionApp"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameNo应用名称
paramsNo模板参数
project_idYes租户项目 ID,获取方式请参见[获取项目ID](functiongraph_06_0260.xml)。
agency_nameNo委托名称
descriptionNo应用描述
template_idNo应用使用的模板ID
enterprise_project_idNo企业项目ID

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

B3.2/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 discloses the regional support limitation but says nothing about permissions/agency requirements implied by agency_name, whether template-driven creation is required, idempotency, or what happens on name collision.

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 short sentence with the action front-loaded and the regional caveat bundled afterward; nothing is wasted. It is arguably too terse rather than too verbose, which is a completeness issue, not a structure one.

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?

For a 7-parameter creation tool with a nested params object and no annotations or output schema, the description covers the action and the region constraint but not what an 'application' is relative to a function, nor how template_id/params interact. The fully documented schema offsets much of this gap.

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 already has a documented meaning, including project_id with a retrieval reference. The description adds no meaning beyond the schema, making the baseline 3 appropriate.

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+resource (创建应用程序 / create application), which distinguishes it from DeleteFunctionApp, ShowFunctionApp, and ListFunctionApplications by noting it only creates. It does not explicitly reference any sibling, so differentiation is inferred rather than stated.

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

Usage Guidelines3/5

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

The parenthetical region restriction (only North China-Beijing 4 and East China-Shanghai 1) is genuinely useful pre-conditions guidance that would prevent a failed call. Beyond that there is no when-to-use vs. alternative (e.g., CreateFunction or ImportFunction) guidance.

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