Skip to main content
Glama

requeue_ai_run

Re-run a failed or rejected AI coaching run for the client. (confirm-gated: previews until confirm: true)

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": {
      "runId": "<runId>"
    },
    "name": "requeue_ai_run"
  }
}

Input Schema

NameRequiredDescriptionDefault
runIdYes
confirmNoMust be true to actually execute. If false/omitted, returns a preview only.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.6/5.0
Behavior4/5

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

With only readOnlyHint=false available, the description carries real weight by disclosing the confirm-gate: it previews unless confirm is true. That is exactly the kind of behavioral trait annotations cannot express. It does not say whether requeue discards prior run output, consumes AI credits, or is reversible, leaving mutation side effects unclear.

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 compact sentences with the action front-loaded and the gating caveat parenthesized where it is easy to catch. No wasted text, though 'for the client' adds little precision.

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 no output schema, the confirm-gate is covered but the post-execution picture is not: no statement about what the preview returns, what happens to the original run record, or any authorization requirement on runId. Adequate but with clear gaps.

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 coverage is 50%: confirm is fully documented in the schema, so the description's parenthetical is largely redundant, while runId has no schema description and gets only the indirect hint that it refers to a failed/rejected run. The description does not compensate for the undocumented parameter.

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?

States a specific verb ('Re-run') and a precisely scoped resource ('a failed or rejected AI coaching run for the client'), which implicitly distinguishes it from trigger_ai_coach_run and approve_ai_run. It stops short of naming those siblings explicitly, so the differentiation is inferential rather than stated.

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

Usage Guidelines3/5

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

The precondition ('failed or rejected' run) tells the agent when this tool applies, but nothing says where a qualifying runId comes from (e.g. list_ai_runs_awaiting_review) or when to prefer approve_ai_run / trigger_ai_coach_run instead. Usage is implied, not guided.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.