Skip to main content
Glama

cdm__ShowJobs

Query Huawei Cloud CDM jobs by cluster, project, job name, and type with filtering and pagination to list multiple jobs or retrieve a single job's details.

Instructions

[CDM] 查询作业接口。

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": {
      "cluster_id": "<cluster_id>",
      "job_name": "<job_name>",
      "project_id": "<project_id>"
    },
    "name": "cdm__ShowJobs"
  }
}

Input Schema

NameRequiredDescriptionDefault
filterNo当“job_name”为“all”时,此参数用于模糊过滤作业
jobTypeNo作业类型:
page_noNo指定作业页号
job_nameYes查询多个作业用all,查询单个作业输入作业名
page_sizeNo每页作业数,值在10-100之间
cluster_idYes集群ID
project_idYes项目ID

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

C2.2/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 single word 查询 implies a read-only listing, but it does not disclose pagination behavior (page_no/page_size with a 10-100 cap), the meaning of the 'all' sentinel for job_name, or what the response contains — all critical for a 7-parameter listing tool.

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?

It is a single short sentence with no waste, but it is under-specified rather than concise — barely more than a label. Nothing is front-loaded because there is nothing substantive to front-load.

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

Completeness1/5

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

For a tool with 7 parameters, 3 required path parameters, an enum, pagination, and no annotations or output schema, a one-line restatement of the name leaves the agent without the context needed to invoke it correctly.

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 every parameter is already documented in the input schema, including the 'all' convention and the page_size bounds. The description adds nothing beyond the schema, which sets the baseline at 3 rather than higher.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose2/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description "[CDM] 查询作业接口" essentially restates the tool name ShowJobs — 'query the job interface'. It names a resource (jobs) and implies a read, but gives no scope, no distinction from siblings like ShowJobStatus or ShowSubmissions, and adds no information an agent could not infer from the name alone.

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 to pick this over cdm__ShowJobStatus, cdm__ShowSubmissions, or cdm__ListClusters, and no prerequisites or exclusions are stated. An agent must guess from the name and schema.

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