Skip to main content
Glama

Block/Unblock User from Page

meta_block_user
Idempotent

Block or unblock a Facebook Page user to control who can post or comment. Specify the page and user, with optional unblock flag.

Instructions

Blocks or unblocks a user from a Facebook Page. Blocked users cannot post or comment.

Args:

  • page_id (string): Facebook Page ID

  • user_id (string): User ID to block/unblock

  • unblock (boolean): If true, unblocks the user instead

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
page_idYes
unblockNo
user_idYes
Behavior4/5

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

Annotations already declare readOnlyHint=false and idempotentHint=true, indicating this is a mutating, idempotent operation. The description adds value by explaining the effect ('Blocked users cannot post or comment') and the reversible nature via the 'unblock' parameter. No contradictions with annotations.

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 remarkably concise: two sentences plus a compact args list. The purpose is front-loaded, and every sentence adds essential information without unnecessary fluff. It avoids repetition and stays efficient.

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?

Given no output schema, the description adequately covers what the tool does and its parameters, but lacks details on expected return values (e.g., success/failure response) and any permission requirements. Still, for a simple blocking operation, it is sufficiently complete for correct invocation.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, so the description must fully document parameters. It does: 'page_id (string): Facebook Page ID', 'user_id (string): User ID to block/unblock', and 'unblock (boolean): If true, unblocks the user instead'. This adds meaning beyond type definitions, making parameter usage unambiguous.

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 exact operation: 'Blocks or unblocks a user from a Facebook Page.' It identifies the resource (Facebook Page) and the specific action (block/unblock user), plus the result ('Blocked users cannot post or comment'). This distinguishes it from sibling read-only tools like meta_get_blocked_users and other page management tools.

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 usage for blocking or unblocking users but does not explicitly state when to use it versus alternatives, such as meta_get_blocked_users for listing blocked users, or when not to use it (e.g., requiring page admin permissions). There is no mention of prerequisites or exclusions, leaving some inference to the agent.

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/open-work-org/open-mcp-servers'

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