Skip to main content
Glama

create_share_link

Generate a share link for a Collection, Lightbox, or Storage Folder. Set permissions, expiration, internal notes, and watermark downloads as needed.

Instructions

Create a share link for a Collection, Lightbox, or Storage Folder

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
noteNoInternal note
enabledNoEnable the share link (default: true)
expires_atNoExpiration date/time in ISO 8601 format
watermark_allNoApply watermark to all downloads
asset_group_idYesID of the Collection, Lightbox, or Storage Folder to share
other_permissionNoPermission level for other file types
image_and_video_permissionNoPermission level for images and videos
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 burden of behavioral disclosure. It only states the action without mentioning side effects (e.g., whether duplicate links are prevented), permission requirements, or the response format. Minimal insight into what happens upon creation.

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?

The description is a single, clear sentence that is appropriately front-loaded with the primary action and target. No filler or redundant text.

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?

This is a creation tool with 7 parameters and no output schema or annotations. The description does not mention return values, permission requirements, or edge cases. It is adequate for a simple action but lacks context for effective tool selection.

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%, so each parameter already has a description. The tool description adds no extra semantic value beyond naming the target resource types, which is already in the asset_group_id parameter description. Baseline 3 is appropriate.

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 description uses a specific verb ('Create') and a clear resource ('share link'), and specifies the target resource types ('Collection, Lightbox, or Storage Folder'). This clearly distinguishes it from sibling tools like delete_share_link and create_share.

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?

No guidance on when to use this tool versus alternatives. It does not mention that this creates a share link for asset groups specifically, or any prerequisites or conditions. Siblings like create_share and create_asset_group_invite exist but their relationship is not addressed.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/mediagraph-io/mediagraph-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server