Skip to main content
Glama

OutreachGenie Workspace

Create publishing attempt

create_publishing_attempt
Destructive

Start publishing the saved version of a draft. requested_action=publish: post it yourself on LinkedIn, then call confirm_publishing_attempt with the post permalink. requested_action=schedule with scheduled_for: then call dispatch_publishing_attempt to schedule it through LinkedIn's API (text-only posts, when direct publishing is enabled). Reuse request_id only when retrying the same call. Requires explicit user 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": {
      "draft_id": "<draft_id>",
      "body": "<body>",
      "request_id": "<request_id>",
      "confirm": "<confirm>",
      "context": "<context>"
    },
    "name": "create_publishing_attempt"
  }
}

Input Schema

NameRequiredDescriptionDefault
bodyYes
confirmYes
contextYesA few words on why you are calling this tool, for the server developer's analytics. Describe people and things by role, such as "a customer". Do not quote the user or include names, emails, or other personal details.
draft_idYes
llm_modelNoThe model identifier you are running as, for example "claude-opus-4-8" or "gpt-5.2". Pass "unknown" if you are not certain. Recorded for the server developer's analytics.
request_idYesStable unique write ID. Reuse it when retrying exactly the same operation.

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.5/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true and readOnlyHint=false, so the mutation profile is known; the description adds real value by disclosing the two-phase handoff, the idempotency rule (reuse request_id only when retrying the same call), and that explicit user confirmation is required. It stops short of saying whether an initiated attempt can be abandoned or what happens if the follow-up call never occurs.

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, then organized by branch, which is the right structure for a two-mode tool. It is dense and slightly run-on with the parenthetical about text-only posts, but every clause carries operational meaning.

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 6-parameter, nested-schema tool with an output schema, the description covers the risky parts: what each mode triggers, the required follow-up tool, idempotency reuse, and the confirmation requirement. Gaps are secondary, such as the meaning of draft_id as a UUID reference, why confirm must be literally true, and what an attempt record looks like after creation.

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?

With 50% schema coverage and a nested body object, the description carries needed weight: it defines the accepted requested_action values in workflow terms, explains that scheduled_for accompanies the schedule branch, and gives a usage rule for request_id beyond the schema's "stable unique write ID" text. draft_id, confirm, idempotency_key, and context remain unaddressed in prose.

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 ("Start publishing the saved version of a draft") and then splits the purpose into two concrete modes keyed on requested_action, so an agent can immediately see what this tool initiates rather than confuses it with confirm_publishing_attempt or dispatch_publishing_attempt.

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?

Explicitly routes each branch: publish means the agent posts on LinkedIn then calls confirm_publishing_attempt with the permalink; schedule with scheduled_for means call dispatch_publishing_attempt, with the constraint that this path is text-only and requires direct publishing to be enabled. It also states the confirmation gate, leaving little to infer about when this tool is the right call.

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