Skip to main content
Glama

Confirm and execute a staged action

confirm_action

Execute a previously approved Facebook write action using a single-use token, then verify the change on Facebook.

Instructions

Execute a previously staged write action. This is the ONLY tool in this server that changes anything on Facebook. Call it only after the user has seen the preview and explicitly approved that exact content. Tokens are single-use and expire. The result reports whether the action was verified on Facebook afterwards — a status of "unverified" means it may or may not have gone through, and must not be reported to the user as success.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
fingerprintNoOptional: the fingerprint from the staged action, checked against the payload
confirmation_tokenYesThe token returned by the staging tool
Behavior5/5

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

The description goes well beyond the annotations. While the annotations indicate readOnlyHint=false, the description adds critical behavior: tokens are single-use and expire, and the verification result may be 'unverified' meaning the action 'may or may not have gone through' and must not be reported as success. This is exactly the kind of nuanced behavioral context an agent needs. No contradiction 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 two sentences with no filler. It front-loads the core function ('Execute a previously staged write action'), then packs essential usage constraints and result interpretation into a compact second sentence. Every clause earns its place.

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?

Despite having no output schema, the description explains what the result reports ('verified' vs 'unverified') and how to handle the ambiguous case. It covers prerequisites (user approval of exact content), token usage constraints, and the scope of the tool ('only tool that changes anything'). This is sufficiently complete for a tool with two simple parameters and a nuanced side effect.

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% for both parameters, so the baseline is 3. The description adds value by explaining the token lifecycle (single-use, expires) and the verification outcome associated with the confirmation_token. It also implies the fingerprint is tied to the staged payload. This supplements the schema descriptions without fully re-explaining each parameter, so a 4 is appropriate.

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 function: 'Execute a previously staged write action.' It also identifies the exact resource (previously staged actions) and distinguishes the tool from siblings by noting it is 'the ONLY tool in this server that changes anything on Facebook.' This is a specific verb+resource pairing with strong differentiation.

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?

The description provides explicit when-to-use guidance: 'Call it only after the user has seen the preview and explicitly approved that exact content.' It also implies when not to use by stating the tool is the only one that changes anything, leaving staging to sibling tools. Token expiry and single-use behavior are also stated as usage constraints.

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/Mrshahidali420/facebook-web-mcp'

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