Skip to main content
Glama

cloudtest__UpdateService

Updates an existing CloudTest registered service by setting its service name and user-provided server host domain used for API callbacks and data consistency.

Instructions

[CLOUDTEST] 更新已注册服务

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_id": "<service_id>",
      "service_name": "<service_name>"
    },
    "name": "cloudtest__UpdateService"
  }
}

Input Schema

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

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

C2.5/5.0
Behavior2/5

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

With no annotations provided, the description carries the full behavioral burden but offers only "update". It does not disclose whether this is a full replace or partial update, whether omitted fields are reset, what permissions are needed, whether TestHub re-syncs data via server_host, or whether the change is reversible.

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?

The single sentence contains no filler, so nothing is wasted, but at this length for a mutation tool it is under-specified rather than genuinely concise. There is no structure beyond a bracketed product tag and a short phrase.

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?

For a three-required-parameter mutation tool with no annotations and no output schema, the description should at minimum state what is updated and what happens on failure or to unspecified fields. It provides none of this, so an agent has only the schema to work from.

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 the schema itself explains service_id (returned by the register API), server_host (domain used for callbacks, https/http, max 128 chars) and service_name (display name, reserved names disallowed, max 16 chars). The description adds nothing beyond this, which is the baseline expectation when the schema is fully documented.

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?

"更新已注册服务" names a verb (update) and a resource (registered service), so the basic action is identifiable. However, it does not distinguish this from sibling tools like CreateService/DeleteService, nor does it say which aspects of a service can be updated, leaving the scope vague.

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, and no mention of alternatives such as CreateService or DeleteService. The agent must infer entirely from the name that this modifies an existing registered service rather than registering or removing one.

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