Skip to main content
Glama

Like/Unlike Post or Comment

meta_like_object
Idempotent

Like or remove a like from a Facebook Page post or comment by providing object ID and page ID. Set unlike to true to remove a like.

Instructions

Likes or removes a like from a page post or comment, acting as the Page.

Args:

  • object_id (string): Post ID or Comment ID

  • page_id (string): Page ID (for token)

  • unlike (boolean): If true, removes the like instead

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
object_idYesPost ID or Comment ID
page_idYes
unlikeNo
Behavior3/5

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

Annotations already declare readOnlyHint=false, destructiveHint=false, idempotentHint=true. The description adds 'acting as the Page' and parameter details, but does not clarify behavior on repeated calls (e.g., liking an already-liked post) or rate limits. Some additional context is provided but not comprehensive.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is very concise, with a clear purpose sentence followed by bullet-style parameter definitions. No unnecessary words.

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 simple toggle action with no output schema, the description covers inputs and behavior adequately. It mentions acting as Page, which is important context. Could be improved by noting the return value or error cases, but overall complete.

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 description coverage is only 33% (only object_id described). The description compensates by providing clear explanations for all three parameters (object_id, page_id, unlike), adding significant value beyond the schema.

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?

The description clearly states the action (like/unlike) and the resource (page post or comment), distinguishing it from sibling tools like create_post or delete_comment. The title also reinforces this.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

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

The description implies when to use (to like/unlike a post/comment as a Page) but does not explicitly provide when-not-to-use or alternatives. No exclusionary guidance given.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/oliverames/meta-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server