Skip to main content
Glama

workspace__RunActionsOnWorkspaceJob

Retry failed Workspace jobs, currently limited to account opening and cancellation, using the job ID, retry operation, and project ID.

Instructions

[WORKSPACE] 该接口用来对失败的任务进行重试,当前仅支持开户和销户的任务重试。

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>",
      "op_type": "<op_type>",
      "project_id": "<project_id>"
    },
    "name": "workspace__RunActionsOnWorkspaceJob"
  }
}

Input Schema

NameRequiredDescriptionDefault
job_idYes任务ID。
op_typeYes操作类型。retry代表重试。retry
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 behavioral burden alone; it does disclose the retry semantics and the job-type restriction, which is genuine behavioral information. However, it says nothing about side effects, required permissions, what happens when a non-failed or unsupported job type is submitted, or whether the retry replaces or appends a new run. For a mutation endpoint with zero annotation coverage these are meaningful gaps.

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 that states purpose first and the scope restriction second, with no filler. It is arguably terse given the mutation's risk profile, but nothing in it is wasted.

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?

Three required parameters, no output schema, and no annotations mean the description must carry the full load; it covers purpose and the type restriction adequately. It leaves unclear what a successful retry returns or how unsupported job types fail, which an agent would need when calling this on a production workspace.

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, op_type, and project_id are already documented in the schema and the baseline is 3. The description's mention of retry loosely reinforces op_type's 'retry' semantics but adds no format, validation, or edge-case meaning beyond what the schema already states.

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 names a specific verb (重试/retry) and resource (失败的任务/failed workspace jobs), and adds a scoping constraint that only account-opening and account-closing jobs are supported. An agent can distinguish this from generic job runners like workspace__RunActionsOnGroup, though the description does not name any alternative outright.

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 states both the condition for use (the job has failed) and an explicit limitation (only 开户/销户 job types are retryable), which functions as a when-not clause. It stops short of pointing to a fallback tool for other job types, so it is clear context without full alternative routing.

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