Skip to main content
Glama

codeartsbuild__CheckJobNameIsExists

Checks whether a build job name already exists in a CodeArts project using the project ID and job name, helping prevent duplicate task names before creation.

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_name": "<job_name>",
      "project_id": "<project_id>"
    },
    "name": "codeartsbuild__CheckJobNameIsExists"
  }
}

Input Schema

NameRequiredDescriptionDefault
job_nameYes任务名称
project_idYesCodeArts项目ID,32位数字、小写字母组合。

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

B3.3/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 it discloses almost nothing: it does not say the call is a side-effect-free read, whether it is rate-limited, whether matching is case-sensitive or exact, or whether it returns a boolean or echo of the conflicting job. For an unannotated tool the only behavioral signal is the word '查看'.

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?

A single short sentence that front-loads the operation and its scope, with no filler. It is efficient but so terse that brevity costs it completeness rather than earning a 5.

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

Completeness4/5

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

For a two-parameter query with 100% schema coverage and no output schema, the description is nearly sufficient at the schema level. The remaining gap is the undocumented return shape (presumably a boolean existence flag), which an agent needs in order to act on the result, but this is a minor omission for such a simple lookup.

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 coverage is 100% — both job_name and project_id are documented in the schema with examples and a pattern constraint — so the baseline of 3 applies. The description adds a small amount of relational meaning by tying the name lookup to a specific project scope, but no additional syntax or matching semantics.

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 states a concrete verb and subject ('查看…任务名是否存在' = check whether a job name exists) scoped to a project, so an agent knows exactly what the call does. It does not, however, contrast itself with sibling name-check tools such as codeartsdeploy__CheckIsDuplicateAppName or dws__CheckDisasterName, so cross-catalog disambiguation is left to the caller.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The 'exists' framing implies the natural use case (pre-flight validation before creating a build job via codeartsbuild__CreateBuildJob), but the description never states when to use it, what the result should gate, or what to do if the name exists. Usage is only inferable, not stated.

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