Skip to main content
Glama

codeartsbuild__ShowJobConfigDiff

Compare two revisions of a CodeArts Build job configuration and retrieve their differences to see exactly what changed.

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>",
      "original_no": "<original_no>",
      "revisedl_no": "<revisedl_no>"
    },
    "name": "codeartsbuild__ShowJobConfigDiff"
  }
}

Input Schema

NameRequiredDescriptionDefault
job_idYes构建的任务ID;
original_noYes原记录的序号
revisedl_noYes新记录的序号

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, yet it only restates the operation. It says nothing about permissions required, whether the diff is against a prior build or a prior config revision, how large the result can be, or what happens when the referenced record numbers do not exist.

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?

One bracketed tag plus a single short clause, with the operation front-loaded and no filler. The problem is under-specification rather than verbosity, so it stays efficient and readable.

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?

Although the tool is simple (three required string parameters, no output schema, no annotations), the description provides no notion of what a 'record number' is or what the returned diff looks like. An agent can guess the invocation but not the semantics well enough to use the result confidently.

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%, so job_id, original_no and revisedl_no already carry inline descriptions; the baseline of 3 applies. The description adds no extra meaning, such as where record sequence numbers come from or whether original/revised can be inverted.

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 specific verb and resource: fetch (获取) the comparison differences (对比差异) of a build job configuration. An agent can tell this produces a diff rather than a plain config read. It stops short of contrasting itself with siblings such as ShowJobConfig or ListJobConfig, which is what would push it to 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 at all: nothing says when a diff is preferable to calling ShowJobConfig twice, nor what prerequisites (job state, existing revision history) must hold. The agent must infer the scenario entirely from the name.

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