Skip to main content
Glama

Schedchie Social Media Scheduler

Upload a media file

upload_media

Upload an image or video and get a media descriptor for schedule_post/edit_post's media. url: an https link fetched server-side, up to 200 MB, never passing through the conversation. Google Drive links work for files shared "Anyone with the link", not folders or Docs. data (base64 + mimeType) carries the bytes inline, capped at 5 MB. Truncated uploads are refused. One descriptor may go to ONE schedule_post covering many accounts. VIDEO COVERS: a custom cover is its own image upload, whose uploads/… gcsObjectName goes in cover.gcsObjectName on the video's descriptor (cover.offsetMs picks a frame instead).

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "upload_media"
  }
}

Input Schema

NameRequiredDescriptionDefault
urlNoPublic https URL of an image or video (Google Drive share links accepted).
dataNoBase64-encoded file bytes, up to 5 MB decoded. Needs mimeType.
filePathNoAbsolute path to a local image or video file. Only over stdio, when this MCP server runs on the user's own machine; refused on the hosted server, where url or data carry the file.
filenameNoOriginal file name (cosmetic)
mimeTypeNoMIME type (image/* or video/*). Required with data; with url or filePath only when it cannot be inferred
workspaceNoAct in a team workspace: the owner's id from whoami's memberOfWorkspaces[].ownerId. Omit to act in your own workspace.
declaredSizeNoExact byte count of `data`; a mismatch is refused as truncated.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/5.0
Behavior5/5

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

Goes well past the annotations by disclosing real behavior: the URL is fetched server-side and "never passing through the conversation", size ceilings differ per source (200 MB vs 5 MB), truncated uploads are refused, Drive folders and Docs are rejected, and one descriptor can service multiple accounts via a single schedule_post. It also documents the cross-tool mechanics of video covers (`cover.gcsObjectName` vs `cover.offsetMs`), which no structured field conveys. Nothing here conflicts with readOnlyHint=false or openWorldHint=true.

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?

Front-loaded with purpose and output, then parameter facts, then the video-cover edge case — a sensible ordering with no filler sentences. It is dense to the point of terseness in places (all-caps "VIDEO COVERS:", bare parentheticals), which costs a little readability but not correctness.

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?

For a seven-parameter tool with no output schema, the description covers the source-selection tradeoffs, size limits, failure mode, workspace-agnostic descriptor reuse, and the cover-image linkage that would otherwise be undiscoverable. The remaining gaps (no statement that at least one of url/data/filePath must be supplied, no mention of `filePath`) are covered by the fully documented schema.

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

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so the baseline would be 3, but the description adds substantive meaning: the 200 MB URL ceiling and Drive sharing constraint, the 5 MB inline ceiling, and the refusal of truncated uploads (relevant to `declaredSize`). It does not add anything for `filePath`, `filename`, or `workspace`, leaving those entirely to the schema.

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?

States a specific verb and resource ("Upload an image or video") and names the output and its consumer: "get a media descriptor for schedule_post/edit_post's `media`". An agent immediately knows what it produces and where the result flows, which distinguishes it from descriptor-less siblings like get_media_status.

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?

Gives clear operational context for choosing a source: an https `url` for server-side fetch (up to 200 MB, Drive share links for 'Anyone with the link'), versus inline `data` capped at 5 MB. It also explains the downstream reuse rule ("One descriptor may go to ONE schedule_post covering many accounts") and the video-cover sub-workflow. It stops short of naming when to prefer an alternative sibling such as request_media_upload or create_upload_slot, and never mentions `filePath` as a third source, so it is clear but not exclusionary.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.