Skip to main content
Glama

Storiez

Retry failed campaign plan

retry-plan

Plans a FAILED campaign again with its original inputs. Returns 409 when the campaign already has a plan or is planning.

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": {
      "id": "<id>"
    },
    "name": "retry-plan"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesThe campaign ID that failed

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior3/5

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

Annotations already declare destructiveHint=false and openWorldHint=true, so the safety profile is covered. The description adds genuinely useful conflict semantics (409 when a plan exists or planning is underway) and states that original inputs are reused, but says nothing about what happens on success or whether a prior failed plan is replaced.

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?

Two short sentences, purpose first and the error condition second, with no filler. Every clause carries information an agent needs.

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?

For a one-parameter retry tool with annotations covering safety and no output schema, the description covers purpose, precondition, and the main failure mode. The only gap is the success outcome, which would help an agent know what to expect after the call.

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 100% and the single 'id' parameter is already documented as 'The campaign ID that failed', which is essentially what the description restates. The description adds no new detail about the identifier's format or constraints, so the baseline 3 applies.

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 states a specific verb and resource ('Plans a FAILED campaign again with its original inputs'), and the FAILED qualifier separates it from the sibling 'plan-campaign' for first-time planning. It stops just short of naming that sibling explicitly.

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 precondition is clear: the campaign must have failed, and the 409 behavior tells the agent that already-planned or in-progress campaigns are excluded. It does not name 'plan-campaign' as the alternative for non-failed campaigns, so routing is implied rather than stated.

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.

Resources