Skip to main content
Glama

codeartsbuild__ShowYamlTemplate

Retrieves the default YAML template for a CodeArts Build job so you can inspect or reuse its code-based build configuration.

Instructions

[CODEARTSBUILD] 获取代码化构建默认模板

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": {
      "job_id": "<job_id>"
    },
    "name": "codeartsbuild__ShowYamlTemplate"
  }
}

Input Schema

NameRequiredDescriptionDefault
job_idYes构建的任务ID;
default_hostNo默认主机类型

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

C2.8/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. The verb '获取' implies a read-only operation, but the description does not state whether anything is created or modified, what permissions are needed, or what the returned template looks like. Very little beyond the bare purpose is disclosed.

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?

A single short sentence with no waste, and the purpose is front-loaded. However, the [CODEARTSBUILD] prefix is noise and the terseness leaves the definition under-specified rather than genuinely concise.

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?

With no annotations, no output schema, and a required path parameter, the definition should explain what the template is, how default_host affects the result, and the read-only nature of the call. None of this is present, so an agent must guess at the return shape and side effects.

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 job_id (required, 32-hex pattern) and default_host documented in the schema itself. The description adds no meaning about how default_host changes the returned template or why job_id is required for a 'default' template, so it sits at the baseline.

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+resource: retrieving (获取) the default template for code-based builds (代码化构建默认模板). Combined with the tool name ShowYamlTemplate, an agent can tell it apart from siblings such as ShowDockerfileTemplate or ListOfficialTemplate. It does not explicitly name alternatives, but the resource is concrete.

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 guidance on when to use this tool versus ShowDockerfileTemplate, ListOfficialTemplate, or ShowDefaultBuildParameters. The only implied context is 'default template', leaving the agent to infer the use case 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