Skip to main content
Glama
linkedin-post-mcp

linkedin-post-mcp

by 4nd3r5on

Create Post

create_post

Publish text posts with optional images to the signed-in user's LinkedIn feed; use confirm_post true to publish or false to dry-run and discard the draft.

Instructions

Publish a post, optionally with images, to the signed-in user's LinkedIn feed.

Opens LinkedIn's share dialog, inserts the text, attaches the images and clicks Post. The post uses the dialog's current visibility ("Post to Anyone" by default), which is returned as visibility. With confirm_post False this is a dry run: the text is inserted, then the draft is discarded and nothing is published.

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": {
      "text": "<text>",
      "confirm_post": "<confirm_post>"
    },
    "name": "create_post"
  }
}

Input Schema

NameRequiredDescriptionDefault
textYesPost text. LF/CRLF/CR end a line; empty lines are kept. Control characters other than line breaks are refused. May be empty when images are given.
imagesNoAbsolute paths, on the machine running this server, of up to 20 JPEG/PNG/GIF images of at most 5 MB each.
confirm_postYesMust be True to publish. False is a dry run.

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

A4.1/5.0
Behavior5/5

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

Beyond the readOnlyHint=false / openWorldHint=true annotations, the description discloses the actual mechanism (opens the share dialog, inserts text, attaches images, clicks Post), the side effect (the draft is discarded on a dry run), and the visibility behavior including its 'Post to Anyone' default. That is exactly the extra context an agent needs before triggering an open-world write.

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 purpose and dry-run caveat are front-loaded and each sentence carries information. The hard line wrapping makes it slightly harder to scan, but there is no padding or redundant wording.

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?

With an output schema present it need not document return values, yet it still explains that visibility is returned. For a three-parameter mutation it covers behavior well; the remaining gap is error handling (e.g., what happens if image upload or the Post click fails).

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%, so text, images, and confirm_post are already fully documented, and the description mostly restates their semantics. The one new fact is that visibility comes from the dialog's current setting rather than a parameter, which is mildly useful context but not parameter meaning.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The first sentence gives a specific verb and resource (publish a post with optional images to the signed-in user's LinkedIn feed), which is unambiguous. It does not explicitly contrast with siblings such as delete_post or get_feed, but the action itself is clear enough to select on.

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 dry-run behavior is spelled out precisely (confirm_post False inserts text, discards the draft, publishes nothing), which is the key usage decision for this tool. There is no explicit guidance on when to prefer another tool or when not to post, so it falls short of a full when/when-not treatment.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.