Skip to main content
Glama

Pitchlane

Add media from a URL

create_media_from_url

Add a file to Pitchlane by having it fetched from a public https URL: a pitch video, an outro, a page video or a page image. pitch_video: the recorded pitch (video with audio). outro_video: a clip played after the pitch. page_video: a clip shown as a page. page_image: a picture shown as a page. The file is fetched and checked in the background: the answer has status fetching; poll get_media until ready or failed. Its id can be used in create_campaign or update_campaign straight away. The URL must be a direct link to the file (not a page that shows it) and deliver it within eight minutes; at most 1 GiB. For a file that is not at a public URL, use create_media_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": {
      "type": "<type>",
      "source_url": "<source_url>"
    },
    "name": "create_media_from_url"
  }
}

Input Schema

NameRequiredDescriptionDefault
typeYesWhat the file is for. It cannot be changed later.
filenameNoA name for the file, for the user's reference.
source_urlYesA direct https link to the file, e.g. `https://cdn.example.com/pitch.mp4`.
content_typeNoThe file's MIME type, e.g. `video/mp4` or `image/png`. Needed only when the URL does not end in a file extension.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.8/5.0
Behavior5/5

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

Beyond the annotations (which only declare it non-read-only, open-world, non-idempotent, non-destructive), the description discloses the asynchronous fetch-and-validate behavior, the intermediate `fetching` status, and the polling path to terminal states. It also documents hard operational limits — direct link only, eight-minute delivery window, 1 GiB maximum — that an agent could not infer from structured fields.

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?

It is front-loaded with purpose, then constraints, then the alternative, and every sentence carries information. It is somewhat dense given that the type definitions partially overlap the enum descriptions in the schema, but nothing is genuinely wasted.

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 correctly compensates by describing the returned status and the polling requirement. For a mutation tool with size, timing, and URL-format constraints, an agent has everything needed to call it correctly and handle the async result.

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 what each enum value means in practice (pitch with audio, post-pitch clip, clip shown as a page, image shown as a page) and by restating the direct-link requirement for source_url. It adds modest but real meaning rather than repeating the schema verbatim.

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 opening sentence states a specific verb and resource — add a file to Pitchlane by fetching it from a public https URL — and immediately enumerates the four media kinds it covers. It is clearly distinguishable from the sibling create_media_upload, which is named as the tool for non-public files.

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?

The description names the alternative explicitly ('For a file that is not at a public URL, use create_media_upload') and gives the selection condition. It also tells the agent the follow-up workflow: the result starts as `fetching`, must be polled via get_media until `ready` or `failed`, and its id can be used immediately in create_campaign or update_campaign.

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.

Resources