Skip to main content
Glama

Save a generation prompt

character_prompt_save

Save a written generation prompt to a character's prompts folder as a markdown file, replacing the previous prompt of that kind so each character keeps one current concept, illustration, voice, video, song, or theme prompt.

Instructions

Saves one written generation prompt into the character's prompts/ folder as .md (overwrites the previous one of that kind).

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": {
      "id": "<id>",
      "kind": "<kind>",
      "sections": "<sections>"
    },
    "name": "character_prompt_save"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesCharacter id.
kindYesconcept = A-pose sheet · illustration = key-art scene · voice = TTS voice design · video = image-to-video clip (Kling, Veo and similar) · song = Suno · theme = instrumental leitmotif (ElevenLabs Music composition plan)
sectionsYesNamed sections, as listed in the brief.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv0.3.3
    • changedInput schema / properties / kind / description
      Previous value: -"concept = T-pose sheet · illustration = key-art scene · voice = TTS voice design · video = Seedance-style clip · song = Suno · theme = instrumental leitmotif (ElevenLabs Music composition plan)"New value: +"concept = A-pose sheet · illustration = key-art scene · voice = TTS voice design · video = image-to-video clip (Kling, Veo and similar) · song = Suno · theme = instrumental leitmotif (ElevenLabs Music composition plan)"
  2. First observedv0.3.1

TDQS

A3.7/5.0
Behavior3/5

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

With no annotations, the description carries the full burden, and it does disclose the key behavioral trait: the previous prompt of that kind is overwritten, and the file lands in the character's prompts/ folder. It says nothing about permissions, whether the folder is created if absent, validation failures, or what is returned, which are meaningful gaps for a destructive write.

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?

A single sentence with zero filler; the destination and the overwrite consequence are both front-loaded and the parenthetical is doing genuine work rather than restating the name.

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?

For a simple three-parameter write with no output schema, the description covers destination, naming convention, and overwrite semantics, which is most of what an agent needs. It stops short of describing failure modes or return behavior, but nothing critical is missing for correct invocation.

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 real meaning beyond the schema by tying the kind parameter to the on-disk filename (<kind>.md) and clarifying that only one prompt per kind exists. The id and sections parameters are left to the schema, which already documents them well.

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?

States a specific verb (saves) and resource (a written generation prompt) plus the exact destination path and filename convention (<kind>.md). It does not name a sibling such as character_prompt for reading, so differentiation is left implicit, but the write-and-overwrite framing is unambiguous.

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?

Usage is only implied: the overwrite parenthetical hints that this is the way to replace an existing prompt of a given kind, but there is no explicit when-to-use, when-not-to-use, or pointer to the read-side sibling (character_prompt). An agent can infer intent but gets no routing guidance.

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