Skip to main content
Glama

Book an approved item from the To schedule tray

approvals_tray_book
Destructive

[PUBLISHES to social accounts · publish scope] FFE-2226: books ONE item from approvals_tray_list (contentId) at scheduledAt (ISO, 2 minutes to 400 days ahead). It GOES LIVE at that time: confirm the item and the time with the user first. Booked as already reviewed, so a brand whose review mode is "required" does not hold it for review again. platforms defaults to all of the content's platforms. Retrying is safe. Needs the approve (or approvals:decide) scope as well as publish, on the Agency plan, and the user must be allowed to decide the content's approval. Undo with approvals_tray_unbook. (Wraps POST /api/v2/approvals/tray/book.)

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": {
      "contentId": "<contentId>",
      "scheduledAt": "<scheduledAt>"
    },
    "name": "approvals_tray_book"
  }
}

Input Schema

NameRequiredDescriptionDefault
contentIdYese.g. "contentId_123". A `contentId` from GET /api/v2/approvals/tray.
platformsNoe.g. ["instagram"]. A subset of the content's platforms; default all of them.
scheduledAtYesFormat: ISO 8601 with timezone; e.g. "2026-11-20T12:00:00-06:00". ISO-8601, 2 minutes to 400 days ahead.
idempotencyKeyNoe.g. "Example". Optional; default one per content approval and time, so a retry books nothing twice.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.5/5.0
Behavior5/5

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

Goes well past the annotations: it discloses that the booking publishes at the scheduled time, that the item is treated as already reviewed so "required" review modes are bypassed, that retries are deduplicated, and the full gate stack (`publish` + `approve`/`approvals:decide` scopes, Agency plan, per-content decision permission). The idempotentHint=false is not contradicted — the description explains the mechanism (a default idempotency key per content approval and time) that makes retries safe despite the tool not being inherently idempotent.

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-loaded with the publish/scope tag and the action, then side effects, then preconditions, then undo — a well-ordered structure with no filler sentences. Minor deductions for the internal ticket reference ("FFE-2226") and the endpoint-wrapper parenthetical, which add length without helping tool selection.

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 it covers the critical unknowns: scheduling horizon, live-publish consequence, review-mode bypass, auth/plan/permission requirements, idempotency behavior, and the undo counterpart. The only gap is that no output schema exists and the description never says what the call returns (e.g., the booked item or its id), leaving the agent to discover the response shape at call time.

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 contentId origin, platforms-as-subset defaulting to all, the ISO 8601 window, and the idempotency key. The description largely restates those ("`platforms` defaults to all of the content's platforms") rather than adding new syntax or edge-case semantics, so it sits at the baseline for a fully documented schema.

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 — "books ONE item from approvals_tray_list (`contentId`) at `scheduledAt`" — and explicitly scopes it to a single item, which separates it from the bulk/decide siblings and from approvals_tray_unbook. An agent knows exactly what this does without opening the schema.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Gives the operative precondition (item must come from approvals_tray_list), an explicit user-confirmation requirement before calling, and a named reversal path ("Undo with approvals_tray_unbook"). The "GOES LIVE at that time" warning in caps makes the when/when-not decision concrete rather than inferred.

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