Skip to main content
Glama

Publish or schedule a created post

publish_post
Destructive

Send a created post out: when = "best" (Narriva's best time), "now", or "at" with at (ISO time). platforms from get_publish_options. YouTube needs youtube {title, description, privacy_status}; Threads may take its own threads text. Reaches real customers publicly on the business's connected accounts, and needs the owner's confirmation.

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": {
      "creation_id": "<creation_id>",
      "when": "<when>"
    },
    "name": "publish_post"
  }
}

Input Schema

NameRequiredDescriptionDefault
atNo
whenYes
googleNo
threadsNo
youtubeNo
brand_idNoOptional business id from list_brands (default: this connection's business).
platformsNo
creation_idYesThe creation id.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed7 schema fields changed
    • addedInput schema / $defs / GooglePublishRequest / properties / coupon_code
      Added value: +{
      +  "anyOf": [
      +    {
      +      "maxLength": 100,
      +      "type": "string"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ]
      +}
    • addedInput schema / $defs / GooglePublishRequest / properties / kind
      Added value: +{
      +  "default": "update",
      +  "enum": [
      +    "update",
      +    "offer",
      +    "event"
      +  ],
      +  "type": "string"
      +}
    • addedInput schema / $defs / GooglePublishRequest / properties / redeem_url
      Added value: +{
      +  "anyOf": [
      +    {
      +      "maxLength": 1000,
      +      "type": "string"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ]
      +}
    • addedInput schema / $defs / GooglePublishRequest / properties / schedule
      Added value: +{
      +  "anyOf": [
      +    {
      +      "$ref": "#/$defs/GooglePublishSchedule"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ]
      +}
    • addedInput schema / $defs / GooglePublishRequest / properties / terms
      Added value: +{
      +  "anyOf": [
      +    {
      +      "maxLength": 2000,
      +      "type": "string"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ]
      +}
    • addedInput schema / $defs / GooglePublishRequest / properties / title
      Added value: +{
      +  "anyOf": [
      +    {
      +      "maxLength": 200,
      +      "type": "string"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ]
      +}
    • addedInput schema / $defs / GooglePublishSchedule
      Added value: +{
      +  "description": "An Offer's or Event's dates in the listing's own time zone: YYYY-MM-DD, and HH:MM (both or neither).",
      +  "properties": {
      +    "end_date": {
      +      "type": "string"
      +    },
      +    "end_time": {
      +      "anyOf": [
      +        {
      +          "type": "string"
      +        },
      +        {
      +          "type": "null"
      +        }
      +      ]
      +    },
      +    "start_date": {
      +      "type": "string"
      +    },
      +    "start_time": {
      +      "anyOf": [
      +        {
      +          "type": "string"
      +        },
      +        {
      +          "type": "null"
      +        }
      +      ]
      +    }
      +  },
      +  "required": [
      +    "start_date",
      +    "end_date"
      +  ],
      +  "type": "object"
      +}
  2. First observed

TDQS

A3.8/5.0
Behavior4/5

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

Beyond the annotations (destructive, openWorld, non-idempotent), it discloses the two facts an agent most needs: the effect is public and customer-facing on the business's connected accounts, and the owner's confirmation is required before it goes out. It stops short of failure/retry behavior or whether an accidental publish can be undone.

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 core action and the when-mode semantics, then platform-specific requirements, then the risk note. Dense but nearly every clause carries information; the backtick-heavy notation is slightly noisy but not wasteful.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With no output schema and a destructive, non-idempotent publish, the definition should say what comes back (post ids, scheduled vs published status) and what happens on partial platform failure. It covers the confirmation requirement but leaves the post-call outcome and failure handling to inference.

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 only 25%, and the description does compensate for the most consequential parts: the `when` enum values, the `at` ISO format dependency, where `platforms` comes from, and the required YouTube fields. But the largely undocumented `google` sub-object (kind, terms, coupon_code, schedule) and `threads.topic_tag` are left entirely to the schema, so the coverage gap is only partly closed.

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?

"Send a created post out" names a specific verb and resource, and the immediate mention of "created post" plus `creation_id` in the schema makes clear this acts on an already-drafted creation, not a new one (create_post). The when-modes and per-platform payloads further pin down the operation.

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

Usage Guidelines3/5

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

It routes the agent to get_publish_options for `platforms` and states the platform-specific payload requirements, which is real usage guidance. However, siblings named approve_post, approve_and_schedule_post, schedule_post and schedule_library_posts plausibly overlap, and the description never says when this tool is preferred over them or what the prerequisite creation state is.

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