Skip to main content
Glama

codeartspipeline__ShowRule

Fetches details for one CodeArts Pipeline rule using its rule ID and tenant ID, optionally scoped by project ID.

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_id": "<rule_id>"
    },
    "name": "codeartspipeline__ShowRule"
  }
}

Input Schema

NameRequiredDescriptionDefault
rule_idYes规则ID
domain_idYes租户ID
cloud_project_idNo项目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?

No annotations are supplied, so the description carries the full behavioral burden. '获取' implies a read-only operation, but it says nothing about permission requirements, behavior when the rule_id or domain_id does not exist, or whether the returned rule includes nested configuration. For a tool with zero annotation coverage, this is a substantial gap.

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 definition is a single fragment with the resource and scope front-loaded and no wasted wording. However, it is terse to the point of under-specification rather than being well-sized for the tool's role.

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

Completeness3/5

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

This is a simple three-parameter read tool with full schema coverage and no output schema, so the description only needs to establish purpose and behavior. It covers purpose adequately but leaves the returned shape and failure modes unstated, which is a modest gap for a lookup tool.

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 rule_id, domain_id, and cloud_project_id all documented in the schema itself. The description adds no meaning beyond that, which is acceptable given the schema already does the work, so the baseline of 3 applies.

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?

The description gives a specific verb plus resource in '获取单条规则详情' (get details of a single rule), and '单条' signals that it is a singular fetch rather than a list, which distinguishes it from codeartspipeline__ListRule. It does not say what a 'rule' governs in this pipeline context, keeping it short of a 5.

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 prerequisite conditions, and no mention of alternatives such as ListRule for enumeration or ShowStrategy for related lookups. The agent must infer the usage context entirely from the name and the sibling list.

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