Skip to main content
Glama

Restaurar versão da cadência

restore_cadence_version
Destructive

Puts an earlier cadence template back ("volta pro template que tava antes"). Without versionId it restores the most recent earlier version; versionId picks another. Steps already sent stay; people who have not received a step get the restored template, but their messages are not rewritten by this call: the result's messagesOutdated counts them and messagesNext describes the rewrite still pending. The restore itself is kept as a version, so it can be undone. Nothing is sent.

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": {
      "campaignId": "<campaignId>"
    },
    "name": "restore_cadence_version"
  }
}

Input Schema

NameRequiredDescriptionDefault
versionIdNoOptional version id from the campaign's cadence versions; omitted, the most recent earlier version.
campaignIdYesExact campaign UUID.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • changedInput schema / properties / campaignId / description
      Previous value: -"Exact campaign UUID from list_outreach_campaigns or dashboard context."New value: +"Exact campaign UUID."
    • changedInput schema / properties / versionId / description
      Previous value: -"Optional version id from list_cadence_versions; omit for the most recent earlier version."New value: +"Optional version id from the campaign's cadence versions; omitted, the most recent earlier version."
  2. First observed

TDQS

A4.1/5.0
Behavior5/5

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

Annotations flag destructiveHint=true, and the description adds the non-obvious scope of that destruction: already-sent steps stay, queued recipients get the restored template but their messages are not rewritten, and the pending rewrite is surfaced via messagesOutdated/messagesNext. It also discloses reversibility — the restore is itself kept as a version — and that nothing is sent to recipients.

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 definition is front-loaded: the core action comes first, then the defaulting rule, then the effect on in-flight recipients, then the response fields. It is dense but mostly earns its length; the parenthetical colloquial Portuguese gloss is the one element that adds little for an agent.

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

Completeness5/5

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

With no output schema, the description correctly spends words on the result shape (messagesOutdated counts, messagesNext describes the pending rewrite) and on the post-restore state of the campaign. For a destructive, non-idempotent two-parameter tool, nothing material is missing.

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 description coverage is 100%, and both parameter descriptions already explain versionId's fallback behavior and campaignId's purpose. The description's versionId sentence largely restates the schema, adding little new parameter-level meaning, so 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 gives a concrete verb+resource: it puts an earlier cadence template back into place, and clarifies that versionId selects a specific version. The operation is unambiguous, but it never names a sibling (e.g. update_outreach_cadence or list_cadence_versions) to draw the boundary 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?

It clearly states the two usage paths: omit versionId to restore the most recent earlier version, or pass versionId to pick another. That is real guidance for callers, though it offers no exclusions or prerequisites (e.g. when to restore versus edit the cadence directly).

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.