Skip to main content
Glama

Approve or reject pending scheduled publications

decide_scheduled_publications
DestructiveIdempotent

Applies approve or reject to supplied existing pending_approval publication jobs whose dispatchMode is scheduled. Exact scheduleId, expectedUpdatedAt and expectedPublicationHash values correspond to list_pending_publications; get_context returns full Post text when a preview is truncated. The confirmation marker is specific to the selected decision and the request carries the user's choice for this exact batch. Approval applies SuperPost's existing workspace policy and keeps the same job and saved time; if its time has passed, it is queued for immediate dispatch in the next scheduler cycle. Rejection cancels that job. No new or replacement job is created. Queue release does not confirm provider publication; normal receipt and idempotency checks still apply. Revisions, content hashes, workspace ownership and current policy are rechecked, and results report each item independently. Each existing schedule is atomically resolved from pending_approval, so an exact retry reports already_resolved instead of resolving it again; idempotencyKey is a request correlation label, not a persisted decision ledger. Distinct batches have fresh keys and an exact retry reuses the same key. Requires the separate schedule permission.

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": {
      "idempotencyKey": "<idempotencyKey>",
      "publications": "<publications>",
      "decision": "<decision>",
      "confirmation": "<confirmation>"
    },
    "name": "decide_scheduled_publications"
  }
}

Input Schema

NameRequiredDescriptionDefault
decisionYes
confirmationYes
publicationsYes
idempotencyKeyYes

Output Schema

NameRequiredDescriptionDefault
resultsYes
decisionYes
failedCountYes
dispatchModeYes
idempotencyKeyYes
succeededCountYes
alreadyResolvedCountYes

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 beyond the annotations (destructive, idempotent, openWorld) by disclosing that approval keeps the same job and saved time, that a past-due approved job is queued for the next scheduler cycle, that rejection cancels outright with no replacement job created, that queue release does not confirm provider publication, and that hashes/ownership/policy are rechecked with per-item results. It also clarifies that idempotencyKey is a correlation label rather than a persisted ledger and that a schedule permission is required.

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?

The purpose and input sourcing are front-loaded and nearly every sentence adds operative information. It is a single dense block, however, and the idempotencyKey explanation is restated in two consecutive sentences, which slightly dilutes scannability for a high-stakes mutation.

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 destructive, batch, idempotent mutation with four required parameters and an output schema present, the description covers permissions, atomicity, retry semantics, timing edge cases and per-item reporting. Nothing an agent needs in order to call this safely and interpret the result is missing.

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

Parameters5/5

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

With 0% schema description coverage the description carries the full burden and does so: it explains that scheduleId, expectedUpdatedAt and expectedPublicationHash are values taken from list_pending_publications, that the confirmation marker is tied to the chosen decision, and that the request represents the user's choice for exactly this batch. The idempotencyKey semantics (fresh per batch, reused on exact retry, not a decision ledger) are also spelled out.

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?

The opening sentence gives a specific verb pair (approve/reject), a specific resource (pending_approval publication jobs) and a scope qualifier (dispatchMode is scheduled), so an agent can tell what this does. Sibling differentiation is only implicit through that dispatchMode constraint rather than by naming an alternative, which keeps it from a 5.

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?

It clearly states the eligible condition — pre-existing pending_approval jobs with scheduled dispatch — and routes the agent to list_pending_publications for the exact IDs and to get_context when a preview is truncated. It also explains retry behavior (exact retry reports already_resolved, distinct batches get fresh keys). It stops short of explicitly excluding the immediate-decision or per-variant approve/reject siblings.

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