Skip to main content
Glama

LinkedIn post comments

linkedin-comments
Read-only

Read top-level comments from one public LinkedIn post URL. Get comment text, dates, like counts and reply counts as JSON. Use it to understand questions and reactions around an announcement or discussion. Commenter identities and nested replies are not returned. Not offered on Solana: pay on Base or Polygon.

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": {
      "url": "<url>"
    },
    "name": "linkedin-comments"
  }
}

Input Schema

NameRequiredDescriptionDefault
urlYesLinkedIn post URL or /feed/update/urn:li:activity:... URL
limitNonumber of comments wanted, 1 to 20 (default 5). A larger value is lowered to 20 and 0 or a negative one means the default; the quote follows the value used.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already declare readOnly, openWorld and non-destructive, so the safety profile is covered; the description still adds real value by disclosing the exact response shape (text, dates, like counts, reply counts) and two important limitations — no commenter identities and no nested replies. It also flags a payment/chain constraint (Base or Polygon, not Solana), which annotations do not express. Pagination or rate-limit behavior is the main omission.

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?

Four short sentences, front-loaded with the action and scope, then return contents, then limitations. Every sentence carries information an agent needs; the payment-chain sentence is slightly tangential to the tool's function but still conveys a real invocation constraint.

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?

With only two parameters, no output schema and full schema coverage, the description supplies what is missing: what fields come back, what is deliberately excluded, and a billing/chain caveat. An agent can call this correctly without further information; only pagination and result-volume behavior are left unstated.

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%, including the clamping behavior of 'limit' and the accepted URL forms, so the schema carries the parameter burden. The description adds only the qualitative constraint that the URL must be a 'public' post, which is a small but genuine supplement. Baseline 3 is appropriate.

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?

States a precise verb and resource ('Read top-level comments from one public LinkedIn post URL') and immediately narrows scope with 'top-level', which separates it from any nested-reply or full-post tool. It also names the returned fields, so an agent knows exactly what artifact this produces versus linkedin-posts or linkedin-post-search.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Provides one intended use case ('understand questions and reactions around an announcement or discussion'), which implies when to reach for it. However, it never names an alternative or an exclusion — nothing tells the agent to use linkedin-posts when it wants the post body, or facebook-comments/instagram-comments for other platforms. Usage is implied rather than directed.

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