Skip to main content
Glama

cloudtest__CreateService

Registers a custom test service using a user-provided domain and service name, making the custom test type available in TestHub after registration.

Instructions

[CLOUDTEST] 通过接口CreateService注册成为自定义服务。 注册完成后界面将会出现此自定义测试类型。

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": {
      "server_host": "<server_host>",
      "service_name": "<service_name>"
    },
    "name": "cloudtest__CreateService"
  }
}

Input Schema

NameRequiredDescriptionDefault
server_hostYesserver_host是由用户提供的域名。 我们会通过此域名进行接口调用,请以https/http开头,长度小于等于128位字符。 TestHub将会通过此域名下的接口,保证服务数据与用户系统数据的一致性。
service_nameYes测试类型名称,用于界面显示,不能使用当前保留名,长度小于等于16位字符

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

B3.4/5.0
Behavior3/5

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

With no annotations supplied, the description carries the full disclosure burden. It usefully reveals the side effect that the registered type becomes visible in the UI, but says nothing about idempotency on repeat registration, authentication requirements, or what errors occur for reserved names — that constraint lives only in the schema.

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?

Two short sentences, front-loaded with the action and followed by the observable outcome. No redundant wording, though it is sparse enough that a sentence on preconditions would have been worth the space.

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 two-parameter creation tool with a fully described schema and no output schema, the description covers purpose and outcome adequately. It stops short of the behaviors an agent most needs before making a write call — permissions, uniqueness/idempotency, and failure modes.

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 both server_host and service_name are already fully documented, including the https/http prefix, 128-character limit, and reserved-name restriction. The description adds no parameter-level meaning beyond that, which is the baseline 3 case.

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 names a specific verb and resource ('通过接口CreateService注册成为自定义服务') and adds the post-condition that the custom test type appears in the UI, so the agent knows exactly what the call creates. It does not distinguish this from siblings such as cloudtest__UpdateService or cloudtest__DeleteService, but the create semantics are unambiguous.

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?

Usage is only implied: register a custom service so a new test type becomes available. There is no explicit statement of when to prefer this over the sibling UpdateService/ShowRegisterService tools, and no prerequisites (permissions, prior registration state) are stated in the description itself.

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