Skip to main content
Glama

codeartspipeline__ListProjectStrategy

Retrieves a paginated list of strategy rules for a CodeArts Pipeline project, filterable by name, type, validity, and tenant-level rule inclusion.

Instructions

[CODEARTSPIPELINE] 获取策略列表

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": {
      "include_tenant_rule_set": "<include_tenant_rule_set>",
      "limit": "<limit>",
      "offset": "<offset>",
      "project_id": "<project_id>"
    },
    "name": "codeartspipeline__ListProjectStrategy"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameNo策略名称,用于模糊查询
typeNo策略类型
limitYes每页显示的条目数量
offsetYes偏移量,表示从此偏移量开始查询,offset大于等于0
is_validNo是否有效
project_idYes项目ID
include_tenant_rule_setYes是否包含租户级规则

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?

No annotations are provided, so the description carries the full burden of behavioral disclosure, and it supplies essentially none. It does not state that results are paginated, what the default ordering is, whether tenant-level rules are included by default, what permissions are needed, or what shape the response takes. Only the verb 获取 weakly implies a read-only listing.

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 short phrase is front-loaded and contains no wasted words, so structure is fine. But size is inappropriate for a seven-parameter, four-required listing tool: conciseness here shades into under-specification rather than discipline.

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 tool with seven parameters, no annotations, and no output schema, the description should explain scope, pagination behavior, and return contents. None of that is present, so an agent has only the schema field names and the tool name 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% with seven parameters, each documented (name fuzzy match, type, limit, offset, is_valid, project_id, include_tenant_rule_set). The description adds no meaning beyond that, so the baseline of 3 applies. The description does not, for example, explain how project-scoped and tenant rule sets interact.

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 (获取 = get/list, 策略列表 = strategy list), so the basic operation is inferable. However, it does not distinguish this from sibling tools such as codeartspipeline__ListStrategy or codeartspipeline__ShowProjectStrategy, leaving the agent unable to tell which one returns project-level strategies. The Chinese-only phrasing plus a bare tag prefix adds no scope detail.

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 or when-not-to-use guidance, and no alternative is named. The only hint of context comes from the required project_id and include_tenant_rule_set parameters in the schema, not from the description itself. An agent must guess whether this is the project-scoped counterpart of ListStrategy.

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