Skip to main content
Glama

Prepare to launch an audit

prepare_launch_audit

Preview launching an audit of a prompt set (or chosen prompts) on the given engines, with the prompt runs it can spend and its maximum provider attempts. Pass market_ids (from the project context; null is the default market) to run one audit per market. Pass max_attempts to cap the attempts. Nothing runs until the user agrees and you call confirm_change.

Input Schema

NameRequiredDescriptionDefault
enginesYesThe AI engines to ask; at least one.
market_idsNoMarket ids from get_project_business_context; null is the default market. Omit for the default market only.
project_idYesA project id that list_projects returned.
prompt_idsNoPrompt ids from read_prompt_portfolio to audit only those; omit for every active prompt in the set.
repetitionsNoHow many times each prompt is asked per engine; omit for the project default.
max_attemptsNoThe most provider attempts the user accepts; omit to use the estimate. The launch is refused if it needs more.
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. Changed7 schema fields changed
    • addedInput schema / properties / engines / description
      Added value: +"The AI engines to ask; at least one."
    • addedInput schema / properties / market_ids / description
      Added value: +"Market ids from get_project_business_context; null is the default market. Omit for the default market only."
    • addedInput schema / properties / max_attempts / description
      Added value: +"The most provider attempts the user accepts; omit to use the estimate. The launch is refused if it needs more."
    • addedInput schema / properties / project_id / description
      Added value: +"A project id that list_projects returned."
    • addedInput schema / properties / prompt_ids / description
      Added value: +"Prompt ids from read_prompt_portfolio to audit only those; omit for every active prompt in the set."
    • 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 / repetitions / description
      Added value: +"How many times each prompt is asked per engine; omit for the project default."
  2. First observed

TDQS

A4.4/5.0
Behavior4/5

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

Annotations declare readOnlyHint=false, destructiveHint=false, idempotentHint=false, but the description adds crucial context annotations cannot express: this is a dry-run preview with no side effects until confirm_change is called, and the launch is refused if it needs more than max_attempts. That is meaningful behavioral disclosure beyond structured fields.

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?

Three sentences, front-loaded with the core action, followed by parameter guidance and the confirmation gate. No wasted text; each sentence earns its place.

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

Completeness4/5

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

With 7 parameters, no output schema, and safety annotations present, the description covers the preview semantics, market behavior, and confirmation flow well. It omits detail on repetitions, prompt_ids, and prompt_set_id, but those are adequately served by the 100%-covered schema.

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 the baseline is 3. The description goes further by explaining intent behind parameters: market_ids produces one audit per market (null = default market) and max_attempts caps provider attempts with refusal on exceedance, adding meaning beyond the schema's own prose.

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 launching an audit of a prompt set (or chosen prompts) on the given engines.' It clearly positions itself as the preview step, distinct from confirm_change and cancel_audit among siblings.

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 clear operational context: pass market_ids to run one audit per market, pass max_attempts to cap attempts, and 'Nothing runs until the user agrees and you call confirm_change' explicitly routes the agent to the follow-up tool. No explicit when-not-to-use, but the workflow gate is well defined.

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