Skip to main content
Glama

Prepare Upload

mcp_prepare_upload

App-only: create an Inbox interview and return a presigned R2 upload URL (or multipart upload_id for large files). Pass interview_id (+ upload_id for multipart) to resume without a new card.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
titleNoOptional interview title (defaults to sanitized filename).
filenameYesOriginal filename.
upload_idNoOptional multipart upload id from a previous prepare (resume).
size_bytesYesFile size in bytes.
content_typeNoMIME type for the PUT (optional).
interview_idNoOptional: existing empty interview UUID — resume upload without creating a new card.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior4/5

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

Beyond the readOnlyHint=false and destructiveHint=false annotations, the description discloses that calling it creates an Inbox interview and that passing interview_id avoids creating a new card. This adds meaningful side-effect context for a mutation tool.

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 deliver the core action, output type, multipart condition, and resume behavior with no filler. The key information is front-loaded.

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?

With no output schema, the description appropriately names the return values: presigned R2 upload URL or multipart upload_id. It covers resume behavior and large-file handling, though it does not specify response field names or next-step workflow with sibling confirm/sign tools.

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%, and each parameter already has a meaningful description in the input schema. The tool description adds general context about multipart and resume behavior but does not significantly enrich the parameter semantics beyond what the schema already provides.

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 states a specific verb and resource: 'create an Inbox interview' and return a presigned R2 upload URL or multipart upload_id. It clearly distinguishes this prepare step from the sibling confirm/sign tools by describing the preparation role.

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

Usage Guidelines4/5

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

The description gives clear context: it is app-only, handles both single-upload and large-file multipart cases, and explains how to resume with interview_id and upload_id. It does not explicitly name alternatives or exclusions, but the intended use is well implied.

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