Skip to main content
Glama

Generate

generate

Make an image, video clip, instrumental track, voiceover or upscale on emero, billed at cost to the user's emero balance.

Follow the generate skill, step by step: load_skill("generate") first and pass its tag as skill. In short: read the brain (get_emero_brain) → decide kind and scope → art direction for projects → video mode → call with confirm:false to get the plan and cost → show it → bind inputs → compose the prompt from the kind's craft skill → call again with confirm:true → check_generation → deliver. Every call carries brain_note: what the user decided since the last generation, or "".

Rules that always hold: the model is the user's choice, never switched for price or balance. One generation per request. Ids only for inputs, never URLs. Video needs video_mode: edit (base_video_id, Kling 4.0: keeps a clip's motion and usually its camera), text, reference (reference_image_ids / reference_video_ids) or frames (start_frame_id / end_frame_id, plus middle_frame_ids on Kling 4.0); references and frames never mix, except on Kling 4.0 where frames mode also takes references. Joining clips is combine_videos, not this tool.

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": {
      "kind": "<kind>",
      "skill": "<skill>",
      "confirm": "<confirm>",
      "brain_note": "<brain_note>"
    },
    "name": "generate"
  }
}

Input Schema

NameRequiredDescriptionDefault
fpsNoupscale: 30 (default) or 60 (2x the price; only when asked).
kindYesWhat to make. upscale = a sharper / bigger version of an existing clip.
textNospeech: the exact words to speak.
modelNoOptional: the user's chosen model (exact id from get_settings). Saved to the project.
skillYesThe tag from the loaded generate skill, e.g. "generate@175".
soundNovideo, on models that generate audio. Saved to the project.
voiceNospeech voice name. Saved to the project.
promptNoimage, video, music. Built from the kind's craft skill (Step 7).
confirmYesfalse: return the plan and cost, spend nothing (generate Step 5). true: run it.
qualityNoimage. Saved to the project.
durationNovideo, seconds. Saved to the project.
source_idNoupscale: the clip to upscale.
brain_noteYesStep 11: what the user decided since the last generation, as one short preference (e.g. "Avoid dark, moody lighting"), or "" if nothing. Saved to this project's Second Brain on confirm:true.
gif_framesNooutput_format gif: frame count, 9 by default.
project_idNoOpaque per-chat project id: "p-" plus 6 random letters and digits. Every chat is a new project. Mint one on your first emero call and pass that SAME id on every call in this chat. Never mint a second one in the same chat, even for a new topic, campaign or subject. Only when the user asks to continue an earlier project, reuse its id from get_emero_brain's project list.
resolutionNovideo. Saved to the project.
svg_tracerNooutput_format svg: the model that traces the vector. terra (default), luna (cheapest, simpler), gpt-5.5 (most detail, priciest).
video_modeNovideo only, required. Decided in Step 4 MODE.
brain_quoteNoWith a brain_note: the user's exact words it comes from.
aspect_ratioNoimage, video. Saved to the project.
end_frame_idNovideo frames mode: the last frame.
project_nameNoShort human title for the project (2-5 words from the user request, e.g. "Perfume ad campaign"). Pass it on your first generate/ingest_url so the project is not left "Untitled". You may also rename at will later — pass an updated project_name (on a generate/ingest_url, or on set_settings with no other change) whenever the user asks, e.g. "call this project cats".
base_video_idNovideo edit mode, Kling 4.0 only: the clip to edit. The output keeps its length and timing, and usually its framing and camera; a prompt asking for a new angle reframed it in testing.
output_formatNoimage, GPT Image 2.6 only: svg (vector) or gif (animated) instead of png. Only when the user asks. See make-image.
prompt_sourceNoWho wrote the prompt. "authored" (default): you wrote it — it must follow the skill's Mandatory Prompt Shape. "user_verbatim": the user gave you this exact text — sent as-is. "template": you filled a skill's prompt template (e.g. product-sheet-prompts).
start_frame_idNovideo frames mode: the first frame.
middle_frame_idsNovideo frames mode, Kling 4.0 only: keyframes between the start and end frame, in order. Needs both.
upscale_resolutionNoupscale: target resolution.
reference_image_idsNoimage (up to 8) or video reference mode. Ids, never URLs.
reference_video_idsNovideo reference mode: clips to borrow motion or camera from.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / skill / description
      Previous value: -"The tag from the loaded generate skill, e.g. \"generate@174\"."New value: +"The tag from the loaded generate skill, e.g. \"generate@175\"."
  2. Changed1 schema field changed
    • changedInput schema / properties / skill / description
      Previous value: -"The tag from the loaded generate skill, e.g. \"generate@172\"."New value: +"The tag from the loaded generate skill, e.g. \"generate@174\"."
  3. Changed1 schema field changed
    • changedInput schema / properties / skill / description
      Previous value: -"The tag from the loaded generate skill, e.g. \"generate@170\"."New value: +"The tag from the loaded generate skill, e.g. \"generate@172\"."
  4. Changed1 schema field changed
    • changedInput schema / properties / skill / description
      Previous value: -"The tag from the loaded generate skill, e.g. \"generate@169\"."New value: +"The tag from the loaded generate skill, e.g. \"generate@170\"."
  5. Changed1 schema field changed
    • changedInput schema / properties / skill / description
      Previous value: -"The tag from the loaded generate skill, e.g. \"generate@167\"."New value: +"The tag from the loaded generate skill, e.g. \"generate@169\"."
  6. Changed1 schema field changed
    • changedInput schema / properties / skill / description
      Previous value: -"The tag from the loaded generate skill, e.g. \"generate@165\"."New value: +"The tag from the loaded generate skill, e.g. \"generate@167\"."
  7. Changed1 schema field changed
    • changedInput schema / properties / skill / description
      Previous value: -"The tag from the loaded generate skill, e.g. \"generate@164\"."New value: +"The tag from the loaded generate skill, e.g. \"generate@165\"."
  8. Changed1 schema field changed
    • changedInput schema / properties / skill / description
      Previous value: -"The tag from the loaded generate skill, e.g. \"generate@162\"."New value: +"The tag from the loaded generate skill, e.g. \"generate@164\"."
  9. Changed2 schema fields changed
    • changedInput schema / properties / base_video_id / description
      Previous value: -"video edit mode, Kling 4.0 only: the clip to edit. The output keeps its length, framing, timing and camera."New value: +"video edit mode, Kling 4.0 only: the clip to edit. The output keeps its length and timing, and usually its framing and camera; a prompt asking for a new angle reframed it in testing."
    • changedInput schema / properties / skill / description
      Previous value: -"The tag from the loaded generate skill, e.g. \"generate@161\"."New value: +"The tag from the loaded generate skill, e.g. \"generate@162\"."
  10. Changed1 schema field changed
    • changedInput schema / properties / skill / description
      Previous value: -"The tag from the loaded generate skill, e.g. \"generate@160\"."New value: +"The tag from the loaded generate skill, e.g. \"generate@161\"."
  11. Changed1 schema field changed
    • changedInput schema / properties / skill / description
      Previous value: -"The tag from the loaded generate skill, e.g. \"generate@159\"."New value: +"The tag from the loaded generate skill, e.g. \"generate@160\"."
  12. Changed1 schema field changed
    • changedInput schema / properties / skill / description
      Previous value: -"The tag from the loaded generate skill, e.g. \"generate@157\"."New value: +"The tag from the loaded generate skill, e.g. \"generate@159\"."
  13. Changed1 schema field changed
    • changedInput schema / properties / skill / description
      Previous value: -"The tag from the loaded generate skill, e.g. \"generate@156\"."New value: +"The tag from the loaded generate skill, e.g. \"generate@157\"."
  14. Changed1 schema field changed
    • changedInput schema / properties / skill / description
      Previous value: -"The tag from the loaded generate skill, e.g. \"generate@155\"."New value: +"The tag from the loaded generate skill, e.g. \"generate@156\"."
  15. Changed1 schema field changed
    • changedInput schema / properties / skill / description
      Previous value: -"The tag from the loaded generate skill, e.g. \"generate@154\"."New value: +"The tag from the loaded generate skill, e.g. \"generate@155\"."
  16. Changed1 schema field changed
    • changedInput schema / properties / skill / description
      Previous value: -"The tag from the loaded generate skill, e.g. \"generate@153\"."New value: +"The tag from the loaded generate skill, e.g. \"generate@154\"."
  17. Changed1 schema field changed
    • changedInput schema / properties / skill / description
      Previous value: -"The tag from the loaded generate skill, e.g. \"generate@152\"."New value: +"The tag from the loaded generate skill, e.g. \"generate@153\"."
  18. Changed1 schema field changed
    • changedInput schema / properties / skill / description
      Previous value: -"The tag from the loaded generate skill, e.g. \"generate@151\"."New value: +"The tag from the loaded generate skill, e.g. \"generate@152\"."
  19. Changed1 schema field changed
    • changedInput schema / properties / skill / description
      Previous value: -"The tag from the loaded generate skill, e.g. \"generate@150\"."New value: +"The tag from the loaded generate skill, e.g. \"generate@151\"."
  20. Changed1 schema field changed
    • changedInput schema / properties / skill / description
      Previous value: -"The tag from the loaded generate skill, e.g. \"generate@148\"."New value: +"The tag from the loaded generate skill, e.g. \"generate@150\"."
  21. Changed4 schema fields changed
    • addedInput schema / properties / gif_frames
      Added value: +{
      +  "description": "output_format gif: frame count, 9 by default.",
      +  "enum": [
      +    4,
      +    9,
      +    16
      +  ],
      +  "type": "number"
      +}
    • addedInput schema / properties / output_format
      Added value: +{
      +  "description": "image, GPT Image 2.6 only: svg (vector) or gif (animated) instead of png. Only when the user asks. See make-image.",
      +  "enum": [
      +    "png",
      +    "svg",
      +    "gif"
      +  ],
      +  "type": "string"
      +}
    • changedInput schema / properties / skill / description
      Previous value: -"The tag from the loaded generate skill, e.g. \"generate@147\"."New value: +"The tag from the loaded generate skill, e.g. \"generate@148\"."
    • addedInput schema / properties / svg_tracer
      Added value: +{
      +  "description": "output_format svg: the model that traces the vector. terra (default), luna (cheapest, simpler), gpt-5.5 (most detail, priciest).",
      +  "enum": [
      +    "terra",
      +    "luna",
      +    "gpt-5.5"
      +  ],
      +  "type": "string"
      +}
  22. Changed1 schema field changed
    • changedInput schema / properties / skill / description
      Previous value: -"The tag from the loaded generate skill, e.g. \"generate@146\"."New value: +"The tag from the loaded generate skill, e.g. \"generate@147\"."
  23. Changed1 schema field changed
    • changedInput schema / properties / skill / description
      Previous value: -"The tag from the loaded generate skill, e.g. \"generate@145\"."New value: +"The tag from the loaded generate skill, e.g. \"generate@146\"."
  24. Changed1 schema field changed
    • changedInput schema / properties / skill / description
      Previous value: -"The tag from the loaded generate skill, e.g. \"generate@144\"."New value: +"The tag from the loaded generate skill, e.g. \"generate@145\"."
  25. Changed3 schema fields changed
    • addedInput schema / properties / base_video_id
      Added value: +{
      +  "description": "video edit mode, Kling 4.0 only: the clip to edit. The output keeps its length, framing, timing and camera.",
      +  "type": "string"
      +}
    • changedInput schema / properties / skill / description
      Previous value: -"The tag from the loaded generate skill, e.g. \"generate@143\"."New value: +"The tag from the loaded generate skill, e.g. \"generate@144\"."
    • changedInput schema / properties / video_mode / enum
      Previous value: -[
      -  "text",
      -  "reference",
      -  "frames"
      -]New value: +[
      +  "edit",
      +  "text",
      +  "reference",
      +  "frames"
      +]
  26. Changed1 schema field changed
    • changedInput schema / properties / skill / description
      Previous value: -"The tag from the loaded generate skill, e.g. \"generate@142\"."New value: +"The tag from the loaded generate skill, e.g. \"generate@143\"."
  27. Changed1 schema field changed
    • changedInput schema / properties / skill / description
      Previous value: -"The tag from the loaded generate skill, e.g. \"generate@141\"."New value: +"The tag from the loaded generate skill, e.g. \"generate@142\"."
  28. Changed2 schema fields changed
    • addedInput schema / properties / middle_frame_ids
      Added value: +{
      +  "description": "video frames mode, Kling 4.0 only: keyframes between the start and end frame, in order. Needs both.",
      +  "items": {
      +    "type": "string"
      +  },
      +  "maxItems": 8,
      +  "type": "array"
      +}
    • changedInput schema / properties / skill / description
      Previous value: -"The tag from the loaded generate skill, e.g. \"generate@140\"."New value: +"The tag from the loaded generate skill, e.g. \"generate@141\"."
  29. Changed1 schema field changed
    • changedInput schema / properties / project_id / description
      Previous value: -"Opaque per-chat project id. Mint one on your first emero action, pass that SAME id every call. One project per chat: NEVER mint a second for a new topic/campaign/subject/vibe — all stay in the one project; a new id is only for a new chat (server folds a stray id back in). A new chat the user says continues an earlier project reuses that project's id (from get_emero_brain's project list)."New value: +"Opaque per-chat project id: \"p-\" plus 6 random letters and digits. Every chat is a new project. Mint one on your first emero call and pass that SAME id on every call in this chat. Never mint a second one in the same chat, even for a new topic, campaign or subject. Only when the user asks to continue an earlier project, reuse its id from get_emero_brain's project list."
  30. First observed

TDQS

A4.6/5.0
Behavior4/5

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

Annotations only declare the generic write/open-world profile; the description goes much further by disclosing that the call is billed to the user's balance, that confirm:false spends nothing, and that brain_note and model are persisted to the project on confirm:true. It also states a behavioral policy (the model is never switched for price or balance) that no structured field carries. Minor gaps remain, such as failure modes or cost magnitude, keeping it short of a 5.

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?

The one-line summary of what is produced and billed is front-loaded, followed by workflow, then invariant rules, which is good ordering for a 30-parameter tool. The compressed arrow chain of steps is dense and partly duplicates schema step references, so it is efficient rather than perfectly tight.

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 30-parameter, four-mode generation tool with no output schema, the description supplies the full operating procedure, the confirm/cost gate, the ID-only input rule, video mode branching, and the brain_note obligation. Nothing an agent needs in order to call it correctly and safely appears to be missing.

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, but the description adds cross-parameter constraints the schema cannot express: references and frames never mix except on Kling 4.0, video_mode's four values are mapped to which id fields each requires, and inputs must be ids, never URLs. Some of these rules are also restated in the schema, limiting the added value slightly.

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 names the exact resources produced (image, video clip, instrumental track, voiceover, upscale) and the platform, plus the billing consequence. The closing sentence explicitly excludes clip joining and routes it to combine_videos, so an agent can distinguish this from its siblings 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 Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

It names prerequisites (load_skill("generate") first, pass its tag), a conditional mode decision step, and an explicit two-call protocol (confirm:false for plan/cost, then confirm:true). Exclusions are stated too: joining clips is combine_videos, and one generation per request.

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.