Skip to main content
Glama

codeartspipeline__ShowProjectStrategy

Fetches project-level strategy details by project ID and rule set ID, so you can inspect CodeArts Pipeline policy configuration and governance rules.

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": {
      "project_id": "<project_id>",
      "rule_set_id": "<rule_set_id>"
    },
    "name": "codeartspipeline__ShowProjectStrategy"
  }
}

Input Schema

NameRequiredDescriptionDefault
project_idYes项目ID
rule_set_idYes策略ID

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

C2.9/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 disclosure burden, and it discloses almost nothing beyond the name: it implies a read-only lookup from the word 查询, but says nothing about permissions, errors (for example, what happens when rule_set_id is unknown), or the shape of the response.

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?

It is a single front-loaded clause with no wasted words, though the bracketed "[CODEARTSPIPELINE]" tag adds little value and almost no space is used for guidance.

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 no annotations and no output schema, the description should at least say what a "strategy detail" contains or how it differs from the sibling list and show calls. The current description leaves the agent guessing about the return shape and the scope of the query.

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?

Both parameters have full schema descriptions (项目ID, 策略ID) and are required and path-bound, so the schema already explains their meaning. The description adds no new detail about how the two IDs interact or about format expectations, which is acceptable at 100% schema coverage.

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?

It states a specific verb and resource ("查询项目级策略详情" – query project-level strategy details) and the qualifier "项目级" distinguishes it from pipeline-level or list variants such as ShowStrategy/ListProjectStrategy, though those distinctions are left implicit.

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?

It gives no guidance about when to use it rather than ListProjectStrategy or ShowStrategy, no prerequisites, and no exclusions. The only hint about when to use it is the "项目级" scope in the title line.

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