Skip to main content
Glama

mrs__CreateExecuteJob

Create and submit a job to a Huawei Cloud MRS cluster by specifying the cluster ID, project ID, job name, job type, and optional execution arguments.

Instructions

[MRS] 在MRS集群中新增并提交一个作业。

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>",
      "job_type": "<job_type>",
      "project_id": "<project_id>"
    },
    "name": "mrs__CreateExecuteJob"
  }
}

Input Schema

NameRequiredDescriptionDefault
job_nameYes作业名称,只能由字母、数字、中划线和下划线组成,并且长度为1~64个字符。
job_typeYes作业类型:
argumentsNo程序执行的关键参数,该参数由用户程序内的函数指定,MRS只负责参数的传入。
cluster_idYes集群ID。获取方法,请参见[获取集群ID](https://support.huaweicloud.com/api-mrs/mrs_02_9001.html)。
project_idYes项目编号。获取方法,请参见[获取项目ID](https://support.huaweicloud.com/api-mrs/mrs_02_0011.html)。
propertiesNo程序系统参数。

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. '提交' hints that the job begins execution rather than being merely stored, which is useful, but nothing is said about permissions required, whether the submission is idempotent, what happens on partial failure, or what the call returns.

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 front-loaded sentence with zero filler and no redundancy. It is efficient, though the terseness contributes to gaps captured elsewhere rather than being a structural flaw in itself.

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?

This is a mutating operation with six parameters (four required, one nested object), no annotations, and no output schema, yet the description is one generic sentence. An agent gets no information about supported job types, side effects of submission, or the shape of a success response.

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%, including documentation for cluster_id, project_id, job_name, job_type, and arguments, so the schema does the parameter work. The description adds no meaning beyond it; baseline 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 pairs a specific verb ('新增并提交' – create and submit) with a specific resource ('作业' in an MRS cluster), so the agent knows this is a job-creation endpoint. The '[MRS]' prefix and cluster scoping separate it from generic create-job siblings such as cdm__CreateJob or drs__CreateJob, but it never explicitly names or contrasts an alternative.

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 the many 'Create*Job' siblings, no stated prerequisites (e.g. cluster must exist and be running), and no exclusions. The agent must infer usage entirely from the name and one sentence.

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