Skip to main content
Glama

Create reference

create_reference

Save a private reference: an outfit, pose, location, or object from an image (a public https URL or a data URL of a JPEG or PNG), or a voice clip (kind: audio) from audio (MP3 or WAV, trimmed to 15 seconds). Returns its handle: mention it in a generate prompt as @handle.

Input Schema

NameRequiredDescriptionDefault
kindYesWhat the reference is. The four image kinds take `image`; `audio` takes `audio`.
nameYesThe display name.
audioNoThe clip, for `kind: "audio"`: an https URL, an upload URL, or a data URL of an MP3 or WAV. Trimmed to 15 seconds and normalized, like a clip uploaded in the app.
imageNoThe image, for the four image kinds: an https URL, an upload URL, or a data URL of a JPEG or PNG. Stored permanently with the reference.
handleNoThe `@handle` prompts mention it by: 1 to 15 lowercase letters, digits, underscores, or dashes, starting with a letter. Handles such as image1 and image2 are reserved for uploaded images. Derived from the name when omitted. Cannot be changed later.
descriptionNoOptional notes, for your own reference.

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=false, destructiveHint=false, idempotentHint=false, and openWorldHint=true, so the description mainly needs to add context. It contributes that the reference is private, permanently stored, that audio is trimmed to 15 seconds, and that the returned handle is the durable contract — useful, but most of these details are restated from the schema, and nothing is said about failures, name collisions, or what happens on re-creation of an existing handle.

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

Conciseness4/5

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

Two sentences, front-loaded with the primary action and its payload formats; the return-value and usage note comes second where it belongs. It is dense with parenthetical format details but no sentence is wasted.

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 6-parameter creation tool with full schema coverage and annotations present, the description covers purpose, input formats, the audio trimming behavior, and the returned handle's role in downstream prompts. With no output schema, it correctly states the return value; remaining gaps around permissions and error behavior are minor.

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 the baseline is 3. The description restates the kind-to-field pairing (four image kinds take image, audio takes audio) and the accepted formats, which largely duplicates what the schema already documents rather than adding new syntax or constraints.

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 first sentence gives a specific verb (Save) and resource (a private reference) and enumerates the concrete kinds, so an agent immediately understands what is created. It does not differentiate itself from siblings such as create_upload (which apparently handles the reserved image1/image2 uploads) or create_character, leaving a small ambiguity at the boundary.

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?

The closing clause 'mention it in a generate prompt as @handle' implicitly explains why one would call this rather than anything else, tying it to the generate flow. However, there is no explicit when-not guidance, no mention of list_references/delete_reference as the lifecycle alternatives, and no statement about when to prefer create_upload.

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