Skip to main content
Glama

Comment On Post

comment_on_post
Destructive

Post a public comment on a LinkedIn post. Verify the comment box is reachable with a dry run before publishing the exact text.

Instructions

Post a first-level comment on a LinkedIn post.

The tool is annotated with destructiveHint so MCP clients will prompt for user confirmation before execution. This publishes the signed-in account's own words under someone else's post — it is public and permanent in every practical sense, which is why it never runs without confirm_comment=True.

With confirm_comment=False this does a dry run: it navigates to the post, verifies LinkedIn exposes a usable comment box, and reports back without writing anything. No draft text is left behind, so the call is safe to make first to check reachability before committing the words.

Keep each comment's own wording distinct from the others you post in a session. Identical or near-identical text under several posts within a short window reads as spam to LinkedIn regardless of how slowly it was typed, and that is the fastest way this tool can earn a restriction.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
commentYesThe exact text to publish as the signed-in account's own words. It is posted verbatim; nothing is rewritten.
post_urlYesThe permalink of the single post to comment on. Both of LinkedIn's forms are accepted — /posts/<slug> (as reported in get_feed or search_posts references) and /feed/update/urn:li:activity:<id>/ — from a full URL, a missing scheme, or a site-relative path.
confirm_commentYesMust be True to post. False returns confirmation_required after verifying the comment box exists.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior5/5

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

Beyond the destructiveHint annotation, the description explains what 'destructive' means here: the comment is public and permanent, and it will not run without explicit confirmation. It also discloses dry-run behavior, that no draft text is left behind, and the real risk of LinkedIn restrictions from near-duplicate comments. All of this adds 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?

The description is front-loaded with the core purpose, then each subsequent sentence earns its place: safety model, dry-run workflow, and spam-risk warning. It is longer than a one-liner but every section adds actionable information, with no filler or repetition of schema details.

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?

Given the input schema is fully covered, an output schema exists, and the annotations flag destructiveness, the description adds exactly the missing operational context: how confirmation gates publishing, what the dry run does, and the behavioral consequences of misuse. An agent has enough to invoke the tool safely and correctly.

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 description coverage is 100%, and the schema already documents all three parameters thoroughly, including URL formats and the confirm_comment boolean semantics. The description reinforces these points but does not add substantial new meaning beyond what the parameter descriptions already state, so the baseline of 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?

The description opens with 'Post a first-level comment on a LinkedIn post', which names a specific verb, resource, and scope. It clearly distinguishes this from sibling tools like send_message, connect_with_person, or get_feed, and the qualifier 'first-level' adds precision about the kind of interaction.

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 description gives concrete usage guidance: confirm_comment=False performs a dry run to verify the comment box exists before committing, and the tool never runs without confirm_comment=True. It does not explicitly name alternatives or say when not to use this tool, but the practical workflow (dry run first, then confirm) is clearly conveyed.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/larscolombia/lubot-hunter-mcp-2026'

If you have feedback or need assistance with the MCP directory API, please join our Discord server