Both tools take the same short meme text and differ only in where the base image comes from. Each description points the model at generate_meme_from_meme_template first and treats generate_meme_by_searching as the exception, which is what stops a vague request from returning something arbitrary off the web. Content guardrails are referenced in the tool description itself rather than left to the caller.
A meme generator with two entry points — one that picks an existing template by description, one that searches the web for the base image.
- Meme creation from a pre-existing template, selected by a description tag rather than by template id.
- Meme creation from a web image search when nothing in the template set fits, driven by a search query written alongside the meme text.
- Two delivery choices on both tools, set per call: save_on_desktop writes the file out, return_tele_sticker hands it back as a Telegram sticker.
A Python 3.10 runtime, and MCP_STICKY_RETURN_IMAGE — an environment switch over how the image comes back, not an account or an API key.
