Skip to main content
Glama
cardinalblue

Prompt Book Server

Official
by cardinalblue

update_prompt

Update a stored AI prompt by its ID to change its name, tags, type, or detailed content, keeping prompt collections accurate.

Instructions

Update an existing prompt in the database

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameNoNew name for the prompt (optional)
tagsNoNew list of tags for the prompt (optional)
typeNoNew type for the prompt (optional). Use the list_all_types tool to check existing types.
prompt_idYesID of the prompt to update
detailed_promptNoNew detailed content for the prompt (optional)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.5

TDQS

C2.9/5.0
Behavior2/5

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

With no annotations, the description carries the full burden of behavioral disclosure. It only says 'Update', implying mutation, but does not explain whether optional fields are replaced wholesale, what happens to omitted fields, whether changes are reversible, or what the response contains. This is a significant gap for a mutating tool.

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 a single concise sentence with no wasted words. It is front-loaded with the core action, but it could have added useful behavioral details without becoming bloated.

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

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a mutation tool with no annotations and no output schema, this description is too thin. It does not explain behavior on partially specified updates, return values, or failure conditions, and it gives no guidance relative to sibling tools. The schema covers parameters, but not the operational context an agent needs.

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

Parameters3/5

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

Schema description coverage is 100%, so the baseline is 3. The description itself adds no parameter-level meaning, but the schema already documents each parameter, including optionality and the hint to use list_all_types for the type parameter.

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?

The description states a clear verb and resource: 'Update an existing prompt in the database.' It distinguishes this mutation tool from creation or read tools, though it does not explicitly contrast with siblings like copy_prompt or add_prompt.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

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

There is no guidance on when to use this tool versus alternatives. It does not mention prerequisites, nor does it explain situations where another tool such as add_prompt or copy_prompt would be more appropriate.

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