Skip to main content
Glama

presign_generation_asset

Read-only

Create an upload slot for a Video Lab, Image Lab, or Paint Lab source image (or a Video Lab MP4). Then complete_generation_asset.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
byteSizeNoFile size in bytes. Images up to 20 MB; MP4 sources up to 50 MB.
filenameYesOriginal filename, including extension (for example product.jpg or clip.mp4).
contentTypeYesMIME type: image/jpeg, image/png, image/webp, or video/mp4 for an edit_video source clip.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
assetYesAsset descriptor (id, status, content type). Use asset.id with complete_generation_asset.
uploadNoPresigned upload target (URL and headers) for the source file.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false, and openWorldHint=false, covering the safety profile. The description adds the follow-up step and asset scope but no additional behavioral details like slot expiration, auth needs, or upload mechanics.

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 with no waste; the purpose is front-loaded and the follow-up action is clearly placed. Every sentence earns its place.

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

Completeness3/5

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

With an output schema and full parameter coverage, the description needn't explain return values. It covers the basic purpose and next step, but leaves gaps about how the upload slot works and how it relates to the broader generation workflow.

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 parameters are fully documented in the schema. The description adds no syntax or format details beyond what the schema provides, making the baseline 3 appropriate.

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 states a specific verb ('Create an upload slot') and resource ('source image or Video Lab MP4') for named labs. It differentiates from generation siblings by targeting source uploads rather than generation, though it does not explicitly contrast with those tools.

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?

It implies usage by naming the labs and asset types, and it provides a next-step instruction ('Then complete_generation_asset'). However, it gives no explicit when-to-use vs alternatives, no prerequisites, and no exclusions.

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