Skip to main content
Glama

update_prompt

Modify existing prompt templates by updating content, variables, models, or metadata to create new versions for improved AI interactions.

Instructions

Update an existing prompt template. Creates a new version with the changes.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
prompt_idYesPrompt ID or slug to update
nameNoNew display name for the prompt
collection_idNoMove to a different collection
stringNoNew prompt template string with {{variable}} mustache syntax
parametersNoNew default values for template variables
modelNoNew model identifier
virtual_keyNoNew virtual key slug
version_descriptionNoDescription for this version
template_metadataNoNew metadata
functionsNoNew function definitions
toolsNoNew tool definitions
tool_choiceNoNew tool choice strategy
dry_runNoWhen true, validate without updating

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/s-b-e-n-s-o-n/portkey-admin-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server