Skip to main content
Glama

Like a comment

like_conversation

Sets the 'liked by us' state on a top-level comment thread (Instagram, Facebook or a LinkedIn Company Page; LinkedIn likes are made as the page). liked=true calls the platform's like endpoint and persists the state; liked=false unlikes. Only comment threads (thread_kind post_comments or video_comments) can be liked — DMs return an error. YouTube, Threads, Bluesky, Mastodon, Telegram and Google reviews can't be liked (LIKE_UNSUPPORTED); reply instead. The workspace's connection must hold the like scope (has_like_scope on list_inbox_connections). When it's missing the error includes a link for the user to open; don't retry until they have.

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": {
      "conversation_id": "<conversation_id>",
      "liked": "<liked>"
    },
    "name": "like_conversation"
  }
}

Input Schema

NameRequiredDescriptionDefault
likedYestrue to like, false to unlike.
workspace_idNoOptional. Auto-resolved from the conversation when omitted.
conversation_idYesThe dm_conversations.id to like/unlike. Get it from list_inbox_conversations.
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.6/5.0
Behavior4/5

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

Adds substantial behavior beyond the annotations: liked=true hits the platform like endpoint and persists state, DMs return an error, unsupported platforms return LIKE_UNSUPPORTED, and missing scope yields an actionable link plus a do-not-retry instruction. The one gap is that it does not say what the response contains or whether unliking is idempotent at the platform level, though the schema's idempotency_key partially covers retry semantics.

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?

Front-loaded with the core action, then constraints, then prerequisite — a sensible order. It is dense, with long semicolon-chained sentences and parentheticals, but nearly every clause carries actionable information.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a cross-platform mutation with no output schema, the description covers supported platforms, error codes, prerequisites, and retry policy — enough for an agent to call it correctly or route elsewhere. Nothing essential about calling it is left unstated.

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 real meaning to `liked` by explaining it triggers the platform's like endpoint and persists state rather than only flipping a local flag. It does not elaborate on workspace_id auto-resolution or idempotency_key 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?

States a specific verb and resource — setting the 'liked by us' state on a top-level comment thread — and immediately bounds the object type (post_comments/video_comments, not DMs). It also implicitly separates itself from the sibling like_message by restricting scope to threads rather than messages.

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?

Explicitly lists supported platforms (Instagram, Facebook, LinkedIn Company Page), the failure modes per platform, and the alternative action to take instead ('reply instead') for YouTube, Threads, Bluesky, Mastodon, Telegram and Google reviews. It also names the prerequisite (has_like_scope via list_inbox_connections) and says not to retry.

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.