Skip to main content
Glama

Blog2Social - Social Media Publishing

Replaced by its MCP Registry listing

This endpoint is listed in the official MCP Registry as Blog2Social - Social Media Publishing. If you published it, claim ownership there.

Publish a post immediately

posts.publish_post

Use this tool when the user explicitly asks to publish social media content immediately. It publishes the supplied b2s_posts to the connected social media account identified by client_user_network_id. This action publishes content directly and does not create a draft or schedule a post for later publication.

postFormat must be:

  • 0 for text or link

  • 1 for image

  • 2 for video

Image and video posts require mediaObjects with the matching IMAGE or VIDEO type and a publicly accessible HTTP or HTTPS URL.

Check networks.properties before publishing to verify the requirements for the selected network and account type.

The response can include:

  • publish_url for retrieving post performance insights with posts.insights

  • video_token for checking video publication status with videos.status

Evaluate all returned error fields, including b2s_error_code. Do not automatically retry uncertain publishing operations.

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": {
      "client_user_network_id": "<client_user_network_id>",
      "b2s_posts": "<b2s_posts>"
    },
    "name": "posts.publish_post"
  }
}

Input Schema

NameRequiredDescriptionDefault
b2s_postsYesOne or more posts to publish to the selected account. Use postFormat 0 for text or links, 1 for images, and 2 for videos; image and video posts require mediaObjects.
client_user_network_idYesConnected social media account ID returned by connections.list. All posts in b2s_posts are published to this account.

Output Schema

NameRequiredDescriptionDefault
dataYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • removedOutput schema / properties / data / items / properties / network_post_id
      Removed value: -{
      -  "type": "string"
      -}
    • removedOutput schema / properties / data / items / properties / type
      Removed value: -{
      -  "type": "integer"
      -}
  2. Added

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=false, idempotentHint=false, openWorldHint=true, and the description adds the crucial operating context: this publishes live content rather than staging it, error fields including b2s_error_code must be evaluated, and uncertain publish attempts must not be auto-retried (directly relevant given idempotentHint=false). What it does not cover is whether a published post can be edited or removed afterward, which is the main remaining behavioral gap for a live-publish action.

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 trigger condition, then organized into short scannable blocks for format, media, network checks, response fields, and error handling. The postFormat bullets are somewhat redundant with the schema's const values, which keeps it from a perfect score, but no block is filler.

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?

With an output schema present it correctly avoids re-describing return values in detail, instead naming only the fields an agent must act on (publish_url, video_token) and routing to the tools that consume them. Prerequisite network validation and error-handling guidance close the remaining gaps for a live-publish operation.

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 coverage is 100%, and the schema's oneOf branches already encode the postFormat 0/1/2 discrimination and mediaObjects requirements via const values and per-field descriptions. The description's postFormat list and media URL rule therefore mostly restate structured data, adding only a quick top-level summary; baseline 3 is appropriate.

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?

It names a specific verb and resource ('publishes the supplied b2s_posts to the connected social media account') and pins the trigger condition ('when the user explicitly asks to publish content immediately'). The second sentence explicitly distinguishes it from draft creation and scheduling, so an agent can separate it from related workflows without inspecting the schema.

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?

It gives both the when ('user explicitly asks to publish immediately') and the when-not ('does not create a draft or schedule a post for later'). It also names prerequisites and follow-on tools by name — networks.properties before publishing, posts.insights via publish_url, videos.status via video_token.

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