Skip to main content
Glama

Validate Delivery

validate_delivery
Read-onlyIdempotent

Dry-run a publish or schedule: checks the saved draft's destinations, publishing grants, captions, times and approval status, and returns per-account status, approval_required and ready. Creates no queue entries and contacts no social network. Run it before publish_now or schedule_publish; fix any rejected account first. Set send_now=true for immediate delivery, or give a timezone-aware when for each destination.

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": {
      "draft_id": "<draft_id>",
      "revision": "<revision>",
      "send_now": "<send_now>",
      "destinations": "<destinations>"
    },
    "name": "validate_delivery"
  }
}

Input Schema

NameRequiredDescriptionDefault
draft_idYesSaved draft ID from get_draft or list_drafts.
revisionYesCurrent workspace revision integer from get_draft. The check is rejected if the workspace has changed.
send_nowYesTrue to check immediate delivery; false to check the scheduled times in destinations.
destinationsYesAccounts to check, each with channel_id and, for scheduled checks, a timezone-aware when. Always required; with send_now=true list the accounts and omit when.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false, idempotentHint=true and openWorldHint=false, so the safety profile is covered. The description reinforces this with concrete, non-obvious detail — "Creates no queue entries and contacts no social network" — and names the returned fields (per-account status, approval_required, ready), which annotations cannot convey.

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?

Three sentences, dry-run semantics front-loaded, then ordering guidance, then parameter usage. Almost every clause carries information; the closing sentence overlaps somewhat with the destinations schema description, which is the only real slack.

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 read-only validation tool with full schema coverage and no output schema, the description covers purpose, side-effect guarantees, invocation order, and the shape of the response. Nothing material is missing for an agent to call it correctly.

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 baseline is 3, but the description adds cross-parameter meaning in prose: send_now=true means immediate delivery, otherwise supply a timezone-aware when per destination. That conditional relationship is the main thing an agent can get wrong, and the description surfaces it explicitly.

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 ("Dry-run a publish or schedule") and enumerates exactly what is checked — destinations, publishing grants, captions, times, approval status. This clearly separates it from siblings like delivery_status or list_queue, which report state rather than validating a draft.

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 sequencing guidance: "Run it before publish_now or schedule_publish; fix any rejected account first." That tells the agent both the precondition and the follow-up action on failure, which is more than most definitions offer.

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