Skip to main content
Glama

Get a person's LinkedIn comments and reactions

get_linkedin_activity

Fetch what one person did recently on other people's posts: with type=comments, the comments they wrote and when; with type=reactions, the posts they reacted to and how. Each item carries the post, with its author and counts, when they did it, and for a comment its own comment_url, which opens the post at that comment. The newest first, up to 100 a page, with next_cursor for older ones. Use this for sales signals: who a prospect engages with, and on what. Give exactly one of url or vanity_name. Costs 7 credits, cached or not; a failed call is refunded.

Input Schema

NameRequiredDescriptionDefault
urlNoThe person's public profile URL. A member-id link (`/in/ACoAA…` or `/in/ACwAA…`), as reactions and Sales Navigator give, works too.
typeNoTheir comments, or their reactions.comments
freshNoSkip the cache and fetch now. Charged normally. Not available on trial credits — buy any pack to unlock it.
cursorNoThe `meta.next_cursor` from the previous page. Omit for the first page.
vanity_nameNoThe part after `/in/` in their public URL. A member id (`ACoAA…`) works too.
posted_withinNoOnly comments from the last day, week or month. With `type=comments` only.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.3/5.0
Behavior4/5

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

With no annotations, the description carries the full burden, and it does substantial work: it discloses the returned payload's shape (post, author, counts, timestamp, `comment_url`), ordering and page size ('newest first, up to 100 a page, with `next_cursor`'), caching behavior, and cost/refund policy ('7 credits, cached or not; a failed call is refunded'). It still omits auth requirements, rate limits, and behavior for nonexistent or private profiles.

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?

One dense but well-ordered paragraph: scope first, then per-type behavior, then payload, then pagination, then purpose, then input rule, then cost. Every sentence earns its place, though the credit/caching information is partially duplicated by the `fresh` parameter description.

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 6-parameter, unannotated tool with no output schema, the description compensates well by describing the return shape, pagination, and billing. The remaining gap is operational context an agent may need before calling: authentication requirements and failure modes other than credit refund.

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

Parameters4/5

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

Schema coverage is 100%, so the baseline is 3, but the description adds constraints the schema cannot express: the mutual exclusivity of `url` and `vanity_name` (required is empty, so the schema itself permits both or neither), and that `posted_within` only applies with `type=comments`. These are real, decision-relevant additions.

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 specific verb+resource with an explicit scope: 'what one person did recently on other people's posts', split by `type=comments` vs `type=reactions`. This implicitly separates it from person-agnostic siblings like get_linkedin_post_comments and get_linkedin_post_reactions, which operate on a single post rather than a single person.

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 a concrete use case ('sales signals: who a prospect engages with, and on what') and a hard input rule ('give exactly one of `url` or `vanity_name`'), which orients the agent well. It does not, however, name an alternative sibling or state when not to use it (e.g. use get_linkedin_post_comments when you already have the post).

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.