Skip to main content
Glama
OutX MCP Server

OutX MCP Server

Official
by outxhq

linkedin_post_comment

Destructive

Post a public LinkedIn comment on a chosen post using its post_id, URN, or URL. Confirm the exact text and posting account, a team member or company page, before it is queued.

Instructions

Post a public comment on a LinkedIn post. Name the post one way: post_id from post_list, social_urn, or url (a plain post link the person pasted). Prefer post_id when the post came from post_list: it comments as the team member whose user_email you pass (or as a company page with actor_type company). social_urn or url comment as a team admin, the team's oldest admin account. Show the person the exact text and who will post it (that team member for post_id, the company page named in company_title when actor_type is company, "a team admin's account" for social_urn or url; no answer names that admin), and get their yes first. With post_id the answer is success, message and task_id: the comment is queued and the extension posts it later. That task_id is an OutX task that linkedin_task_status cannot check. Do not call again: a second call queues a second comment. With social_urn or url it waits for the result, and a pending answer carries api_agent_task_id for linkedin_task_status. To like instead, use linkedin_post_like. The server waits up to 25 seconds; a slower task comes back as pending with api_agent_task_id: pass it to linkedin_task_status as task_id. Needs the OutX Chrome extension active on a team member's browser in the last 48 hours, on every plan.

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": {
      "comment_text": "<comment_text>"
    },
    "name": "linkedin_post_comment"
  }
}

Input Schema

NameRequiredDescriptionDefault
urlNoA plain LinkedIn post link the person pasted, such as https://www.linkedin.com/posts/ellena_title-activity-7000000000000000000-AbCd. The server reads the post's URN from it.
post_idNoThe post's OutX id, from post_list. Pass exactly one of post_id, social_urn or url.
actor_typeNoAct as a person (default) or as a company page. company works only with post_id and needs company_title.
social_urnNoThe post's LinkedIn URN, such as urn:li:activity:7000000000000000000, from post_list or linkedin_profile_posts_list.
user_emailNoWith post_id only, and required there: the email of the team member whose LinkedIn account acts (for a company page, an admin's email). Ask the person which member to act as. Refused with social_urn or url, which act as a team admin.
comment_textYesThe comment, exactly as the person approved it.
company_titleNoThe company page's name, when actor_type is company.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.0.0

TDQS

A4.8/5.0
Behavior5/5

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

Goes well beyond the annotations (readOnlyHint=false, destructiveHint=true, idempotentHint=false): it warns that a second call queues a second comment, explains the queued-vs-blocking difference between post_id and social_urn/url, discloses the 25-second wait and pending/api_agent_task_id fallback, and states the OutX extension must have been active in the last 48 hours on any plan.

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 action and the identification rules before the async details, and every clause is substantive. It is dense and slightly repetitive around the queued/no-retry warning, but no sentence 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?

For a 7-parameter, non-idempotent, destructive, open-world mutation with no output schema, it covers identity selection, approval flow, return shape (success/message/task_id vs pending with api_agent_task_id), status-check routing, and the extension prerequisite. Nothing needed to call it correctly is missing.

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 already 100%, so the schema carries the field documentation. The description still adds cross-parameter meaning: which identity posts for each of post_id, actor_type company, and social_urn/url, and that social_urn or url are refused when user_email is passed.

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?

Opens with a specific verb and resource: "Post a public comment on a LinkedIn post." Immediately contrasts itself with linkedin_post_like, so an agent can distinguish it from the nearest sibling without opening a 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?

Gives explicit routing rules: prefer post_id when the post came from post_list, use social_urn or url otherwise, and switch to linkedin_post_like to like instead. It also names the approval prerequisite ("get their yes first"), which is a when-to-call condition, not just a description.

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