Skip to main content
Glama
MelMayssonOwen

TimeToPost MCP server

Finish a media upload (step 3)

finalize_media_upload

Register an uploaded media object as a MediaAsset and retrieve its publicUrl. Call after uploading bytes to the presigned URL to obtain a link for post scheduling.

Instructions

STEP 3 of the media upload flow: call AFTER you have PUT the raw bytes to the presigned uploadUrl from prepare_media_upload. Registers the object as a MediaAsset and returns it; its publicUrl is what you pass to schedule_post mediaUrls. Pass the same key/contentType/size from step 1. Idempotent: re-finalizing the same key returns the existing asset. CAPABILITY: draft — creates content that cannot reach an audience on its own. Safe for a draft-only agent token.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
keyYesThe object key returned by prepare_media_upload.
sizeYesExact file size in bytes.
contentTypeYesSame MIME type used in prepare_media_upload.
Behavior1/5

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

Description claims 'Idempotent: re-finalizing the same key returns the existing asset,' which directly contradicts the annotation idempotentHint=false. Per the rubric, any contradiction between description and annotations results in a score of 1.

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 efficient, covering step, precondition, behavior, return value, usage, capability, and safety in a compact format. It is slightly dense but every sentence contributes meaningful guidance; no fluff or redundancy.

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 lacking an output schema, the description explains the return value (MediaAsset with publicUrl) and its downstream use. It also addresses idempotency, capability (draft), and safety for draft-only tokens, making it highly complete for a multi-step flow with no output schema.

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?

Input schema provides full descriptions for all three parameters (key, contentType, size), achieving 100% coverage. Description adds only reinforcement to use the same values from step 1, but does not add new semantic details beyond the schema, so baseline 3 applies.

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 clearly states the tool's purpose: 'Registers the object as a MediaAsset and returns it' as step 3 of the media upload flow. It distinguishes itself from sibling tools (prepare_media_upload, upload_media) by specifying its position in the sequence and its unique role.

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?

Explicitly states when to call: 'AFTER you have PUT the raw bytes to the presigned uploadUrl from prepare_media_upload.' Also directs the return value usage: 'publicUrl is what you pass to schedule_post mediaUrls.' Provides clear context for the agent to invoke correctly without confusion.

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/MelMayssonOwen/timetopost-mcp'

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