Skip to main content
Glama

Reach MCP — LinkedIn for AI agents

scrape_post

Read-onlyIdempotent

Fetch likers and/or commenters for a LinkedIn post. Pass the full post URL or slug. Set liked=true and/or comments=true. Use to get the people who liked or commented on one post you have the URL of; for the account's own recent posts use scrape_my_posts. Counts against the imports quota.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
likedNoInclude likers.
commentsNoInclude commenters.
account_idYesReach id of the LinkedIn account to act on, from list_accounts.
post_id_or_urlYesLinkedIn post URL (incl. lnkd.in short links) or slug.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
itemsNo
post_idNo
total_likesNo
total_commentsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / post_id_or_url / description
      Previous value: -"LinkedIn post URL or slug."New value: +"LinkedIn post URL (incl. lnkd.in short links) or slug."
  2. First observed

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and openWorldHint, so the safety profile is covered. The description adds a genuinely new behavioral fact: the call 'Counts against the imports quota', which tells the agent about a cost not visible in structured fields. It stops short of describing pagination or result volume.

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 target, then routing, then cost. The liked/comments flag sentence overlaps with what the schema already says, which is the only mild redundancy.

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 tool with an output schema and rich annotations, the description covers action, routing, flags, and quota cost, which is enough to call it correctly. Return-shape and pagination details are legitimately delegated to the output schema.

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%, with each parameter already documented (including lnkd.in short links). The description restates the liked/comments toggles and the URL-or-slug input without adding syntax, format, or constraint detail beyond the schema. Baseline 3 is appropriate when the schema carries the semantics.

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 and resource ('Fetch likers and/or commenters for a LinkedIn post') and scopes the target precisely to a single post. It also names the sibling scrape_my_posts and the condition that separates the two, so an agent can route without opening either schema.

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?

Gives explicit when-to-use guidance ('one post you have the URL of') and names the alternative tool (scrape_my_posts) with the differentiating condition (the account's own recent posts). Optional flag usage (liked=true and/or comments=true) is also spelled out.

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