Skip to main content
Glama

Upload Garments from URL

upload_garment_from_public_url

Batch upload garments from public HTTP(S) image URLs. Defaults to background removal; pass processing_mode='none' to store original images as-is. Prefer assets with {asset_kind: full|detail, asset_view: front|back|side, asset_url}; exactly one full front is required, every full view is unique, and detail views can repeat. For ChatGPT attachments, use upload_garment_from_chat_file instead. For local filesystem files, use prepare_local_garment_upload instead. No base64, chat file objects, or local paths.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameNoSingle garment name
assetsNoSingle garment full asset set. Use asset_kind/asset_view. Exactly one full front is required; full views are unique and detail views can repeat.
genderNoSingle garment gender: male, female, unisex
garmentsNoGarments to upload from public HTTP(S) URLs. No chat file objects and no base64.
file_nameNoSingle original file name
image_urlNoSingle public HTTP(S) front image URL
mime_typeNoSingle MIME/content type, e.g. image/png
descriptionNoSingle item-level garment description hint
back_image_urlNoSingle optional public HTTP(S) back image URL
side_image_urlNoSingle optional public HTTP(S) side image URL
processing_modeNoOptional image processing. 'background_removal' removes the background (the platform upload default); 'none' stores the image as-is. Omit to use background removal.
detail_image_urlsNoSingle optional public HTTP(S) detail image URLs

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already indicate readOnlyHint=false, so the description needn't restate mutation. It adds useful behavioral context: defaults to background removal, requires one full front view with unique full views, and accepts repeatable detail views. This goes beyond the structured annotations.

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 four sentences and front-loaded with the primary action. It efficiently covers source constraints, processing default, asset rules, and alternatives without redundancy.

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 complex 12-parameter upload tool with no output schema, the description covers key operational aspects: source type, batch capability, processing default, and asset validation rules. It lacks explicit mention of return values or side effects, but the schema and annotations supplement this. Could be more complete about what the agent receives after upload.

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 repeats asset constraints and processing_mode default that are already in the schema, adding little new meaning. It does summarize the preferred asset structure, but does not materially enhance parameter understanding.

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 opens with a specific verb+resource: 'Batch upload garments from public HTTP(S) image URLs.' It clearly distinguishes from sibling tools by explicitly naming alternatives (upload_garment_from_chat_file, prepare_local_garment_upload) and excluding base64/chat file/local paths.

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

Usage Guidelines5/5

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

It provides explicit when-to-use guidance: 'For ChatGPT attachments, use upload_garment_from_chat_file instead. For local filesystem files, use prepare_local_garment_upload instead.' It also clarifies processing_mode defaults and asset constraints, giving the agent actionable selection criteria.

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.

TDQS

A3.5/5.0
Disambiguation3/5

Most tools target distinct resources and have detailed descriptions, but several closely related families exist: create_credit_checkout_session vs mcp_create_credit_checkout_session, the propose_brief/confirm_brief/update_brief lifecycle, and the many avatar/upload entry points. An agent must read long caveats carefully to avoid selecting the wrong tool.

Naming Consistency4/5

The vast majority of tool names follow a predictable snake_case verb_noun pattern (list_*, get_*, create_*, update_*, propose_*). The mcp_* prefix group and varied creation verbs (create/upload/save/add/generate) are minor deviations, though mcp_create_credit_checkout_session duplicating create_credit_checkout_session adds some confusion.

Tool Count1/5

With 67 tools, this is an extreme mismatch by the rubric's own 50+ threshold, far beyond the typical 3-15 well-scoped range. Many tools are narrow lifecycle steps such as two-phase local uploads, app-only montage internals, and multiple ArtDirection authoring variants, making the agent-facing surface very heavy.

Completeness3/5

The core generation, brief, montage, and QA workflows are covered thoroughly with polling and result retrieval. However, notable lifecycle gaps exist: outfits, locations, avatars, and tags mostly have create/list/get but no update or delete, and delete_template is the only delete tool in the entire set.

Resources