Skip to main content
Glama

Prepare a photo upload for 3D

create_3d_upload
Idempotent

Prepare an upload for generate_3d photo mode when you cannot send the photos inline, for example a picture attached in this chat. Returns upload_id; upload_page_url, a Cormak page where the user adds 1–4 photos from their device (give it to the user and wait until they say it is done); and upload_urls, one signed HTTPS PUT link per photo slot (slot 1 = front view) for clients that can send files themselves: curl -X PUT -H "Content-Type: image/jpeg" --data-binary @photo.jpg "". PNG, JPEG or WebP up to 2.25 MB each; links work for 2 hours. Then call generate_3d with input_mode photo and upload_id. Free; nothing starts and no credits are spent.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "create_3d_upload"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.8/5.0
Behavior5/5

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

Annotations only declare readOnly=false, idempotent=true, destructive=false; the description adds substantial context beyond that — nothing starts and no credits are spent, signed PUT links expire after 2 hours, accepted formats PNG/JPEG/WebP up to 2.25 MB, and slot 1 is the front view. That is exactly the operational detail an agent needs before committing to a two-step upload flow.

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?

Front-loaded with purpose and next-step guidance, and nearly every clause carries a fact the agent needs (URL roles, size limits, expiry, cost). It is dense and somewhat run-on — the curl example and the field glossary are packed into one block — so a little structuring would improve scanability, but nothing is truly wasteful.

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

Completeness5/5

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

Covers the full lifecycle: why the tool exists, what it returns, how each returned value should be used, hard constraints on uploads, expiry, cost, and the required follow-up call. With no output schema and no parameters, this is everything an agent needs to execute the flow correctly.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The tool takes zero parameters, so the baseline is 4 and there is nothing for the description to disambiguate. It does useful adjacent work by explaining the shape of the returned values (upload_id, upload_page_url, upload_urls) and the PUT invocation, which compensates for the absent output schema.

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+resource ('prepare an upload for generate_3d photo mode') and immediately scopes it to the case where photos cannot be sent inline, which cleanly separates it from generate_3d's inline path. An agent can tell exactly what this tool produces without opening anything else.

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?

Explicitly names the triggering condition ('when you cannot send the photos inline, for example a picture attached in this chat') and the alternative (inline photo mode on generate_3d). It also prescribes the follow-up step ('Then call generate_3d with input_mode photo and upload_id') and tells the agent to hand upload_page_url to the user and wait, so the workflow is unambiguous.

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.