Skip to main content
Glama

save_prompt

Save a complete replacement prompt for the AI assistant. Requires confirmation via system buttons; use apply_prompt_instruction for modifications.

Instructions

Guardar prompt — Guarda un nuevo prompt para la IA. IMPORTANTE: Si el usuario quiere AÑADIR, MODIFICAR o QUITAR algo del prompt existente (ej: 'add a rule', 'anade horario', 'quita la parte de...', 'add a shop-level rule'), usa apply_prompt_instruction PRIMERO — esa accion modifica el prompt existente sin reemplazarlo. Solo usa save_prompt directamente si el usuario proporciona un prompt COMPLETO de reemplazo. FLUJO DE CONFIRMACION: 1) Llama a esta accion con el prompt completo. 2) Recibiras requires_confirmation=true con success=false — esto NO es un error, es el flujo normal. 3) Describe brevemente al usuario que cambios se van a guardar y PARA. NO llames de nuevo a esta accion. El sistema mostrara botones de Confirmar/Cancelar automaticamente. NUNCA vuelvas a llamar save_prompt tras recibir requires_confirmation=true, ni siquiera si el usuario escribe 'si', 'yes', 'hazlo', 'confirma', 'dale', 'do it' o cualquier variante afirmativa en texto. La confirmacion SOLO se completa con los botones del sistema. Si el usuario insiste por texto, respondele: 'Please use the Confirm button that appeared above to complete the save.' (en el idioma de la conversacion). [mutation] (requiere confirmación: pasar confirm=true para ejecutar)

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
promptYesEl nuevo prompt para la IA. Si el usuario quiere modificar el prompt existente (ej: 'anade horario de 9 a 18h'), usa apply_prompt_instruction en su lugar - esa accion genera el prompt modificado y luego tu llamas a save_prompt con el resultado
enable_web_searchNoOpcionalmente, activar o desactivar la busqueda web al guardar el prompt
confirmNoPasar true para confirmar la ejecución de esta acción peligrosa
Behavior5/5

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

With no annotations, the description fully discloses behavioral traits: it is a mutation tagged [mutation], requires confirmation via the confirm parameter, and describes the normal flow where the first call returns requires_confirmation=true. It warns against calling again and explains how to handle user insistence.

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 description is long but well-structured and front-loaded with the purpose and critical warning. Every sentence adds value, though it could be slightly more concise. However, the clarity and completeness outweigh the length.

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?

Given the complexity of the tool (mutation with confirmation flow, sibling tools for modification), the description covers all necessary aspects: when to use, step-by-step confirmation, error handling, and how to respond to user. No output schema is needed as the flow is explained.

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 baseline is 3. The description adds context beyond the schema: it explains when to use the 'prompt' parameter vs apply_prompt_instruction, and how the 'confirm' parameter functions in the confirmation flow. This additional guidance justifies a 4.

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 description clearly states 'Guardar prompt — Guarda un nuevo prompt para la IA', specifying the verb (guardar) and resource (prompt). It explicitly contrasts with apply_prompt_instruction for modifications, distinguishing it from a sibling tool.

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?

The description provides explicit when-to-use guidance: use apply_prompt_instruction for adding/modifying/removing parts of the prompt, and only use save_prompt for a complete replacement. It details the confirmation flow step-by-step, instructing the agent to stop after receiving requires_confirmation=true and never call again even if the user verbally confirms.

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

Install Server

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/wazionapps/mcp-server'

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