Skip to main content
Glama

Get share links

get_media_links
Idempotent

Create no-auth download links for rendered clips, thumbnails, captions, and zip exports so schedulers, automation tools, Instagram, or people can fetch the media.

Instructions

Links anyone can download without an Authorization header, for a scheduler (Buffer, Metricool), Instagram's video_url, Zapier/Make or a person. Returns { clips: [{ clipId, links: { clip, thumb, srt, vtt } }], export } with each link's { linkId, url, expiresAt }; unrendered clips say why. The active link is reused unless label or ttlDays ask for a separate one. A link serves the current render until it expires or revoke_media_link turns it off.

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": {
      "projectId": "<projectId>"
    },
    "name": "get_media_links"
  }
}

Input Schema

NameRequiredDescriptionDefault
kindsNoWhich files (default: clip): clip = the MP4, thumb = its JPEG, srt / vtt = its captions
labelNoA name for a separate link you can revoke on its own, e.g. "Buffer queue"
exportNoAlso a link to the zip of these clips with YouTube/TikTok metadata
clipIdsNoOnly these clips; omitted = every rendered clip
ttlDaysNoDays the links last (capped by the instance); null = never expires where allowed
projectIdYesProject id (from list_projects, search_clips or create_project)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv0.51.1
    • changedInput schema / $schema
      Previous value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema"
  2. Addedv0.31.0

TDQS

A4.3/5.0
Behavior5/5

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

Beyond the idempotentHint/destructiveHint annotations, it discloses the critical security trait that links are downloadable without an Authorization header, the lifecycle ('serves the current render until it expires or revoke_media_link turns it off'), the reuse-vs-new-link behavior, and that unrendered clips explain why no link exists. This is exactly the operational context annotations cannot convey.

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?

Four tight sentences, with the most decision-relevant fact (no-auth download) front-loaded and the return shape and lifecycle following. The opening clause is slightly dense with audience examples, but nothing is redundant.

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?

With no output schema, the description carries the return contract itself — the clips/links/export structure and the per-link fields (linkId, url, expiresAt) — and it covers the failure case for unrendered clips. For a link-minting tool with six params, nothing essential for a correct call is missing.

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 is 3; the description earns above that by explaining how label and ttlDays interact with link reuse (a separate link is minted only when those are supplied). It doesn't elaborate on kinds or export beyond the schema, but the reuse semantics add genuine meaning.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description states a specific resource — publicly downloadable links that need no Authorization header — plus the audiences they serve (scheduler, Instagram video_url, Zapier/Make, a person), which is more informative than a bare verb. It doesn't name sibling tools like list_media_links or revoke_media_link, but the public-download framing distinguishes it clearly from retrieval tools. Slight deduction for not explicitly differentiating from the sibling list tools.

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?

It gives concrete when-to-use context: hand a link to Buffer/Metricool, Instagram's video_url, Zapier/Make, or a person. It also states the reuse rule ('the active link is reused unless label or ttlDays ask for a separate one'), which guides whether to pass those params. It stops short of explicit exclusions, e.g., telling the agent to call list_media_links instead when it only wants to inspect existing links.

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

Deploy Server

Other Tools