Skip to main content
Glama

Publish post now

publish_now
Destructive

Publish a draft right away on the user’s connected accounts, like clicking Publish now in Distinctful. Use it when the user asks to post now. Results come back per account; tell the user about any account that failed and why. Once it goes out, the user’s Encore automations run as for any Distinctful post: relays may copy it to their other accounts, and the draft’s tags can choose its Encore reply. Get accountIds from get_connected_accounts and the draft from create_draft or get_calendar.

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": {
      "contentCardId": "<contentCardId>",
      "accountIds": "<accountIds>",
      "idempotencyKey": "<idempotencyKey>"
    },
    "name": "publish_now"
  }
}

Input Schema

NameRequiredDescriptionDefault
accountIdsYesaccountId values from get_connected_accounts, one per account the post should go to.
contentCardIdYesThe draft's content card id (UUID), from create_draft or get_calendar.
idempotencyKeyYesRequired. A unique key for this publish (for example a UUID). Reuse it when retrying after a timeout or lost response; Distinctful returns the original result instead of posting twice.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior4/5

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

Beyond the annotations, the description discloses meaningful side effects: results are per account, failures must be surfaced with reasons, and publishing triggers Encore automations where relays may copy the post to other accounts and tags select the reply. What it does not add is irreversibility or how to undo a mistaken publish, which matters for a destructiveHint=true operation.

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 description is front-loaded with the action and trigger, then moves to results, then side effects, then input sourcing – a sensible order. The Encore-automation sentence is longer than strictly necessary for tool selection, though it does carry real behavioral information.

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, open-world mutation with no output schema, the description covers what an agent needs: how to obtain both inputs, that the response is per account, and what the agent should do with failures. Combined with a fully documented schema, there is no material gap.

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%, and the schema already documents each parameter's provenance ('from get_connected_accounts', 'from create_draft or get_calendar') and the idempotencyKey retry behavior. The description restates that provenance without adding new meaning, so the baseline of 3 applies.

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?

The description gives a specific verb (publish) and a precise object of that action (a draft, right away, on the user's connected accounts). The analogue to clicking 'Publish now' and the phrase 'right away' distinguish it at a glance from scheduling or planning siblings such as schedule_post or plan_post.

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 states the trigger ('Use it when the user asks to post now') and names the prerequisite tools for both inputs: get_connected_accounts for accountIds and create_draft or get_calendar for the draft. It does not explicitly say when NOT to use it (for example, versus schedule_post), leaving that as an inference from 'right away'.

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