Skip to main content
Glama

Add drafts to a queue

add_queue_items
Destructive

[PUBLISHES to social accounts · publish scope] Appends drafts (content ids) to the end of a queue — they will be BOOKED AND POSTED on the queue's schedule. Use contentIds, or items for a per-item YouTube title or platforms. Drafts of another brand, duplicates, archived drafts and drafts without a video for a video platform come back in rejected. Needs the publish scope (or admin) on the Agency plan or higher. (Wraps POST /api/v2/queues/{id}/items.)

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

Input Schema

NameRequiredDescriptionDefault
idYes
itemsNo
brandIdNo
contentIdsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • addedInput schema / properties / items / items / properties / instanceLabels
      Added value: +{
      +  "description": "Internal labels per platform/account instance. An array of {platform, accountId?, labels}; accountId is the Zernio connected account id. Omit accountId when unknown. instanceKey is derived as canonical platform + \":account:\" + URL-encoded account id, or \":pending\" when unknown (twitter canonicalizes to x). Replaces the instance set when editing; [] clears it. Never published.",
      +  "items": {
      +    "additionalProperties": false,
      +    "properties": {
      +      "accountId": {
      +        "maxLength": 200,
      +        "type": "string"
      +      },
      +      "labels": {
      +        "items": {
      +          "type": "string"
      +        },
      +        "maxItems": 30,
      +        "type": "array"
      +      },
      +      "platform": {
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "platform",
      +      "labels"
      +    ],
      +    "type": "object"
      +  },
      +  "maxItems": 20,
      +  "type": "array"
      +}
    • addedInput schema / properties / items / items / properties / labels
      Added value: +{
      +  "items": {
      +    "type": "string"
      +  },
      +  "maxItems": 30,
      +  "type": "array"
      +}
  2. First observed

TDQS

A3.9/5.0
Behavior3/5

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

Annotations already declare destructiveHint=true, openWorldHint=true, idempotentHint=false and readOnlyHint=false, so safety profile is covered. The description still adds real context: it publishes to live social accounts, requires the `publish` scope or admin on Agency plan or higher, and returns failures in a `rejected` field rather than erroring. It does not say whether partial success is possible or how to recover rejected items.

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?

Front-loads the mutation and its consequence, then the input choice, then failure modes, then permissions — a sensible ordering. Dense but nearly every clause carries information; the bracketed scope banner and API route note add bulk but are informative.

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, open-world mutation with no output schema, the description covers the essentials: what is created, when items are rejected, and what authorization is needed. The remaining gap is the unexplained required `id` and the `brandId` parameter.

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 0% at the top level, so the description must carry the burden and it only partially does. The `contentIds` vs `items` distinction is genuinely valuable, but the required `id` (the queue id) and `brandId` are never explained, and the description does not clarify how `items` interacts with `contentIds` if both are sent.

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?

States a specific verb and resource ("Appends drafts (content ids) to the end of a queue") plus the consequential effect ("they will be BOOKED AND POSTED on the queue's schedule"). That effect clause separates it from reorder_queue_items, remove_queue_item and queue_item_action without the agent needing to open another 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?

Gives clear input-selection guidance ("Use `contentIds`, or `items` for a per-item YouTube title or platforms") and enumerates the rejection conditions — other brand, duplicates, archived, no video for a video platform — so the agent knows what will silently fail. It stops short of naming sibling alternatives for correcting or reordering already-queued items.

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