Skip to main content
Glama

Sergio by Serviche

Cancel a queued lead follow-up

cancel_queued_lead_send
DestructiveIdempotent

Cancels a lead's follow-up text that is queued but not yet sent, as Cancel on the queued-send tile does. The step is cancelled for good; a later step still runs normally on its own time. Nothing is sent. task_id is the lead (read entity tasks). Pass the same idempotency_key when retrying.

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>",
      "idempotency_key": "<idempotency_key>"
    },
    "name": "cancel_queued_lead_send"
  }
}

Input Schema

NameRequiredDescriptionDefault
task_idYes
idempotency_keyYesYour id for this operation (8-128 of A-Z a-z 0-9 . _ : -). Reuse it on every retry of the same operation; use a new one for a new operation.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already flag destructive=true, readOnly=false and idempotent=true; the description goes beyond them by saying the cancellation is permanent ('for good'), that downstream steps are unaffected, and that nothing is transmitted — real added context about consequences. It stops short of stating failure behavior (e.g., what happens if the send already fired) or any permission requirement.

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?

Four short sentences, front-loaded with the outcome and immediately followed by scope and side effects; there is no hedging or filler. Each clause carries decision-relevant information (permanence, no send, later step unaffected, retry key).

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 destructive, non-idempotent-looking mutation with no output schema, the description covers what is destroyed, permanence, what is not affected, and retry safety. The remaining gap is edge-case behavior — how to obtain task_id precisely and what the error state looks like if the message already sent.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is only 50% because task_id carries no description there, and the description fills that gap by explaining task_id identifies the lead and pointing to the entity tasks source. It also explains the retry discipline for idempotency_key (reuse the same key on a retry), which the schema's pattern alone would not imply.

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?

The description states a specific verb (cancels) against a specific resource (a lead's follow-up text) and pins the exact state required: queued but not yet sent. That state qualifier is what separates it from other cancellation/hold tools, and the UI anchor ('as Cancel on the queued-send tile does') gives an agent a concrete mental model without opening any schema.

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 queued-but-unsent condition plus 'Nothing is sent' and 'a later step still runs normally on its own time' tell the agent when this is the right call and what the blast radius is. It does not, however, name an alternative when the step has already gone out, nor explicitly contrast with hold/approve siblings, so the agent must infer the boundary.

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