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.5/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent and non-destructive, so safety is covered. The description adds the meaningful behavioral context of an auth prerequisite ('Requires a connected LinkedIn account') and the chaining workflow. It doesn't discuss pagination behavior, but that is documented on the cursor parameter.

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?

Three tight sentences: purpose first, then the chaining instruction, then the auth requirement. Every sentence earns its place and nothing is redundant.

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?

Complete for a read-only list tool: purpose, prerequisite, and the upstream workflow are all present. With no output schema required to be explained and full schema coverage of inputs, an agent has everything needed to call it 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%, so all three parameters are already documented, including cursor semantics and URN sourcing. The description reinforces which parentCommentId to pick, but adds little beyond what the schema text already says. Baseline 3 applies when the schema carries the detail.

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?

Specific verb (Get) plus resource (nested comments/replies) and scope (under a specific comment on a LinkedIn post). It clearly distinguishes itself from the sibling linkedin_get_post_comments, which returns top-level comments.

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?

Explicitly states when to use it ('Chain this after linkedin_get_post_comments') and the exact selection condition ('pick a comment where replyCount > 0'). The alternative and the routing rule are both named, leaving nothing 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.

Resources