Skip to main content
Glama

Start image upload

start_image_upload

For assistants that can run shell commands: upload a local image directly.

When upload_method is PUT, send the raw file with upload_headers, e.g. curl -f -X PUT -H "Content-Type: image/jpeg" --data-binary @cake.jpg "<upload_url>"; when it is POST, send multipart/form-data with every field in upload_fields plus file, e.g. curl -f -F key=... -F file=@cake.jpg "<upload_url>". Do it within expires_in_seconds, then call confirm_image_upload.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
filenameYesFile name, e.g. cake.jpg
size_bytesYesExact file size in bytes
content_typeYesimage/jpeg, image/png or image/webp

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.6/5.0
Behavior4/5

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

Annotations only declare the safety profile (readOnlyHint=false, destructiveHint=false, openWorldHint=false); the description adds substantive behavior beyond them, including the method-dependent transport (PUT raw body vs POST multipart with upload_fields plus file) and the expiry constraint ('Do it within expires_in_seconds'). It does not say what happens on expiry or on failure, so it falls short of fully disclosing edge behavior.

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?

The description is information-dense and every sentence delivers actionable detail, with two concrete curl examples that remove ambiguity about the two upload methods. It is slightly front-loads jargon (`upload_method`, `upload_headers`, `upload_fields`) before those names are grounded, requiring one read-through, but there is 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?

For a two-step flow with an output schema, the description covers the essential path: initiate, upload within the expiry window, then confirm. Expiry/failure handling and quota or auth implications are not addressed, but nothing needed to invoke it correctly is missing.

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 filename, content_type and size_bytes are already documented in the schema and the description adds no meaning to them. The terms it does illuminate (upload_url, upload_headers, upload_fields, expires_in_seconds) are outputs, not inputs, so the baseline 3 is appropriate.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

The opening clause ('upload a local image directly') gives a rough verb+resource, but the tool itself only initiates an upload session, and the description never states that it returns an upload URL, headers and fields for a subsequent PUT/POST. It also does not distinguish itself from start_video_upload or differentiate from the separate confirm step beyond naming it at the end.

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?

It explicitly scopes the audience ('For assistants that can run shell commands') and prescribes the follow-on action ('then call confirm_image_upload'), giving a clear sequencing context. It stops short of naming alternatives (e.g. start_video_upload for video, request_upload_link) or stating when this tool should not be used.

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.