Skip to main content
Glama

Generate a meme image

generate_meme
Read-onlyIdempotent

Render a classic top/bottom-caption meme as a PNG. Give it an image (base64, data URI, or public URL) or pick a gradient style, and it returns captioned meme artwork.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "generate_meme"
  }
}

Input Schema

NameRequiredDescriptionDefault
topNo
imageNoBase image as base64, a data URI, or a public URL. Private addresses are refused. 10 MB cap. Omit to use a gradient style background.
upperNoUppercase captions, classic meme style.
bottomNo
styleIdNoGradient style id when no image is given: sunset, ocean, grape, forest, mono, candy. Default: sunset.
fontScaleNoCaption size multiplier.

Output Schema

NameRequiredDescriptionDefault
pngYesPNG bytes, base64 encoded.
widthYes
heightYes
mimeTypeYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / additionalProperties
      Added value: +false
  2. Added

TDQS

A3.6/5.0
Behavior3/5

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

With readOnlyHint, openWorldHint, and idempotentHint already declared, the description adds that the result is a PNG of captioned meme artwork, confirming the output format. It does not disclose anything about fetching remote URLs (beyond the schema's note that private addresses are refused), output dimensions, or failure behavior for oversized/invalid input.

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 sentences, no filler, with the primary output (a captioned PNG) front-loaded. Every clause carries information about either what is produced or what is required to produce it.

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?

An output schema exists, so return-value detail is not needed, and the description correctly conveys the essential shape: optional image input or gradient fallback, produces captioned PNG. For a zero-required-parameter generator this is nearly complete, with only caption-field behavior left implicit.

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 coverage is 67%, so most parameters are already documented structurally. The description restates the image-vs-gradient choice and the accepted image encodings (base64, data URI, public URL), but says nothing about top, bottom, upper, or fontScale, so it doesn't compensate for the remaining coverage gap.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/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 ('Render a classic top/bottom-caption meme as a PNG'), which tells an agent exactly what artifact it produces. It doesn't name or contrast with any sibling tool, but no sibling in the provided list overlaps with meme generation, so the lack of explicit differentiation is a minor gap rather than ambiguity.

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 implies two usage modes — supply a base image, or omit it and pick a gradient style — which is useful routing information. There is no explicit when-to-use/when-not-to-use framing and no mention of alternatives or prerequisites beyond the input-mode choice.

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.