Skip to main content
Glama

linkedin_create_comment

Post a public comment or reply on a LinkedIn post as your profile or company page; confirm the exact text before publishing.

Instructions

Comment on a LinkedIn post, or reply to a comment, as your profile or the company page. Public and real — confirm the text with the user first.

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": {
      "postUrn": "<postUrn>",
      "text": "<text>"
    },
    "name": "linkedin_create_comment"
  }
}

Input Schema

NameRequiredDescriptionDefault
textYes
authorNoWho posts or acts: "person" (your profile), "organization" (the configured company page) or a full urn:li:… URN. Defaults to the company page when one is configured, otherwise your profile.
postUrnYesPost URN, as returned by linkedin_create_post or linkedin_list_posts
replyToNocommentUrn of the comment to reply to (from linkedin_list_comments)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=false and destructiveHint=false, so the description's added value is the disclosure that the output is publicly visible and effectively irreversible, plus the required user-confirmation step. It also clarifies that the action can be performed as a person or a company page, which is meaningful behavioral context beyond the annotations.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two sentences, both load-bearing: the first establishes the action and modes, the second the safety requirement. The most important operational warning is placed last for emphasis without wasted words.

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 4-parameter mutation tool with no output schema, the description covers the action, the actor choice, the reply variant, and the confirmation requirement. It omits what the call returns (e.g., a comment URN) and any rate-limit or permission notes, which keeps it just below fully complete.

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 75%, and the description still adds meaning: 'as your profile or the company page' explains the author parameter's intent, and 'reply to a comment' signals the replyTo mode. It does not restate formats or URN requirements, but those are already documented in the schema.

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 description uses a specific verb and resource ('Comment on a LinkedIn post, or reply to a comment') and covers both operating modes, which separates it from linkedin_create_post and the delete/hide siblings. It stops short of naming any sibling explicitly, so the differentiation is implied by the action rather than stated.

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?

It gives a concrete usage instruction: confirm the text with the user before calling, because the result is 'Public and real'. That is real when-to-use guidance. It offers no exclusions or named alternatives (e.g., when to prefer a reply over a top-level comment), so it falls short of a 5.

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