Skip to main content
Glama

Save a new prompt version

save_prompt_version_from_chat

Save a new version of an existing prompt. Owners and Personal-space prompts update directly (older versions are kept); in team spaces, Members submit an edit proposal for review.

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": {
      "prompt_id": "<prompt_id>",
      "new_content": "<new_content>"
    },
    "name": "save_prompt_version_from_chat"
  }
}

Input Schema

NameRequiredDescriptionDefault
prompt_idYes
change_noteNoUpdated via AI Chat
new_contentYes

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • removedInput schema / properties / api_key
      Removed value: -{
      -  "default": "",
      -  "type": "string"
      -}
  2. First observed

TDQS

A4/5.0
Behavior4/5

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

Annotations declare a non-read-only, non-destructive, non-idempotent write; the description adds the crucial behavioral detail that older versions are retained and that in team spaces the call may not mutate the prompt at all but instead file an edit proposal. That is exactly the kind of outcome an agent could not infer from the annotations. It stops short of stating permission failure modes or whether repeated calls stack multiple proposals.

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, front-loaded with the action and followed by the role-dependent behavior. No filler or repetition of the title.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/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 values need not be described, and the role-based branching is well covered. However, with three parameters at zero schema coverage, the absence of any parameter guidance leaves an agent guessing about change_note and the required content shape.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, so the description carries the full burden, yet it explains none of the three parameters. change_note, including its default "Updated via AI Chat", and the expected format of new_content are entirely undocumented, leaving only prompt_id inferable from name.

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?

States a specific verb and resource ("Save a new version of an existing prompt"), which cleanly separates it from the sibling that creates brand-new prompts. An agent can tell what is being produced (a version, not a prompt) and of what (an existing prompt).

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?

Gives concrete conditional guidance: owners and Personal-space prompts update directly, while team-space Members trigger a review proposal instead. It does not name sibling alternatives (e.g., create_prompt_from_chat for new prompts), but the when-to-use context is clear enough to select the tool correctly.

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