Skip to main content
Glama

create_upload_ticket

Get a presigned upload URL for a LOCAL image file — the one case a URL can't cover. PUT the file to uploadUrl with the same Content-Type, then pass the returned r2Path to a generation tool instead of imageUrl. Ticket expires in 1 hour.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
filenameYesOriginal filename, used for the extension
sizeBytesNoExact byte size of the file. Recommended: when given it is signed into the URL, so the upload is bounded server-side.
contentTypeYesMIME type the PUT request will send

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. First observed

TDQS

A4.4/5.0
Behavior4/5

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

The description adds valuable behavioral details beyond the annotations: the presigned URL nature, the required PUT step, the 1-hour expiration, and the r2Path output. It does not contradict the readOnlyHint=false (write operation) and destructiveHint=false. Minor gap: no explicit mention of response structure beyond uploadUrl and r2Path, but these are named.

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 sentences, tightly packed with essential information. No filler or repetition. The purpose is front-loaded, and each sentence earns its place by explaining workflow and constraints.

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?

The tool is simple, and the description covers the critical workflow, output, and expiration. With no output schema, it names the returned fields (uploadUrl, r2Path). It could mention error cases or security notes, but for a presigned upload tool, this is sufficiently complete.

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 baseline is 3. The description does not add meaning beyond the schema for parameters like filename or sizeBytes; it only references contentType in the PUT step. However, it does clarify the role of uploadUrl and r2Path as outputs, which is helpful, but that's not parameter semantics.

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 clearly states the tool's function: 'Get a presigned upload URL for a LOCAL image file'. It uses a specific verb ('Get') and resource ('presigned upload URL'), and explicitly differentiates from URL-based uploads with 'the one case a URL can't cover'.

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 usage instructions: PUT to uploadUrl with the same Content-Type, then pass r2Path to a generation tool. It also notes the 1-hour expiry, giving clear context for when and how to use the tool. The distinction from URL uploads implicitly guides tool selection.

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

A4/5.0
Disambiguation4/5

Each tool targets a distinct workflow: uploads, job/credit management, single-effect photo edits, staging, and video generation. The only mild ambiguity is between declutter_photo and remove_furniture, but the descriptions explicitly contrast them, so an agent can usually pick correctly.

Naming Consistency4/5

Most tools follow a clear verb_noun snake_case pattern like create_upload_ticket, replace_sky, and remove_furniture. A few names are noun phrases rather than verbs—day_to_night, virtual_staging, before_after_reel—but they are still readable and do not break the overall convention badly.

Tool Count5/5

At 15 tools, the server is at the upper edge of the ideal range, but every tool maps to a distinct real-estate photo/video workflow: uploading, credits, job polling, staging, editing, and reveal videos. Nothing feels redundant or unnecessary.

Completeness4/5

The core Pixly workflow is well covered: bring images in via upload, run generation/editing tools, poll jobs, and list results. Minor gaps like job cancellation or generic restyle control exist, but agents can complete the primary photo and video workflows end to end.

Resources