Skip to main content
Glama

Prepare to add prompts

prepare_add_prompts

Preview adding 1–50 prompts to a prompt set: which can be added, which are dropped and why, and prompt slots after. Nothing changes until the user agrees and you call confirm_change; confirmed prompts are measured from the next audit.

Input Schema

NameRequiredDescriptionDefault
promptsYesThe prompts to add, each a short buyer question.
project_idYesA project id that list_projects returned.
prompt_set_idNoA prompt set id from read_prompt_portfolio; omit when the project has only one prompt set.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / prompts / items / properties / topic_id / description
      Previous value: -"A topic id create_topic returned; omit for none."New value: +"A topic id from read_prompt_portfolio topics or create_topic; omit for none."
  2. Changed7 schema fields changed
    • addedInput schema / properties / project_id / description
      Added value: +"A project id that list_projects returned."
    • addedInput schema / properties / prompt_set_id / description
      Added value: +"A prompt set id from read_prompt_portfolio; omit when the project has only one prompt set."
    • addedInput schema / properties / prompts / description
      Added value: +"The prompts to add, each a short buyer question."
    • addedInput schema / properties / prompts / items / properties / cohort / description
      Added value: +"core prompts are scored (the default); comparison prompts name competitors and are reported separately."
    • addedInput schema / properties / prompts / items / properties / intent / description
      Added value: +"What the buyer is trying to do, in a few words; optional."
    • addedInput schema / properties / prompts / items / properties / text / description
      Added value: +"A short question a buyer would ask an AI assistant, answerable by naming a business."
    • addedInput schema / properties / prompts / items / properties / topic_id / description
      Added value: +"A topic id create_topic returned; omit for none."
  3. First observed

TDQS

A4.3/5.0
Behavior4/5

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

Annotations only declare readOnly=false/destructive=false; the description adds the crucial lifecycle detail that nothing mutates until confirm_change, and that confirmed prompts are measured from the next audit — behavior an agent could not infer from structured fields. It does not say whether a prepared change expires or can be re-run over an existing pending change.

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 dense sentences, front-loaded with the action and its output, followed by the safety/commit contract. No filler and nothing buried.

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?

With no output schema, the description compensates by naming exactly what the preview returns (addable, dropped + reason, resulting slots), and the two-phase commit requirement is spelled out. For a staging mutation tool this covers everything needed to invoke it correctly.

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 coverage is 100% and each parameter and nested prompt field is documented in the schema, so the baseline is 3. The description's '1–50 prompts' and 'to a prompt set' restate limits and scoping already encoded in minItems/maxItems and prompt_set_id's description, adding little new meaning.

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+resource ('preview adding 1–50 prompts to a prompt set') and enumerates the preview payload (which can be added, which are dropped and why, slot counts after). The explicit hand-off to confirm_change separates it from the sibling that actually commits the change.

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?

'Nothing changes until the user agrees and you call confirm_change' gives the gating condition and names the follow-up tool, so the agent knows this is step one of a two-phase flow. It stops short of contrasting with prepare_archive_prompts or stating when not to use it (e.g., already-prepared change pending).

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