Skip to main content
Glama

import_media_from_url

Import an image or video from a public https link, or a file attached in the conversation, into VerseIn. Returns a media_url for generation tools.

Input Schema

NameRequiredDescriptionDefault
urlNopublic https link to an image (jpg, png, webp) or video (mp4, mov)
fileNoa file the user attached in the conversation

Output Schema

NameRequiredDescriptionDefault
errorNopresent only when the call failed
mediaNoimage or video
media_urlNo
size_bytesNo
content_typeNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed5 schema fields changed
    • addedInput schema / properties / file / properties / file_id / description
      Added value: +"file id"
    • addedInput schema / properties / file / properties / file_name
      Added value: +{
      +  "description": "file name",
      +  "type": "string"
      +}
    • addedInput schema / properties / file / properties / mime_type
      Added value: +{
      +  "description": "file MIME type",
      +  "type": "string"
      +}
    • changedInput schema / properties / file / required
      Previous value: -[
      -  "download_url"
      -]New value: +[
      +  "download_url",
      +  "file_id"
      +]
    • changedInput schema / properties / file / type
      Previous value: -[
      -  "null",
      -  "object"
      -]New value: +"object"
  2. First observed

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=false, openWorldHint=true and idempotentHint=false, so the mutation/network profile is covered; the description adds one genuinely useful behavior — that the import yields a media_url consumable by generation tools. It says nothing about size/format limits beyond the schema, failure modes, or that repeated imports duplicate media (relevant given idempotentHint=false).

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two short sentences, zero filler: the input modes come first and the downstream purpose (media_url for generation) second. Every clause earns its place.

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?

With an output schema present, the description needn't explain return values, yet it usefully signals that media_url feeds generation tools. Combined with 100% schema coverage and annotations, the only gap is constraints on what constitutes a valid/accepted import (size, accessibility, auth).

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

Parameters3/5

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

Schema description coverage is 100% and both parameters (url, file with nested download_url/file_id) are documented there, so the description adds no syntax beyond the schema. Baseline 3 applies since the schema carries the parameter burden.

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?

States a specific verb (import) and resource (image/video), plus the destination (VerseIn) and both accepted sources. It distinguishes itself from most siblings via the URL/attachment inputs, though it never names pick_media or create_upload, which cover adjacent upload territory.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Usage is only implied by the phrasing 'public https link, or a file attached in the conversation' — an agent can infer the two input modes but gets no explicit when-to-use-this-vs-sibling rule, no mention of pick_media for existing library media, and no stated prerequisites.

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