Skip to main content
Glama
mathieubernardi

meta-mcp-py

publish_page_photo_from_file

Upload a local image file directly to a Facebook Page as a photo post. Provide the page ID and file path, with optional caption and publish status.

Instructions

Publie une photo sur une Page Facebook depuis un fichier local (upload direct).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
captionNo
page_idYes
file_pathYes
publishedNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior2/5

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

No annotations are provided, so the description must carry the full burden of behavioral disclosure. The description only states what the tool does (publishes a photo), but does not mention side effects, authentication requirements, error conditions (e.g., file not found), or the nature of the operation (e.g., that it creates a post). It lacks disclosure about potential failures or prerequisites.

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?

The description is a single concise sentence that front-loads the key action and resource. It is efficient with no filler, though it could briefly mention parameters. Overall, it is well-structured for a short description.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

The tool has 4 parameters, 2 required, and an output schema, but the description provides no guidance on required inputs, expected behavior, or return value. It does not mention that page_id and file_path are required, nor how caption or published affect the outcome. This incompleteness is significant for a publishing tool with no annotations.

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

Parameters1/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 compensate for the undocumented parameters. The description only references a local file, which loosely maps to file_path, but it does not explain page_id, caption, or published semantics. An agent receives no guidance on how to fill these parameters correctly.

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 uses a specific verb ('Publie'), a clear resource ('une photo sur une Page Facebook'), and a source ('depuis un fichier local (upload direct)'). This clearly distinguishes it from sibling tools like publish_page_photo (which likely handles URL uploads) and publish_page_video_from_file (video vs photo). The purpose is unambiguous and differentiated.

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 when you have a local file and want to upload it directly, but it does not explicitly name alternatives or state conditions like 'use publish_page_photo for URL-based uploads'. It provides context ('from a local file') but no explicit when-to-use vs. when-not-to-use guidance.

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/mathieubernardi/Meta_Business_MCP'

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