Skip to main content
Glama
ishan-parihar

facebook-lyr

Delete Post

delete_post
Destructive

Deletes a specified Facebook post owned by the identity after confirmation. Clearly reports errors when the post is unavailable or deletion is disabled.

Instructions

Delete one of the active (or specified) identity's own posts.

Checks the identity's posting limits, records the attempt, and deletes through the delete.php confirm flow. Fails honestly if the post is not available (already deleted) or deletion is decommissioned.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
confirmNoMust be true to delete
post_idYesNumeric post id of a post owned by the identity
account_idNoOptional stored identity id to delete as (default: active)

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior5/5

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

Beyond the destructiveHint annotation, the description discloses concrete behaviors: checks posting limits, records the attempt, uses a confirm flow (delete.php), and fails honestly for already-deleted or decommissioned deletions. This is rich, non-redundant behavioral context.

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 sentences, front-loaded with the primary action, and every sentence adds meaningful information. No filler or redundancy.

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 an output schema present and destructiveHint annotation, the description covers purpose, scope, process, side effects, and failure modes. It does not explicitly state that confirm=true is required, but the schema covers that. Overall, it is sufficiently complete for a delete operation.

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 clear per-parameter descriptions. The description's mention of 'confirm flow' hints at the confirm parameter but does not add meaning beyond what the schema already provides. Baseline 3 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?

Description states a specific verb+resource: 'Delete one of the active (or specified) identity's own posts.' This clearly distinguishes from sibling tools like save_post, unsave_post, and delete_message, and specifies the scope (own posts).

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?

The context is clear: use to delete posts owned by the active or specified identity. It does not explicitly name alternatives or when-not conditions, but the scope restriction is evident and provides a clear usage boundary.

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/ishan-parihar/facebook-lyr'

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