Skip to main content
Glama

campaigns_action_retry_failed

Puts every lead at 15 (Action Failed) on this step back to Pending; the next tick runs them. Use after an outage of the external system. Side effects: real calls.

Method: POST /api/v1/workspaces/{workspace_sqid}/campaigns/{sqid}/steps/{step_sqid}/retry-failed/

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": {
      "sqid": "<sqid>",
      "step_sqid": "<step_sqid>"
    },
    "name": "campaigns_action_retry_failed"
  }
}

Input Schema

NameRequiredDescriptionDefault
sqidYes
step_sqidYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior4/5

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

With no annotations supplied, the description does the work itself: it discloses the mutation (failed → Pending), downstream timing ('the next tick runs them'), and warns 'Side effects: real calls.' It omits permission or rate-limit behavior, but the core operational risk is well covered.

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?

The behavior, timing, and usage condition are front-loaded in the first two sentences, with side-effect warning immediately after. The trailing method/endpoint line is somewhat redundant but compact and useful for orientation.

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 two-parameter mutation tool with no annotations or output schema, the description supplies the essential context: what changes, when the change takes effect, when to invoke it, and that real calls occur. Return-value expectations are unstated but minor for this action.

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 0%, so the description must compensate. The endpoint path implicitly maps the three identifiers (workspace_sqid, campaign sqid, step_sqid) to their roles, which helps disambiguate sqid from step_sqid, but no format or validation detail is added.

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 gives a specific verb and resource with an exact state transition: leads at status 15 (Action Failed) on this step are put back to Pending. That is far more precise than the name alone. It does not, however, distinguish this from the sibling campaigns_action_retry, so an agent must infer the split.

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?

It states a clear triggering condition: 'Use after an outage of the external system.' That tells the agent when this is appropriate, but it names no exclusions or alternative tools for adjacent retry scenarios.

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.