Skip to main content
Glama

linkedin_list_comments

Read-only

Lists comments on a LinkedIn post or replies to a specific comment using its commentUrn, so you can review and analyze LinkedIn discussions.

Instructions

List comments on a LinkedIn post, or replies to a comment (pass the comment's commentUrn as target).

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": {
      "target": "<target>"
    },
    "name": "linkedin_list_comments"
  }
}

Input Schema

NameRequiredDescriptionDefault
countNo
startNo
targetYesPost URN, or a commentUrn like urn:li:comment:(urn:li:activity:1,2) to list its replies

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true and openWorldHint=true, so safety is covered. The description adds the non-obvious behavioral fact that the same tool switches to reply-listing when given a commentUrn, but says nothing about result ordering, pagination, or volume limits that matter for a list operation.

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?

A single front-loaded sentence covering both modes with zero filler. The branching condition is appended directly to the primary purpose rather than buried.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a simple 3-parameter list tool with no output schema, the description covers the two targeting modes but omits pagination behavior and what the response contains. An agent could call it, yet would not know how to page through results or what fields to expect.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is only 33% (only target is documented), so the description needs to compensate but largely does not: it restates the target semantics already in the schema and leaves count (max 100) and start (offset) entirely unexplained in both schema and description. The pagination parameters, which materially change results, have no semantics anywhere in the definition.

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?

States a specific verb ('List') and resource ('comments on a LinkedIn post'), plus a second mode (replies to a comment). The platform prefix distinguishes it from facebook_list_comments/instagram_list_comments without needing the schema, though no explicit contrast with siblings like linkedin_get_post is drawn.

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?

Gives clear context for both invocation modes: list comments on a post, or pass a commentUrn as target to list that comment's replies. That conditional routing is genuine usage guidance, but there is no when-not guidance or mention of alternatives for retrieving comments.

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