Skip to main content
Glama

Make an AI image for a slide

make_slide_image

For a studio slideshow made from the user's own photos, once its slides are made: an AI image from your description (prompt) goes on one slide, with that slide's words drawn over it, and is saved in the user's photos too. reference_media_id (optional, any of the user's photos) is sent to the image model, which keeps its subject and look and changes what the prompt describes. Costs what one AI slide does (get_credits shows the balance; usually 1 credit), refunded if it fails. Takes about 20 seconds. Leave the slide's words out of the prompt: they are drawn on afterwards.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "slideshow_id": "<slideshow_id>",
      "slide": "<slide>",
      "prompt": "<prompt>"
    },
    "name": "make_slide_image"
  }
}

Input Schema

NameRequiredDescriptionDefault
fitNofill (default) crops it to the 9:16 slide; whole shows all of it
slideYesSlide number, from 1
promptYesWhat the picture shows, up to 600 characters
slideshow_idYesFrom get_slideshow
reference_media_idNoOptional: one of the user's photos for the AI to base it on

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.2/5.0
Behavior3/5

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

Annotations already declare this writes data (readOnlyHint=false, destructiveHint=false, openWorldHint=true), so safety is largely covered. The description adds real value on top: credit cost with refund on failure, ~20 second latency, the composite effect of text overlaid afterwards, and the extra side effect of saving into the user's photos. Missing is any note on overwriting an existing slide image or auth/ownership requirements.

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 and front-loaded with the precondition before the action, and nearly every clause carries operational information. It is a single long run-on sentence, though, which makes the credit and latency facts easy to skim past.

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 5-parameter tool with no output schema, the description covers preconditions, cost, latency, side effects, and the key prompting constraint. An agent has everything needed to decide to call it and to build a correct request.

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 the baseline is 3, and the description goes beyond it by explaining what reference_media_id actually does to the model output ('keeps its subject and look and changes what the prompt describes') and by constraining prompt content. It does not explain 'fit' or 'slide' beyond the schema, so it is not a 5.

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 names a specific verb and resource ('an AI image from your description (prompt) goes on one slide') and even pins the exact placement and side effects: words drawn over it, saved into the user's photos. It is clearly distinguishable from siblings like swap_slide_photo or find_slide_photos without opening a schema.

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 gives an explicit applicability precondition: only for a studio slideshow built from the user's own photos, and only once its slides exist. It also supplies a concrete prompting rule ('leave the slide's words out of the prompt'). It stops short of naming an alternative tool for the case where those preconditions fail, so a 4 rather than a 5.

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