Skip to main content
Glama
Sprout Social MCP Server

Sprout Social MCP Server

by kodowjam

upload_media

Upload an image, video, or PDF to Sprout Social from a public URL or Google Drive link, returning a media ID for use in social posts.

Instructions

Upload an image, video or PDF document to Sprout Social via a public URL or Google Drive link.

Supports:

  • Direct public URLs (passed through to Sprout's API)

  • Google Drive URLs (file is downloaded server-side and uploaded via multipart). Supported formats: drive.google.com/file/d/{ID}/..., drive.google.com/open?id={ID}, drive.usercontent.google.com/download?id={ID}, drive.google.com/uc?export=download&id={ID}

Args: url: URL of the media file (public URL or Google Drive share link). Must be < 50MB. Google Drive files must have "Anyone with the link" sharing enabled.

Returns a media_id and _detected_media_type (PHOTO, VIDEO or DOCUMENT for PDFs) that can be used in create_post. PDFs become LinkedIn document posts. The media_id expires 24 hours after upload.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

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

Input Schema

NameRequiredDescriptionDefault
urlYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

A4.7/5.0
Behavior5/5

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

With no annotations present, the description carries the full disclosure burden and does so well: it states a 50MB size limit, a required Google Drive sharing setting ('Anyone with the link'), that Drive files are downloaded server-side and re-uploaded via multipart, that PDFs become LinkedIn document posts, and that the returned media_id expires in 24 hours. These are exactly the operational constraints an agent needs before calling a mutating upload tool.

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 core purpose is front-loaded in the first sentence, followed by scannable bullets for supported sources, constraints, and return values. The enumerated Drive URL format list is somewhat long, but each variant adds actionable specificity rather than filler.

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?

There is no output schema, so the description's Returns section (media_id, _detected_media_type with PHOTO/VIDEO/DOCUMENT values) is necessary and provided, along with the 24-hour expiry. Combined with the format and size constraints, nothing an agent needs to invoke this correctly is missing.

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 description coverage is 0%, so the single 'url' parameter would otherwise be opaque. The description compensates fully: it defines the parameter as a public URL or Drive share link, gives a size ceiling, states the Drive permission prerequisite, and lists the four accepted Drive URL patterns with their ID placeholders.

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 opens with a specific verb and resource — 'Upload an image, video or PDF document to Sprout Social' — and enumerates the two supported sources (public URL, Google Drive link). It also distinguishes itself from siblings by naming create_post as the downstream consumer, so an agent can place it in the workflow without inspecting other schemas.

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?

Usage context is clear: this is the pre-step that produces a media_id for create_post, and it accepts either a public URL or one of four Google Drive URL forms. It does not explicitly state exclusions or when to prefer another tool (e.g., direct file upload vs URL), so it stops short of full when/when-not guidance.

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