Skip to main content
Glama

Fetch url

fetch_url

PROJECT-SCOPED: this call acts only on the explicit project_id and returns the project identity with its result. Download media from a LINK the user gave you and save it as a project asset — a video, a song, or an image. Works with direct file links (Dropbox, Drive, a CDN, a stock library) and with page links (YouTube, TikTok, Vimeo, SoundCloud). Use this whenever the user pastes a URL for something they want in the edit; never tell them to upload a file you could have fetched. The file type is detected automatically — pass as_kind only to force audio-only from a video page ('music'). The result is saved to the project but is NOT in the video until you add it with insert_media (clip/image) or add_music (audio). Fetching verifies neither ownership nor license: the returned RIGHTS CHECK must be relayed; a downloadable file is not permission to republish.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
urlYes
as_kindNo
project_idYesRequired immutable scope for this call. Copy the id from list_projects/open_project/project_state; the active-project pointer is never used to guess.

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 beyond annotations. Annotations indicate mutation (readOnly=false) and non-idempotency, but the description adds critical details: it saves the asset but does not add it to the video until later, it returns a RIGHTS CHECK that must be relayed, and it verifies neither ownership nor license. Also clarifies the project_id scoping behavior.

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 dense but efficiently organized. It leads with the scope, then the purpose, supported link types, usage rule, as_kind behavior, next steps, and rights caveat. Every sentence adds value, though it could be slightly tighter by trimming redundancy (e.g., the phrase 'download media' appears twice).

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Covers the essential operational context: what it does, what it doesn't do (not added to video), what to do next, and the rights caveat. Lacks details on return structure beyond 'project identity' and 'RIGHTS CHECK', and no error handling or rate-limit info, but these are minor for a fetch tool. The output schema is absent, so description must carry this weight, which it does adequately.

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 coverage is only 33% (only project_id has a description), but the description compensates fully. It explains what URL formats are accepted (direct links vs page links), clarifies that as_kind is optional and only for forcing audio extraction, and reinforces project_id immutability. This adds meaning beyond the schema.

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 clearly states the verb (download media from a LINK), the resource (URL) and the action (save as project asset). It also specifies the project scope. However, it does not explicitly differentiate from the sibling tool download_url, which could overlap in purpose. The phrase 'for something they want in the edit' narrows it to project assets, but a direct comparison is missing.

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?

Provides explicit when-to-use guidance: 'Use this whenever the user pastes a URL for something they want in the edit; never tell them to upload a file you could have fetched.' It also explains when to use as_kind ('only to force audio-only from a video page') and what to do next (insert_media/add_music). This is clear and actionable.

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.