Skip to main content
Glama

social_publish

Destructive

Publish the caller's own approved social drafts on the caller's own connected X account or LinkedIn company page through the official APIs: list the channels, list the drafts, approve one draft, or post every approved draft now. A draft is never posted without approval.

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": {
      "action": "<action>"
    },
    "name": "social_publish"
  }
}

Input Schema

NameRequiredDescriptionDefault
actionYestargets = the channels this account can post to; drafts = the social_drafts rows; approve = set one draft to approved (needs draft_id); run = publish every approved draft now, one per channel.
formatNoOutput wire format for this MCP call. Default 'toon' (Token-Oriented Notation, fewest tokens, best for tabular rows). 'compact' = minified JSON. 'json' = pretty JSON for readability. The REST API always returns JSON regardless.
draft_idNoapprove only: the row id (dd_id) from drafts.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already flag destructive=true, openWorldHint=true, and idempotentHint=false; the description adds valuable context beyond them: posting goes through official APIs, only the caller's own channels are touched, and an approval gate always precedes publication. It does not warn that re-running "run" may republish or that posting is publicly visible and irreversible, which is the main remaining gap for a destructive tool.

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?

Two tight sentences, front-loaded with the publish action and followed by the action inventory and the approval guardrail. Slight redundancy with the action enum, but nothing is padded or buried.

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

Completeness4/5

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

For a 3-parameter tool with annotations and no output schema, the description covers scope, destinations, action set, and the approval rule. It leaves open what "run" reports back and whether approval can be revoked, but an agent has enough to select the correct action.

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%, so the enum descriptions already explain targets/drafts/approve/run, draft_id, and the format options. The description largely restates the action set rather than adding syntax, preconditions, or example values beyond the schema, so it sits at the baseline.

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 ("Publish the caller's own approved social drafts") plus the exact destinations (own connected X account or LinkedIn company page) and the four supported actions. An agent can identify the tool's scope without opening the schema, and it is clearly distinct from the analytics/workspace siblings listed.

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?

The enumerated sequence (list channels, list drafts, approve one, run all approved) implies the intended workflow, and "A draft is never posted without approval" tells the agent that approve must precede run. No explicit when-not-to-use guidance or named alternative is given, but the action flow is clear.

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.