Skip to main content
Glama

Facebook / Messenger: Cancel friend request

facebook_cancel_friend_request
Destructive

Cancel/reject the selected sent/received friend request. External action: preserve explicit user approval. Never retry after an uncertain failure; inspect current state first.

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": {
      "request_id": "<request_id>"
    },
    "name": "facebook_cancel_friend_request"
  }
}

Input Schema

NameRequiredDescriptionDefault
account_idNoOwned Facebook unipile_account_id from list_connected_accounts. Not a Facebook person or Page ID. Required when several Facebook accounts exist.
request_idYesExact request.id from facebook_list_friend_requests, not an invented person ID.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.1/5.0
Behavior5/5

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

Goes well beyond the annotations by explaining the external-action/approval requirement and the no-retry-after-uncertain-failure rule, which directly motivates the non-idempotent and destructive hints. This is exactly the operational context an agent needs before firing a destructive social action.

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?

Three short sentences, front-loaded with the action, then safety guidance. No filler or repetition of schema content.

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 annotations carrying safety semantics, schema covering both parameters, and no output schema to explain, the description supplies the missing operational behavior (approval, no retry). Only sibling-level routing is left implicit.

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%, with request_id and account_id both documented in-schema (including the warning not to invent person IDs). The description adds no parameter-level information, so the baseline 3 applies.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb (cancel/reject) and resource (sent/received friend request), which is more precise than the title alone. It does not explicitly distinguish itself from near siblings like facebook_accept_friend_request or facebook_remove_friend, but the verb pairing is unambiguous enough for selection.

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?

"Preserve explicit user approval" and "inspect current state first" give concrete preconditions for invoking, which is real usage guidance. It stops short of naming the alternatives (accept vs. remove friend vs. list requests) that an agent would compare against.

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.