Skip to main content
Glama

Boatwork - Marine Businesses MCP

create_social_posts

Call get_publishing_rules first. KAN-4222: batch version of create_social_post. Takes an ARRAY of post specs; each spec targets one or more channels and carries EITHER content (single post) OR thread (a connected X thread), plus optional imageUrl/scheduledAt/postNow/firstComment/settings/collaborators/carousel/replyControls. The marketplace endpoint is one-channel-per-call, so this fans out per spec × channel. Content is published EXACTLY as provided — nothing is rewritten, sanitized, or truncated; every create is sent with strict:true so the server refuses (422) anything outside the profile's rules. Set dryRun:true on a spec to check it against this profile's rules without publishing. Each spec may include an optional accountIds channel→accountId map: when a spec posts to the same channel that has multiple connected accounts, the mapped accountId is used per target (e.g. two distinct Instagram accounts). accountIds is MCP-only routing and is NOT sent to the marketplace API. One failing target does not abort the batch: the response is a per-target ledger of {index, channel, ok, post | error}. GH4020: pass a top-level operationKey (or a per-spec one) and every target derives its own stable key from that base plus its index/channel/account, so retrying the same batch reuses the posts it already created and distinct channels/accounts never collapse into one post. To resume a failed batch, rerun the identical ordered batch with the ORIGINAL batch/per-spec base keys, OR retry a single target via create_social_post using its exact returned ledger operationKey. NEVER use a derived ledger key as the batch/per-spec base: it would derive again, producing a different intent.

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": {
      "posts": "<posts>",
      "proAccessToken": "<proAccessToken>"
    },
    "name": "create_social_posts"
  }
}

Input Schema

NameRequiredDescriptionDefault
postsYesOne entry per post to create; each fans out over its channels.
operationKeyNoOptional batch intent token. Each target derives its own key from this base plus index/channel/account, so a retried batch reuses the posts it already created. A per-spec `operationKey` overrides this base for that spec. Every ledger entry echoes the derived key — save the base (or the per-target keys) in your work artifact to resume the batch after a restart. To resume, rerun the identical ordered batch with the ORIGINAL base keys, OR retry one target via create_social_post using its exact returned ledger operationKey. NEVER use a derived ledger key as the batch/per-spec base: it derives again, a different intent. Omit both and the MCP generates one UUID per target: still unique per channel/account, but not reusable if the process dies before any result reaches you, so pass an explicit key when the batch must survive that.
proAccessTokenYesThe proAccessToken printed by confirm_pro_signup or renew_pro_access. It names the pro's storefront for this call and is valid for 24 hours.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.8/5.0
Behavior5/5

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

No annotations exist, so the description carries the full burden and does so: it discloses server-side strict:true validation (422 on rule violations), no rewriting/sanitization/truncation, per-target fan-out, partial-failure semantics ('One failing target does not abort the batch') with a {index, channel, ok, post|error} ledger, and idempotency derivation rules for operationKey. These are non-obvious behaviors an agent cannot infer from the schema.

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-loads the prerequisite and core purpose, then proceeds in a dense but ordered sequence (fan-out, strictness, dryRun, accountIds, partial failure, idempotency). It is long and repeats the operationKey resume rules already stated in the schema, and the 'KAN-4222'/'GH4020' ticket tags add no operational value, but no sentence is truly wasted.

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 fan-out batch mutation with no annotations and no output schema, the description supplies everything needed to call it correctly: prerequisites, per-target result shape, partial-failure handling, and exact idempotent-retry/resume procedure including the prohibition on reusing derived keys.

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; the description nevertheless adds genuine meaning beyond it, notably that accountIds is MCP-only routing never sent to the marketplace API, and how per-target operationKeys derive from the batch base. It stops short of adding value for proAccessToken, which is left entirely to the schema.

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 plus its operating model: 'batch version of create_social_post' that 'Takes an ARRAY of post specs' and 'fans out per spec × channel.' An agent can immediately distinguish it from the singular create_social_post sibling without opening either 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?

Explicit prerequisites ('Call get_publishing_rules first'), explicit alternative for single-target recovery ('OR retry a single target via create_social_post using its exact returned ledger operationKey'), and explicit dryRun guidance for validation-only calls. It also states the resume procedure precisely, including the failure mode of reusing a derived key.

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