Skip to main content
Glama

artex_rerun_blocked_intents

Reopen a task's blocked intents to retry them when the run loop stalls; after a provider 429 storm, delete the task and create a fresh one instead.

Instructions

Reopen a task's blocked intents (POST /api/tasks/{id}/intents/rerun-blocked). NOTE: after a provider 429 storm the run loop may not reclaim them and the task sits engine_mode=idle — in that case prefer deleting it and creating a FRESH task (a new exploration gets a fresh run loop).

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": {
      "task_id": "<task_id>"
    },
    "name": "artex_rerun_blocked_intents"
  }
}

Input Schema

NameRequiredDescriptionDefault
task_idYes

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A4.1/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does disclose a non-obvious failure mode: this is a POST mutation that may silently fail to have effect because the run loop doesn't reclaim the intents after a 429 storm. It does not mention permissions, idempotency, or whether reopening is reversible, which keeps it short of a 5.

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?

Two sentences, front-loaded with the action and then the caveat, with no filler. The raw endpoint path is arguably redundant with the tool name but aids traceability, so the size is close to optimal.

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

Completeness4/5

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

An output schema exists, so return values need not be explained, and the main behavioral hazard is covered. What remains unstated is what 'blocked intents' are, whether the call needs the task to be in a particular state, and whether it is safe to retry.

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?

Only one parameter (task_id) exists and schema description coverage is 0%, so the schema supplies no format or constraint guidance. The description's '{id}' in the endpoint path and the phrase 'a task's blocked intents' imply the parameter identifies the task, but adds no further semantics such as integer vs. external id or validation behavior.

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?

States a specific verb ('Reopen') and resource ('a task's blocked intents'), plus the underlying endpoint POST /api/tasks/{id}/intents/rerun-blocked. It also implicitly distinguishes itself from the delete/create path by naming that path as the alternative.

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?

Gives an explicit when-not condition: if the task sits engine_mode=idle after a provider 429 storm and the run loop won't reclaim the intents, prefer deleting and creating a fresh task instead. What is missing is a positive statement of the normal case (blocked intents with a healthy run loop), so the agent must infer when this tool is the right first move.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.