Skip to main content
Glama

Create Agent Logo Upload Tool

create_agent_logo_upload

Start uploading a logo image for one of the team's agents (the watermark shown on rendered clips when composition_parameters.logo_watermark_enabled is true). Pass the agent id (a hashid from list_agents), the filename, and the image content_type (one of: image/jpeg, image/png, image/gif).

Returns a presigned upload_url and a logo_key. Upload the raw image bytes to the url with a single HTTP PUT (no extra headers needed), e.g.: curl -X PUT --upload-file ./logo.png "" Then call set_agent_logo with the same agent and logo_key to attach it.

The image must be 2 MB or smaller. The url expires (see expires_in_seconds).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
sizeNoOptional image size in bytes. Rejected up front if over the 2 MB limit; the actual uploaded size is re-checked on set_agent_logo.
agentYesThe agent id (hashid) from list_agents to attach the logo to.
filenameYesThe image file name, e.g. "logo.png".
content_typeYesThe image MIME type: image/jpeg, image/png, or image/gif.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.6/5.0
Behavior4/5

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

Annotations are empty, so the description carries the full burden—and it meets it well: it discloses that the tool only returns a presigned URL (doesn't attach the logo), that the upload is a separate HTTP PUT, that the URL expires, and that set_agent_logo must follow. It doesn't state failure modes or whether upload_url is single-use, but the core behavior is transparent.

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?

Dense but organized: purpose first, then parameters, then the upload workflow with a concrete curl example. The curl example adds length but earns its place by clarifying the exact follow-up step.

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?

With no annotations and no output schema, the description still covers inputs, return values (upload_url, logo_key, expires_in_seconds), the mandatory follow-up set_agent_logo call, size and expiry constraints, and the required HTTP method. An agent can execute the full flow from this text alone.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/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 adds value by clarifying where agent comes from (list_agents), which content types are allowed, the 2 MB limit, and how the optional size parameter is used. This goes beyond the schema without duplicating it.

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 opens with a specific verb and resource: 'Start uploading a logo image' for a team agent, and immediately clarifies the purpose (watermark when logo_watermark_enabled). It clearly distinguishes the create-upload step from the later set_agent_logo attachment step, so an agent knows exactly what this tool does.

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?

The description gives an explicit workflow: pass agent (from list_agents), filename, and content_type, get a presigned URL, PUT raw bytes without extra headers, then call set_agent_logo. It also states the 2 MB size constraint and that the URL expires, which are key usage constraints. Sibling tool distinction is implicit but sufficient.

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