Skip to main content
Glama
pendpost

pendpost

Official

set_cover

Set a custom cover image for a social media post by extracting a video frame, uploading a local file, or providing base64 image data. Returns per-platform applicability.

Instructions

Set a cover override for one post: extract a frame from the post's media (frameSec), or re-encode a repo-local image (filePath) or base64 bytes. Materializes data/plans//covers/.jpg and writes post.cover; returns a per-platform applicability map (what the engines can actually apply - IG frame-only at publish, FB Reels + YouTube at publish and post-hoc, LinkedIn upload-ceremony-only).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
base64NoBase64-encoded JPEG/PNG/WebP bytes (max 4 MB)
postIdYesPost id, e.g. r06
campaignYesCampaign id from plan_list
clientIdNoOptional client id to scope this call (defaults to the active client)
filePathNoRepo-relative or absolute path to a JPEG/PNG/WebP inside the repo
frameSecNoExtract this second of the post's own video as the cover (clamped to duration)
Behavior1/5

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

The description states the tool materializes files and writes post.cover, which is a destructive action. However, annotations set destructiveHint=false, creating a contradiction. The description does not reconcile this, so transparency is poor.

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 composed of two long sentences that are dense but clear. It front-loads the main action and includes all necessary information without excessive verbosity. Minor improvement could be splitting into shorter sentences.

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?

Given the tool has 6 parameters (2 required) and no output schema, the description fully explains the action, parameter roles, side effects (file materialization), and return value (applicability map). It leaves no critical gaps.

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?

Schema coverage is 100%, and the description adds value by explaining usage contexts for frameSec, filePath, and base64, including a size constraint. It clarifies the relationship between parameters and the cover source.

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 tool sets a cover override for one post, listing three methods (frameSec, filePath, base64). It is specific and distinguishes it from siblings like 'clear_cover'.

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 description explains when to use each method (e.g., extract frame from media, upload local file, or base64 bytes). It implicitly guides the agent on selection but lacks explicit exclusions or 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/pendpost/pendpost'

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