Skip to main content
Glama

Like a comment reply

like_message

Sets the 'liked by us' state on a nested comment reply (a dm_messages row inside a comment thread on Instagram, Facebook or a LinkedIn Company Page). Same semantics as like_conversation but scoped to a reply row: liked=true likes on the platform + persists, liked=false unlikes. DMs and reply rows on YouTube, Threads, Bluesky, Mastodon, Telegram and Google reviews can't be liked (returns an error).

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": {
      "message_id": "<message_id>",
      "liked": "<liked>"
    },
    "name": "like_message"
  }
}

Input Schema

NameRequiredDescriptionDefault
likedYestrue to like, false to unlike.
message_idYesThe dm_messages.id to like/unlike. Get it from get_conversation_messages.
workspace_idNoOptional. Auto-resolved from the message when omitted.
idempotency_keyNoOptional client-generated key (e.g., a UUID) to make retries safe. Identical calls with the same key within 10 minutes return the original result instead of running the write twice.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

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 and destructiveHint=false, so the description's contribution is the platform-side effect: liked=true performs the like on the platform and persists it, liked=false reverses it. It also discloses the failure mode (unsupported platforms return an error), which annotations do not cover. It does not describe the response payload, though the schema documents an idempotency key that bounds retry behavior.

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?

Three sentences, front-loaded with the effect and the row type, followed by sibling scoping and the platform exclusion list. The parenthetical explaining dm_messages rows is slightly heavy but earns its place by disambiguating the resource. No filler sentences.

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 two-required-parameter boolean toggle with no output schema and a fully documented input schema, the description covers the effect, the scope, the sibling relationship, and the error cases. The only gap is what a successful call returns, which is a minor omission given the schema and annotations already carry most of the contract.

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 four parameters are already documented, including the liked boolean semantics and the idempotency key window. The description only restates the liked=true/false meaning already in the schema and adds no new detail about message_id resolution or workspace_id auto-resolution. 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: sets the 'liked by us' state on a nested comment reply, explicitly identifying the underlying row type (dm_messages) and supported platforms. It also names the sibling it mirrors (like_conversation) and states the scoping difference, so an agent can distinguish the two 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 Guidelines4/5

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

The 'Same semantics as like_conversation but scoped to a reply row' sentence effectively routes the agent between the two siblings, and the description adds an explicit when-not: DMs and reply rows on YouTube, Threads, Bluesky, Mastodon, Telegram and Google reviews return an error. It stops short of an explicit 'use like_conversation for top-level comments' instruction, leaving that inference to the reader.

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.