Skip to main content
Glama

Unbook a scheduled post back into the To schedule tray

approvals_tray_unbook
Destructive

[DESTRUCTIVE] FFE-2226: cancels ONE scheduled post (postId, the convexPostId from a booking) made from approved content, so it will not publish; the content is not deleted and goes back to the "To schedule" tray (approvals_tray_list) to be booked again. Confirm with the user first. Only for a post made from tray content; cancel any other post with publish_post_cancel. Needs the approve (or approvals:decide) scope as well as publish, on the Agency plan. (Wraps POST /api/v2/approvals/tray/unbook.)

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": {
      "postId": "<postId>"
    },
    "name": "approvals_tray_unbook"
  }
}

Input Schema

NameRequiredDescriptionDefault
postIdYese.g. "postId_123". The post id (`convexPostId` from a booking, or `id` from GET /api/v2/posts).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.8/5.0
Behavior5/5

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

Annotations already flag destructiveHint=true and non-idempotent, and the description adds what the annotations cannot: the content is not deleted, it returns to the tray, user confirmation is required, and it needs both the 'approve'/'approvals:decide' and 'publish' scopes on the Agency plan. It also names the underlying endpoint, which helps an agent reason about failure modes.

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 destructive tag and the core effect, then alternatives, confirmation, and permissions in a logical order. Slightly cluttered by the FFE-2226 ticket reference and the endpoint-wrapper parenthetical, which do not help tool selection.

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?

For a single-parameter destructive tool with no output schema, the definition covers side effects, reversibility (content preserved in the tray), required scopes, plan gating, confirmation policy, and the alternative tool. Nothing an agent needs before invoking it is missing.

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 100%, so the parameter is already documented, but the description adds selection meaning the schema does not: the ID must be a convexPostId originating from a booking of tray content, which constrains which value is valid. That is genuine added context beyond the field description rather than a restatement.

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 (cancels ONE scheduled post made from tray content) and explains the resulting state: it will not publish and the content returns to the 'To schedule' tray. It explicitly distinguishes itself from publish_post_cancel for posts not made from tray content.

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 explicit when-to-use ('only for a post made from tray content'), the exclusion and the named alternative ('cancel any other post with publish_post_cancel'), plus the prerequisite to confirm with the user and the sibling to return to (approvals_tray_list) for re-booking.

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