Skip to main content
Glama

Upload or Generate Asset

upload_asset

Upload logos, images, templates, PDFs, or PPTX files for PowerPoint generation; AI-generate images, translate decks, and convert PDFs or slide images into editable slides.

Instructions

Upload assets for PowerPoint (.pptx) generation: company template, logo, image, or document — or AI-generate an image.

Purposes: • logo — company logo for chrome (PNG/JPG/SVG, max 5MB) → logo_id • image — image for the Image component (max 10MB) → asset_id • theme — company template PPTX → theme_id; slides with it render NATIVELY on the template (masters/layouts/chrome) • generate_image — AI-generate via prompt → asset_id ($0.05) • translate — PPTX to translate → deck job_id ($0.02/slide; requires target_language) • pdf — PDF → editable slides; pass target_language to also translate • recreate — image OF a slide → editable PPTX slide ($0.10; honest annotate/preserve fallback, refusals free). Use image to just place a picture

Files >3MB (pdf/translate/theme) — and recreate on chat hosts — omit data: a drop-zone appears in the result card; bytes never pass through the agent.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
dataNoBase64-encoded file content. Required for logo/image/theme/translate. Optional for pdf — omit to get a drop-zone (recommended for files >3MB).
sizeNoImage dimensions for generate_image (default 1024×1024)
modelNoExplicit gateway model ID. Overrides `quality`.
promptNoImage description (required when purpose=generate_image)
purposeYesAsset type (required). brand = a .pptx/.potx corporate template imported as your brand kit (theme is the same thing under its old name).
qualityNodraft = Flux Schnell. balanced (default) = Gemini Flash Image. premium = Imagen 4 Fast. Overridden by `model`.
filenameNoOriginal filename (for type detection)
positionNoLogo position: top-left / top-right / bottom-left / bottom-right
theme_nameNoName for extracted theme (purpose=theme)
target_languageNoRequired for purpose=translate. Optional for purpose=pdf — chains pdf→pptx→translate in one call.

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. Changed2 schema fields changedv5.9.0
    • changedInput schema / properties / purpose / description
      Previous value: -"Asset type (required)"New value: +"Asset type (required). brand = a .pptx/.potx corporate template imported as your brand kit (theme is the same thing under its old name)."
    • changedInput schema / properties / purpose / enum
      Previous value: -[
      -  "logo",
      -  "image",
      -  "theme",
      -  "generate_image",
      -  "translate",
      -  "pdf"
      -]New value: +[
      +  "logo",
      +  "image",
      +  "theme",
      +  "brand",
      +  "generate_image",
      +  "translate",
      +  "pdf",
      +  "recreate"
      +]
  2. First observedv5.5.4

TDQS

A5/5.0
Behavior5/5

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

Annotations only signal that this is not read-only, not idempotent, and not destructive. The description goes far beyond that by disclosing prices, native template rendering, the drop-zone fallback ('bytes never pass through the agent'), and the recreate fallback behavior with free refusals.

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 dense but extremely well-structured: a one-sentence summary followed by purpose bullets, each containing only unique facts (ID returned, cost, size limit, fallback behavior). There is no fluff or repeated information.

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?

All eight purposes are explained with their required parameters, return IDs, costs, and edge-case handling. With no output schema, the description still prepares the agent for what each call yields (logo_id, asset_id, theme_id, deck job_id), making it complete enough to invoke correctly.

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

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Although schema coverage is 100%, the description adds critical meaning not in the schema: size limits (logo 5MB, image 10MB), per-purpose costs, the effect of omitting data for pdf/translate/theme, and the brand/theme alias. This is exactly the kind of parameter context an agent needs.

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 opening sentence states a specific verb ('Upload assets... or AI-generate an image') and resource ('assets for PowerPoint (.pptx) generation'), then breaks down eight distinct purposes. This makes it unmistakable that this tool is the asset-ingestion/generation entry point, and none of the sibling tools handle this scope.

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 bullet list acts as a decision table: each purpose explains when to use it, what it returns, and any special requirements (e.g., target_language for translate). It also gives direct routing advice like 'Use image to just place a picture' for recreate, and recommends omitting data for files >3MB to trigger a drop-zone.

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

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/smartdatabrokers/slideforge-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server