Skip to main content
Glama

codeartspipeline__ShowStrategy

Retrieves CodeArts Pipeline strategy details by tenant and rule set ID, optionally scoped to a project, for reviewing rule configurations.

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": {
      "domain_id": "<domain_id>",
      "rule_set_id": "<rule_set_id>"
    },
    "name": "codeartspipeline__ShowStrategy"
  }
}

Input Schema

NameRequiredDescriptionDefault
domain_idYes租户ID
rule_set_idYes策略ID
cloud_project_idNo项目ID

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 supplied, so the description carries the full behavioral burden and provides almost nothing. "获取" implies a read, but it does not state error behavior for a missing strategy, permission requirements on rule_set_id, or whether any fields are truncated — all relevant for a lookup with no output schema.

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?

It is a single short phrase with zero wasted words and is front-loaded. But the brevity comes from under-specification rather than tight writing — the phrase essentially restates the tool name with a vendor prefix.

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 lookup tool with two required scoping parameters, no output schema, and no annotations, the description should at least confirm what is returned and that it is a non-mutating read. Neither is stated, leaving the agent to infer everything from the name and schema.

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 all three parameters documented in-schema (租户ID, 策略ID, 项目ID), so the baseline is 3. The description adds no meaning beyond the schema — nothing about how domain_id and cloud_project_id interact or when cloud_project_id is optional.

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?

"获取策略详情" states a specific verb (get) and resource (strategy details), so an agent can tell it is a read of a single strategy. However, it gives no distinguishing scope against close siblings like ShowProjectStrategy or ShowRule, so the agent must guess which 'strategy detail' endpoint applies.

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 named alternative. The agent gets no signal whether to call this versus ShowProjectStrategy or ListStrategy, and nothing about whether domain_id scoping or project context changes the choice.

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