Skip to main content
Glama

cloudtest__CreateUserDefinedUrlKeyWord

Creates a user-defined URL keyword in Huawei Cloud CloudTest, letting you register reusable HTTP request/response keyword definitions with mock, header, variable, and parameter details for API test automation.

Instructions

[CLOUDTEST] 新增用户自定义URL关键字

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

Input Schema

NameRequiredDescriptionDefault
nameNo名称
extra_infoNo
group_nameNo组名
project_idYes项目ID,固定长度32位字符(字母和数字)。
descriptionNo描述
body_param_typeNobody请求体的类型:text(包含JSON,参数内部区分)、form
dft_custom_headerNo默认请求头参数对象
dft_variable_listNo定义的变量信息
dft_check_point_listNo默认检查点List
param_type_and_dft_valueNo参数类型和参数默认值对应List

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 burden and discloses almost nothing. It implies a mutating create operation, but says nothing about required permissions, project-scoped effects, whether duplicates are rejected, or what is returned — significant gaps for a write tool with deeply nested payloads.

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 phrase with zero waste and the resource front-loaded after the [CLOUDTEST] tag. It is efficient, though the extreme brevity leaves the burden entirely on the schema rather than being a model of economical information design.

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?

With 10 parameters, deeply nested objects (extra_info → mock/summary/outputParam, dft_custom_header → AwParam, etc.), no output schema, and no annotations, one sentence is not enough. An agent cannot tell how the nested structures relate to a URL keyword or what a successful call produces.

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 90%, so the schema already explains the individual fields (name, group_name, extra_info, http_method, outputParam, etc.), and the baseline of 3 applies. The description adds no meaning beyond the schema — nothing about which fields matter for a URL keyword versus other keyword types, or which are required in practice.

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?

The description gives a specific verb+resource in Chinese: "新增用户自定义URL关键字" (add a user-defined URL keyword), which tells an agent exactly what entity is created. It does not distinguish this tool from sibling creation tools (CreateService, CreateResourceUri, etc.) or state scope, so it falls 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, no prerequisites, no mention of what the keyword is attached to, and no reference to any alternative or related tool. An agent must infer the context entirely from the name and the surrounding catalog.

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