Skip to main content
Glama

Upload image

upload_image

Upload your own image (https link or base64) to use in carousels; returns photo_id for edit_carousel set_photo.

Input Schema

NameRequiredDescriptionDefault
image_urlNoPublic https URL of a JPEG/PNG/WebP image.
image_base64NoThe image file as base64 (JPEG/PNG/WebP), used when there is no URL.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already declare this is a non-read-only, non-idempotent, non-destructive, closed-world operation. The description adds meaningful context beyond annotations by disclosing the return value (photo_id) and its intended consumer (edit_carousel set_photo). It does not mention upload limits, authentication requirements, or what happens on failure, which keeps it from 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?

The description is a single front-loaded sentence with zero waste. It packs the action, input forms, use case, and return value into one compact statement.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a simple two-parameter upload tool with no output schema and fully documented input parameters, the description supplies the missing return-value information (photo_id) and tells the agent exactly where that value is consumed. Nothing critical is missing for correct invocation.

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 both image_url and image_base64 are fully documented in the schema itself, including accepted formats and the fallback relationship between them. The description only echoes the two input forms without adding syntax or constraints beyond the schema, so the baseline 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?

The description states a specific verb and resource ('Upload your own image'), specifies the accepted input forms (https link or base64), and names the downstream purpose (use in carousels). It clearly distinguishes this tool from siblings like create_carousel or create_carousel_from_video by identifying it as the media-upload step that feeds edit_carousel set_photo.

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 usage context: upload an image to use in carousels, and the returned photo_id is for edit_carousel set_photo. It does not explicitly name when-not-to-use or alternative tools, but the downstream handoff provides enough guidance for an agent to place this tool correctly in a workflow.

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.