Skip to main content
Glama

ucp_order_upload_url

Optional step before ucp_order_storyboard: returns a presigned S3 PUT URL and key for one full-resolution photo, so large photo sets (up to 32) avoid the ~4.5MB request-body cap. Call once per photo, PUT the bytes, then pass the returned key in ucp_order_storyboard images[].

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "orderId": "<orderId>",
      "filename": "<filename>",
      "contentType": "<contentType>",
      "sizeBytes": "<sizeBytes>"
    },
    "name": "ucp_order_upload_url"
  }
}

Input Schema

NameRequiredDescriptionDefault
orderIdYesOrder ID
filenameYesOriginal filename, e.g. photo-07.jpg
sizeBytesYesExact size in bytes of the file to be uploaded
contentTypeYesimage/jpeg, image/png or image/webp

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.4/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does disclose meaningful behavior beyond the schema: it is a presigned-URL handoff, one invocation per file, bytes go to S3 rather than to this API, and the returned key must be threaded into the storyboard call. Gaps remain around presigned URL expiry, whether the PUT must precede the storyboard call within a time window, and what happens if sizeBytes does not match the actual upload.

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 sentences, front-loaded with purpose and followed by the operational sequence. Every clause carries information — the cap threshold, the per-photo granularity, and the handoff target — with no 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?

There is no output schema, yet the description names the two returned values (presigned URL and key), which is the critical missing piece an agent would otherwise lack. It is nearly complete for a simple four-parameter handoff tool, with only expiry/lifetime semantics absent.

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 coverage is 100%, so all four parameters are already documented with examples and allowed content types; that sets the baseline at 3. The description adds framing (one full-resolution photo per call) but does not clarify the meaning of sizeBytes beyond the schema or explain why an exact byte count is required.

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?

Names a specific verb + return artifact (returns a presigned S3 PUT URL and key) scoped to one full-resolution photo. It also positions itself relative to the sibling ucp_order_storyboard as an optional pre-step, so an agent can tell the two tools apart without opening a schema.

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 states when to use it: optional step before ucp_order_storyboard, needed for large photo sets (up to 32) to dodge the ~4.5MB request-body cap. It also gives the calling pattern — call once per photo, PUT the bytes, then pass the returned key in ucp_order_storyboard images[] — which is precisely the sequencing an agent needs.

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