Skip to main content
Glama

Media Create From Url

media_create_from_url

Create Drupal media entities from an oEmbed URL, linking external videos or rich content to a specified media type and field.

Instructions

Create media from URL (oEmbed).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
urlYes
nameNo
field_nameNofield_media_oembed_video
media_typeYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.6/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full behavioral burden. It says nothing about whether the remote URL is fetched/downloaded, what permissions are required, deduplication of existing media, or failure modes when the oEmbed endpoint is unreachable.

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

Conciseness3/5

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

Very short and front-loaded, but its brevity tips into under-specification rather than efficiency. Not a wasted sentence, yet too thin to earn a high score.

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

Completeness2/5

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

For a mutation tool with no annotations, 4 parameters at 0% schema coverage, and required fields undocumented, the description is inadequate. An output schema exists, so return values need no explanation, but setup/permission and parameter semantics are missing.

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

Parameters2/5

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

Schema description coverage is 0% for 4 parameters, so the schema provides no help. The description only implies the 'url' parameter and says nothing about 'media_type' (required), 'name', or 'field_name' (defaulted to field_media_oembed_video), leaving the agent to guess valid values and semantics.

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 clear verb+resource (create media) and adds the source mechanism 'from URL (oEmbed)', which implicitly distinguishes it from the sibling media_create_from_base64. However it never names that sibling or other alternatives explicitly, so differentiation is left to inference.

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

Usage Guidelines2/5

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

There is no when-to-use guidance, no prerequisites, and no named alternatives despite many close siblings (create_media, upload_media, media_create_from_base64, media_bulk_import). The agent must infer that 'from URL' means remote-source media rather than being told.

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