Skip to main content
Glama
anthonyjbolo

io.github.anthonyjbolo/mcp-fb-publisher

by anthonyjbolo

fb_anti_duplicate_check

Check if a candidate message duplicates recent Facebook page posts by comparing 4-gram Jaccard similarity. Returns duplicate flag and closest matching post.

Instructions

Compare a candidate message against recent posts on the page.

Args: page_id: Numeric Meta Page ID. message: Candidate text to score. lookback_days: Max age of posts to compare against (default 14). similarity_threshold: Jaccard threshold above which it's "too similar" (default 0.5; 0.0=identical, 1.0=nothing in common — careful, that's inverted intuitively. 0.5 = ~half the 4-grams overlap). page_access_token: Optional page-scoped token.

Returns: Dict with is_duplicate, closest_post_id, closest_similarity, posts_compared, lookback_days.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
page_idYes
messageYes
lookback_daysNo
similarity_thresholdNo
page_access_tokenNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior4/5

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

No annotations provided, so description carries full burden. Discloses inverted similarity threshold and Jaccard method, but does not mention read-only nature or when page_access_token is required.

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

Conciseness4/5

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

Well-structured with Args/Returns, front-loaded main purpose. Some verbosity around threshold is justified but could be tightened.

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?

Covers all parameters and return values (output schema exists). Minor gaps: missing behavior for empty recent posts and auth token necessity.

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?

All 5 parameters are described with details beyond schema (e.g., 'numeric Meta Page ID', Jaccard explanation). Schema coverage is 0%, so description compensates fully.

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?

Clearly states 'compare a candidate message against recent posts on the page', specifying action and resource. Distinct from sibling tools (generating, publishing, validating).

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?

Usage is implied (pre-publish duplicate check) but no explicit when-to-use or alternatives. Sibling tools are different, so no direct competition, but guidance could be stronger.

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/anthonyjbolo/mcp-fb-publisher'

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