Skip to main content
Glama

Cancel a scheduled post

jobs_cancel
Destructive

Cancel one delivery that is still queued. Refused with 409 once it is being sent or has been sent. Each account of a post is its own delivery, so cancel each one that should not go out.

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": "jobs_cancel"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesA delivery id from publish, schedule or jobs_list.
brandIdNoThe brand this is for, by its id from brands_list. Needed when the login has more than one brand; with one brand it can be left out.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / brandId
      Added value: +{
      +  "description": "The brand this is for, by its id from brands_list. Needed when the login has more than one brand; with one brand it can be left out.",
      +  "maxLength": 80,
      +  "minLength": 1,
      +  "type": "string"
      +}
  2. First observed

TDQS

A4/5.0
Behavior4/5

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

Annotations already flag destructiveHint=true, so the description earns credit for adding the 409 refusal boundary and the per-account delivery granularity, neither of which is derivable from structured fields. It does not say whether a cancellation can be undone or what a successful response contains.

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?

Three short sentences, front-loaded with the action and the queued-state constraint. Every sentence carries distinct information: action, failure boundary, and granularity warning.

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 destructive tool with full schema coverage and annotations, the description covers the action, the state gate, the failure mode, and the multi-account caveat. Only the success outcome is left implicit, which is acceptable without an output schema.

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%, so the schema already documents both parameters and the baseline is 3. The phrase 'one delivery' and the note that each account of a post is its own delivery do add real meaning about what the id identifies, but not enough to exceed baseline.

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 and resource ('Cancel one delivery') and narrows scope to deliveries 'still queued', which separates it from a reschedule or a list operation. It never names a sibling alternative explicitly, so the differentiation is inferred rather than routed.

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?

Gives a clear precondition for use (still queued) and a clear when-not (once being sent or sent, refused with 409). The instruction to cancel each account's delivery individually is actionable guidance. It stops short of pointing at jobs_reschedule or jobs_get as the alternative when the 409 hits.

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.