Skip to main content
Glama

workspace__RetryJobs

Retry a specified failed job in Huawei Cloud Workspace; only failed jobs are supported, and other job types return an error.

Instructions

[WORKSPACE] 重试指定失败job(仅支持失败job重试,其他类型job重试会响应错误)。

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": {
      "project_id": "<project_id>"
    },
    "name": "workspace__RetryJobs"
  }
}

Input Schema

NameRequiredDescriptionDefault
project_idYes项目ID。

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

A3.6/5.0
Behavior3/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. It usefully discloses the failure mode for non-failed jobs, but says nothing about permissions, whether the retry is synchronous or asynchronous, whether a new job is created, or what the response contains — meaningful gaps for a mutation tool with zero annotation coverage.

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 compact sentence with the tool's namespace tag, the action, and the restrictive condition in a parenthetical. Nothing is padded, and the constraint is placed immediately after the action rather than buried.

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

Completeness3/5

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

The definition is adequate for a one-parameter tool whose main pitfall is stated, but with no annotations and no output schema it leaves key operational questions unanswered: what the retry returns, whether it is async, and how the target job is identified.

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% for the single project_id parameter, so the baseline is 3. The description adds nothing about that parameter and, more notably, refers to a 'specified failed job' while the schema exposes no job identifier, leaving the targeting mechanism unexplained.

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 (retry) plus resource (job) and scopes it to failed jobs only. It is clear what the tool does, though it does not name a sibling it is distinguished from; the type restriction does most of the differentiation work.

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

Usage Guidelines4/5

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

It gives an explicit when-not: retrying non-failed jobs will return an error, so the agent knows the precondition for a successful call. It stops short of naming an alternative tool for discovering which jobs are failed or for retrying other job types.

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