Skip to main content
Glama

Reach MCP — LinkedIn for AI agents

unlike_comment

Idempotent

Remove the connected account's like from a comment or a reply (as the member; not a page's like). Use to take back a like the account gave a comment, 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>",
      "comment": "<comment>"
    },
    "name": "unlike_comment"
  }
}

Input Schema

NameRequiredDescriptionDefault
commentYesThe comment, in any form like_comment takes.
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.

Output Schema

NameRequiredDescriptionDefault
likedNoFalse once the like is removed
comment_urnNoThe comment as urn:li:comment:(…)

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, idempotentHint=true, and destructiveHint=false, so the safety profile is partly covered. The description adds genuinely new context: the call counts against a daily reactions quota, and it must be executed as a member rather than a page identity — both are operationally relevant facts not present in the structured fields.

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?

The core action and its scope are front-loaded in the first clause, and the second sentence adds the usage trigger and quota note. There is minor redundancy, though: the member-versus-page restriction appears twice ('not a page's like' and '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 and full schema coverage, the description needn't explain return values, and it does supply the two non-obvious operational constraints (member identity, daily quota). It does not say what happens when no like exists to remove, which is the one behavioral case an agent might still need.

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%, so all three parameters are documented in the input schema (including the idempotency key semantics). The description adds a small amount of meaning for account_id by restricting it to member identities rather than pages, but adds nothing about the comment reference format beyond what the schema already states.

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?

Specific verb+resource: 'Remove the connected account's like from a comment or a reply', with an explicit scope qualifier '(as the member; not a page's like)'. An agent can distinguish it from unlike_post (posts) and like_comment (the inverse action) without opening any 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 comment, when the user asks' gives a clear triggering condition, and the member-only constraint further narrows applicability. It stops short of naming unlike_post or like_comment as the alternatives for other resource types, so routing for the post case is left implicit.

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