Skip to main content
Glama

cloudtest__BatchAddResourcesForIterator

Adds multiple resources to a test iteration in bulk, letting you include selected or inverted resource lists without manual entry.

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": {
      "iterator_id": "<iterator_id>"
    },
    "name": "cloudtest__BatchAddResourcesForIterator"
  }
}

Input Schema

NameRequiredDescriptionDefault
typeNo资源类型, 对应serviceType
all_importNo是否选择所有用例
feature_uriNo按照目录引入用例
iterator_idYes迭代uri
iterator_uriNo迭代uri
project_uuidNo项目id
is_all_issuesNo是否选择issues
add_to_iteratorNo是否将需求添加到测试计划(不传或者true添加需求到测试计划,false就不添加)
simple_resourceinfo_listNo选择的资源列表, 对应sourceCaseUris
invert_simple_resourceinfo_listNo反选的资源列表

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

D1.9/5.0
Behavior1/5

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

No annotations are provided, so the description carries the full burden of disclosure and fails to meet it. It says nothing about permissions, idempotency, whether existing iterator contents are affected, how the invert_simple_resourceinfo_list exclusion logic behaves, or what happens on partial failure of a batch.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness2/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The text is a single short phrase with no wasted wording, but it is under-specified rather than concise. There is no structure to front-load, since only a fragment of the tool's behavior is stated.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness1/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

This is a 10-parameter mutation tool with no annotations and no output schema, so the description must explain behavior and selection semantics, and it does virtually none of that. An agent cannot determine from the description alone how the inclusion and inversion lists interact.

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 all 10 parameters already carry inline descriptions and the baseline of 3 applies. The description itself contributes no additional meaning about the relationship between all_import, feature_uri, simple_resourceinfo_list, and invert_simple_resourceinfo_list.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose2/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description "向迭代中添加资源" (add resources to an iteration) is essentially a Chinese restatement of the tool name BatchAddResourcesForIterator. It conveys the verb and resource but adds no specificity about batch semantics, resource kinds, or how it differs from siblings like BatchRemoveTestCasesFromIterator or AddFeature.

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 explicit when-to-use or when-not-to-use guidance, no prerequisites, and no mention of alternatives. Usage is only weakly implied by the word "add", forcing the agent to infer the scenario from the name alone.

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