Skip to main content
Glama

create_asset

Create a new character, location, prop, or legacy text-only style asset in a workspace. Character, location, and prop prompts generate a reference image. Style assets do not generate images; routine projects should store their global visual style in edit.style instead. existingMediaUrl may attach an explicit user-supplied reference image.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameYesAsset name
typeYesType of asset to create
editIdNoEdit ID — REQUIRED when creating assets within an edit context. Assets without editId will NOT appear in the editor Assets tab.
promptNoPrompt for generating a character, location, or prop reference image. For a legacy style asset, this is normalized into its text description and no image is generated. Ignored if existingMediaUrl is provided.
modelIdNoModel ID for character, location, or prop image generation. Pass the user's preferred model from MODEL_PREFERENCES if set. Defaults to Nano Banana Pro (google-gemini-3-image). Ignored for style assets and when existingMediaUrl is provided.
folderIdNoFolder to place the asset in
descriptionNoAsset description. For style assets, this must be one short sentence describing only the visual aesthetic shared by every shot; do not list characters, locations, props, actions, or shot-specific objects.
workspaceIdYesThe workspace ID
existingMediaUrlNoDownload URL of an existing image to use as the asset reference image (e.g. from a user-attached file). When provided, skips image generation and uses this image directly.
voiceDescriptionNoFor character assets: voice/accent/personality description used for speech generation, e.g. "slow casual Gen Z woman, vocal fry, Valley girl / LA accent".
existingMediaFileNameNoOriginal file name for existingMediaUrl. Used when copying the uploaded image into workspace media storage.
existingMediaMimeTypeNoMIME type for existingMediaUrl. Used when copying the uploaded image into workspace media storage.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior4/5

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

With no annotations, the description carries the burden and does disclose key side effects: character/location/prop creation triggers reference-image generation, style assets do not, and supplying existingMediaUrl skips generation entirely. It does not mention permission requirements, credit/cost implications of image generation, or whether duplicate names are allowed, which are relevant for a creation tool.

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?

Three tight sentences with the purpose front-loaded, followed by the behavioral distinction and the optional-parameter note. Every sentence adds distinct information with no redundancy or filler.

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?

For a 12-parameter creation tool with no output schema and no annotations, the description covers the essential behavioral distinctions (image generation vs. text-only, edit.style alternative, existing-media path). The remaining gaps, such as the editId-in-editor requirement and voiceDescription, are already documented in the schema, so the description is largely sufficient.

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% across 12 parameters, so the schema already explains prompt, modelId, editId, and the existingMedia* fields in detail. The description reinforces the prompt and existingMediaUrl semantics but adds little beyond what the schema states; baseline 3 is appropriate when the schema does the heavy lifting.

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?

States a specific verb (Create) and resource (asset) and enumerates the four asset subtypes it accepts, which matches the type enum exactly. An agent can distinguish this from siblings like generate_image, create_shot, or create_folder without opening any schema.

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

Usage Guidelines4/5

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

Gives a clear routing rule for the ambiguous case: style assets do not generate images, and routine projects should store global visual style in edit.style instead. It also clarifies when existingMediaUrl applies (user-supplied reference image). It does not, however, address when to prefer update_asset over create_asset or when an asset belongs in an edit context.

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