Skip to main content
Glama

LinkedIn: Reply to comment

linkedin_reply_to_comment
Destructive

Reply DIRECTLY to one exact LinkedIn comment, not create a new top-level comment. Required chain from human reference: resolve post -> post.id -> list comments -> comment.id -> optionally read replies -> reply. Post ID: Exact provider/Unipile post id; LinkedIn commonly uses a preformatted/base64-style post ID. Obtain with: linkedin_search_posts -> result.id; linkedin_list_user_posts -> result.id; instagram_list_user_posts -> result.id Never pass: post text, author user ID, URL unless a resolver tool explicitly accepts it. Comment ID: Exact comment id scoped to the identified post. Obtain with: linkedin_list_post_comments(post_id) -> comment.id; instagram_list_post_comments(post_id) -> comment.id Never pass: comment text, post_id.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
textYesFinal reply text explicitly requested/approved by the user.
post_idYesExact post ID from post search/list. Post ID: Exact provider/Unipile post id; LinkedIn commonly uses a preformatted/base64-style post ID. Obtain with: linkedin_search_posts -> result.id; linkedin_list_user_posts -> result.id; instagram_list_user_posts -> result.id Never pass: post text, author user ID, URL unless a resolver tool explicitly accepts it.
account_idNoOptional Nilyo connection ID (unipile_account_id from list_connected_accounts). Omit when the user has one account for this provider. When several exist, Nilyo never guesses: list them (display name, identifier, provider user ID), choose the one the user named or ask, and pass its ID here.
comment_idYesExact comment ID from comments of the resolved post. Comment ID: Exact comment id scoped to the identified post. Obtain with: linkedin_list_post_comments(post_id) -> comment.id; instagram_list_post_comments(post_id) -> comment.id Never pass: comment text, post_id.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior3/5

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

The annotations already declare destructiveHint=true and readOnlyHint=false, so the write nature is covered. The description adds that it replies 'DIRECTLY' and not a top-level comment, which is more about purpose than side effects. It doesn't disclose what happens on success (e.g., whether a reply object is returned) or any failure modes. Given the annotations cover the safety profile, the description adds moderate value but not rich behavioral detail.

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 description is long but well-structured: it front-loads the core purpose, then presents the required chain, then gives ID-specific guidance. It is dense with actionable information and avoids filler. However, it repeats the ID guidance that already exists in the schema, which adds redundancy. Still, given the tool's complexity, the length is justified.

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?

The tool is complex, requiring exact IDs from a multi-step chain. The description covers the full chain, how to obtain each ID, and what not to pass. It also includes the optional account_id in the schema (though not in the description). No output schema exists, but for a write operation that's acceptable. The description lacks explicit error handling or success indication, but given the complexity, it is substantially complete.

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 contains the exact guidance for post_id and comment_id, duplicating the description's text. The description adds the overall resolution chain, but for individual parameters it provides no new information beyond the schema. The account_id parameter is not mentioned in the description at all, but the schema covers it. Thus, the description adds minimal value over the schema, earning the baseline 3.

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 clearly states the tool's purpose: to reply directly to one exact LinkedIn comment, explicitly distinguishing it from creating a new top-level comment. It names the verb 'reply' and the resource 'comment', and differentiates from the sibling linkedin_comment_on_post by its 'not create a new top-level comment' clause. This is specific and unambiguous.

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?

The description provides explicit usage guidance: it gives the required resolution chain (resolve post -> list comments -> reply), states what to obtain and how (via linkedin_search_posts, linkedin_list_user_posts, etc.), and explicitly forbids passing post text, author user ID, or URL unless a resolver accepts them. It also distinguishes from the top-level comment tool. This is thorough and leaves no ambiguity about when to use this tool.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.