Skip to main content
Glama
linkedin-post-mcp

linkedin-post-mcp

by 4nd3r5on

Delete Post

delete_post
Destructive

Delete one of your LinkedIn posts by URL or URN. Use a dry run to verify the post exists and is deletable before confirming; deletion is permanent and limited to your own posts.

Instructions

Delete one of the signed-in user's LinkedIn posts. Cannot be undone.

Opens the post, uses its "..." menu and LinkedIn's own confirmation. Only works on the user's own posts; anyone else's has no Delete item and returns not_deletable. With confirm_delete False this is a dry run that checks the post exists and is deletable.

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": {
      "post": "<post>",
      "confirm_delete": "<confirm_delete>"
    },
    "name": "delete_post"
  }
}

Input Schema

NameRequiredDescriptionDefault
postYesPost URL (the post_url from create_post, a /feed/update/ link, or a /posts/...-activity-<id>-... permalink) or URN (urn:li:activity:<id>, urn:li:share:<id>, urn:li:ugcPost:<id>).
confirm_deleteYesMust be True to delete. 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.4/5.0
Behavior5/5

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

Annotations already declare destructiveHint=true and openWorldHint=true, so the bar is lower, yet the description adds real context: irreversibility, the UI path taken (open post, "..." menu, LinkedIn's own confirmation dialog), and the specific not_deletable failure code. This tells an agent both what will be destroyed and how failures surface.

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 destructive nature and unrecoverability are front-loaded in the first two sentences, followed by scope and dry-run details. Slightly redundant that the dry run is mentioned both here and in the schema, but every sentence carries operational meaning.

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 two-parameter destructive tool with an output schema and full annotation coverage, the description supplies everything an agent needs: irreversibility, ownership constraint, error code, and dry-run support. Return values need not be explained given the output schema exists.

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%, with both parameters fully described including accepted post URL/URN formats and the confirm-delete-means-dry-run semantics. The description only restates the dry-run behavior already stated in the schema, adding no new format or constraint detail, so baseline 3 applies.

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 ("Delete one of the signed-in user's LinkedIn posts") plus the scope restriction to the signed-in user's own content. Nothing in the sibling list does deletion, and the definition makes clear this is the destructive counterpart to create_post.

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?

Gives explicit when-not guidance ("Only works on the user's own posts; anyone else's has no Delete item") and documents a second operating mode via confirm_delete=False as a dry run. It does not point to any alternative tool, but no sibling offers equivalent behavior, so the missing routing advice is low-cost.

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