Skip to main content
Glama

Reach MCP — LinkedIn for AI agents

unlike_post

Idempotent

Remove the connected account's like from a LinkedIn post (as the member; not a page's like). Use to take back a like the account gave a post, when the user asks; as the member only. Counts against the daily reactions quota.

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": {
      "account_id": "<account_id>",
      "post_url_or_urn": "<post_url_or_urn>"
    },
    "name": "unlike_post"
  }
}

Input Schema

NameRequiredDescriptionDefault
account_idYesReach id of the LinkedIn account to act on, from list_accounts.
idempotency_keyNoOptional. A key you choose (a UUID is fine) that names this exact call. If you retry with the same key and the same arguments, the first call's result is returned and nothing is done twice on LinkedIn. Reusing a key with different arguments is refused. Keys expire after 24 hours.
post_url_or_urnYesLinkedIn post URL, slug, urn:li:activity:…, or the post_urn (urn:li:ugcPost:… / urn:li:share:…) of the other tools.

Output Schema

NameRequiredDescriptionDefault
likedNoFalse once the like is removed

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=false, destructiveHint=false and idempotentHint=true, so the description earns credit for what it adds: the operation consumes the daily reactions quota, a real operational constraint an agent should weigh before retrying. The member-vs-page scoping is also substantive behavior, not a restatement of annotations.

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?

Two compact sentences, front-loaded with the core action and then the usage condition. Minor redundancy from stating the member-only scope twice ("as the member; not a page's like" and again "as the member only").

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 an output schema present, fully documented parameters, and annotations covering safety and idempotency, the description supplies the remaining operational piece — quota consumption — and the member/page scope. Nothing essential for a correct call is missing, though noting the inverse relationship to like_post would fully close the loop.

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 coverage is 100%, so account_id, idempotency_key and post_url_or_urn are fully documented in the schema with lookup hints and accepted formats. The description adds no parameter-level meaning beyond that, so the baseline 3 applies.

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 — removing a like from a LinkedIn post — and immediately scopes it as the member's like rather than a page's like. An agent can distinguish it from like_post or unlike_comment without opening the schema.

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?

"Use to take back a like the account gave a post, when the user asks; as the member only" gives clear activation context and a member-only constraint. It stops short of naming the counterpart tool (like_post) as the inverse, but the condition for use is unambiguous.

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