Skip to main content
Glama

workspace__RetryScriptExecution

Retries failed script execution tasks or execution records for a specified project, enabling scripts that did not complete successfully to be rerun.

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

Input Schema

NameRequiredDescriptionDefault
task_idNo脚本执行任务ID。
record_idNo脚本执行记录ID。
project_idYes项目ID。

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

C2.6/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 disclosure burden for what is clearly a mutating/action operation that re-triggers script execution. It says nothing about side effects, whether a new record is created, whether the retry is idempotent, required permissions, or what the caller receives on success or failure.

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 short sentence with the workspace tag front-loaded and no filler. It is efficiently sized, though brevity here borders on under-specification rather than deliberate economy.

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?

For an action tool with no annotations, no output schema, and three parameters of which two are optional identifiers, the description should at minimum explain which identifier selects the retry target and what the retry affects. Neither is covered, leaving the agent to guess.

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 the baseline is 3. However, the schema descriptions are themselves tautological ('脚本执行任务ID', '脚本执行记录ID'), and the description does nothing to resolve the real ambiguity of when to pass task_id versus record_id, or what happens when only project_id is given.

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

Purpose3/5

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

The description has a verb ('重试' / retry) and a target ('脚本或执行脚本失败的任务'), so the general intent is inferable. But 'retry a script OR a task whose script execution failed' leaves the actual operation ambiguous, and it does not differentiate itself from siblings such as RetryJobs or ExecuteScriptOrCommand.

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?

The phrase '失败的任务' implies the tool applies to failed executions, which is the only usage hint present. There is no statement of preconditions (must the task be in a failed state?), no guidance on when to prefer this over ExecuteScriptOrCommand or RetryJobs, and no exclusions.

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