Skip to main content
Glama

aom__CreateComponent

Create a new component in Huawei Cloud AOM under an application or sub-application by specifying its name, parent model ID, and model type.

Instructions

[AOM] 该接口用于新增组件。

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": {
      "model_id": "<model_id>",
      "model_type": "<model_type>",
      "name": "<name>"
    },
    "name": "aom__CreateComponent"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameYes组件名称
model_idYes应用Id、子应用Id,id长度不能超过36位,由大小写字母、数字组成
model_typeYes应用、子应用,取值:APPLICATION、SUB_APPLICATION ,不区分大小写
descriptionNo组件描述

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

C2.1/5.0
Behavior1/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

No annotations are supplied, so the description carries the full disclosure burden, yet it says nothing about permissions, whether the component name must be unique, side effects, or what the call returns. For a mutation tool with zero annotation coverage this is a serious gap.

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 front-loaded sentence with no wasted words, but the brevity stems from under-specification rather than discipline; the one sentence carries no actionable content beyond the tool name.

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?

Given a mutation tool with no annotations and no output schema, the description should at minimum convey preconditions and effects. The schema fully documents parameters, but the behavioral picture an agent needs before calling is absent.

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% and all four parameters (name, model_id, model_type, description) are documented in the schema itself, so baseline 3 applies. The description adds nothing about validation rules such as the 36-character model_id limit or the APPLICATION/SUB_APPLICATION enum semantics beyond what the schema already states.

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 states a verb and resource ("新增组件" / add component) with a domain tag [AOM], so the basic action is identifiable, but it is nearly a restatement of the tool name and says nothing about what a component is, what scope it lives in, or how it differs from siblings like aom__CreateApp or servicestage__CreateComponent.

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

Usage Guidelines1/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, no prerequisites (e.g., that model_id requires an existing application), and no mention of alternatives such as aom__UpdateComponent or cae__CreateComponent despite many similar sibling 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