Skip to main content
Glama
Cloady

Cloady

Official
by Cloady

Retry Service Jobs

retryServiceJobs
Destructive

Retries one failed BullMQ job or every failed job in a queue by moving them back to the waiting list so workers process them again. Requires BullMQ 5+ and developer role.

Instructions

Moves one failed job, or every failed job of a BullMQ queue, back to the queue's waiting list through the bullmq library, so the app's workers run it again. BullMQ 5 or later only; Sidekiq, Celery and RabbitMQ have no retry here. Requires the developer role.

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": {
      "workspaceSlug": "<workspaceSlug>",
      "appSlug": "<appSlug>",
      "serviceName": "<serviceName>"
    },
    "name": "retryServiceJobs"
  }
}

Input Schema

NameRequiredDescriptionDefault
envNo
regionNo
appSlugYes
requestBodyNoThe JSON request body.
serviceNameYes
workspaceSlugYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.18.0

TDQS

A4/5.0
Behavior4/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

The annotations already declare readOnlyHint=false, destructiveHint=true, and openWorldHint=true. The description adds useful behavior context beyond those annotations: retrying moves jobs to the waiting list so workers run them again, and it states the library and role constraints. It does not discuss side-effect duplication or rate limits, but it is informative for a mutation tool.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is front-loaded with the action and scope, then follows with the environment/library limitation and role requirement. Every sentence adds relevant information without wasted wording.

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?

For a mutation tool with six parameters, a nested request body, and no output schema, the description covers the core effect and constraints well. However, it omits guidance on the required routing parameters and does not describe the likely response or failure behavior, leaving meaningful gaps.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is only 17%, with only the nested requestBody id and queue fields documented. The description mentions the queue and one-vs-all job selection but does not clarify the routing parameters workspaceSlug, appSlug, serviceName, env, or region, so it does not compensate for the low schema coverage.

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

Purpose5/5

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

The description uses a specific verb and resource: moving one failed job or all failed jobs of a BullMQ queue back to the waiting list. It clearly distinguishes the single-job and all-jobs modes and names the underlying mechanism, so an agent can understand the operation without opening the schema.

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?

The description gives explicit prerequisites and exclusions: BullMQ 5+ only, no retry for Sidekiq/Celery/RabbitMQ, and developer-role required. It does not point to an alternative tool such as readServiceJobs for inspecting failures first, so it falls short of full when/when-not/alternatives guidance.

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