Skip to main content
Glama

Upload media to Cloudinary

cloudinary_upload

Upload a local file or import a remote URL into Cloudinary using built-in credentials, returning a public HTTPS delivery URL and metadata for Buffer publishing.

Instructions

Upload a local file (or import a remote URL) through the built-in Cloudinary credentials and return the public HTTPS delivery URL plus metadata. This is the only supported upload path; credentials never leave this process.

Input Schema

NameRequiredDescriptionDefault
urlNoRemote URL for Cloudinary to fetch instead of a local file.
pathNoAbsolute or relative local file path.
folderNoCloudinary folder override.
confirmNoMust be "upload".
publicIdNoCloudinary public_id override.
resourceTypeNoauto (default), image, or video. auto lets Cloudinary detect the type.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare openWorldHint, non-idempotent, non-destructive. The description adds meaningful context beyond that: built-in credentials that never leave the process, and the fact it returns a public HTTPS URL plus metadata. It does not mention the required confirm='upload' guard, which would have made it a 5.

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 tight sentences with the core action front-loaded and no wasted wording. Every clause earns its place.

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 correctly covers the return value (public HTTPS URL plus metadata) and the credential model. It is nearly complete for an upload tool, though it omits any note on the confirm guard or size/type constraints.

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 every parameter is already documented in the schema. The description only restates the local-file/remote-URL duality and adds no format or precedence detail beyond the schema, so the baseline of 3 applies.

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 and resource (upload/import media to Cloudinary) and covers both modes (local file vs remote URL). The line 'This is the only supported upload path' implicitly separates it from the sibling cloudinary_upload_batch.

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

Usage Guidelines3/5

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

It notes it is the only supported upload path and accepts a local file or remote URL, which implies when to use it. However, it never explicitly names the alternative (cloudinary_upload_batch) or states exclusions, so the agent must still infer the single-vs-batch choice.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.