Skip to main content
Glama

LinkMCP: hosted LinkedIn MCP server

Get Nested Comments

linkedin_get_nested_comments
Read-onlyIdempotent

Get nested comments (replies) under a specific comment on a LinkedIn post. Chain this after linkedin_get_post_comments: pick a comment where replyCount > 0 and pass its commentId here to fetch the replies. Requires a connected LinkedIn account.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
cursorNoContinuation cursor from a previous call. Pass this to fetch the next batch of nested comments.
activityUrnYesThe post's activity URN (e.g. "urn:li:activity:7404116397871607808") or a LinkedIn post URL. Obtain from linkedin_get_post_comments or linkedin_get_person_posts output.
parentCommentIdYescommentId of the parent comment whose replies you want to fetch. Use a commentId from linkedin_get_post_comments output where replyCount > 0.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false, idempotentHint=true, and openWorldHint=true, so the safety profile is covered. The description adds useful behavioral context by noting a connected LinkedIn account is required, but it does not disclose pagination behavior or return shape beyond what the cursor schema implies.

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 tight sentences with no waste; the core action is front-loaded, followed immediately by the chaining instruction and the auth prerequisite. Every sentence earns its place.

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 read-only nested-comment fetch with full parameter descriptions and strong annotations, the description covers purpose, chaining, and account requirements well. It does not explain return values or pagination, but with a rich input schema and no output schema the remaining gap is minor.

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%, so the schema already documents cursor, activityUrn, and parentCommentId thoroughly. The description reinforces the parentCommentId selection condition (replyCount > 0), but this largely duplicates what the schema already says, so it merits the baseline 3 rather than a higher score.

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 states a specific verb and resource (get nested replies under a specific comment) and explicitly differentiates from the sibling linkedin_get_post_comments by framing itself as the follow-up step. An agent can immediately tell what this tool does and when it applies.

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?

It gives explicit chaining instructions: call this after linkedin_get_post_comments, pick a comment where replyCount > 0, and pass its commentId. This is exactly when-to-use guidance tied to a named sibling, leaving little to inference.

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.