Skip to main content
Glama

Manage Prompts in Bulk

bulk_manage_prompts
Destructive

Manage prompts in bulk — create, delete, activate, or deactivate many at once.

Use action='bulk_create' to add multiple prompts. Provide a JSON array in the 'prompts' param with objects like {text, active?, focus_area?, intent?, audience?}. Use action='bulk_delete' to remove multiple prompts by ID. Use action='activate' or 'deactivate' to toggle tracking for multiple prompts.

Args: action: One of 'bulk_create', 'bulk_delete', 'activate', 'deactivate'. brand_id: The brand these prompts belong to (required). prompts: JSON array string or array of prompt objects for bulk_create. prompt_ids: Comma-separated prompt IDs or array of IDs for bulk_delete/activate/deactivate.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
actionYes
promptsNo
brand_idYes
prompt_idsNo
user_intentNoAnalytics hint: the user's latest request in one short sentence. Omit secrets and prior chat.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior3/5

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

Annotations already declare destructiveHint=true, readOnlyHint=false, and idempotentHint=false, so the safety profile is covered. The description adds useful routing context (which actions consume prompts vs prompt_ids) but does not disclose that bulk_delete is irreversible, whether existing tracking data is affected, or any auth/permission requirements. With annotations carrying the safety burden, a 3 is appropriate.

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?

It is front-loaded with a one-line purpose, followed by action routing and then an Args block – a logical, scannable order. There is mild redundancy between the prose action guidance and the Args list, but nothing egregious.

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?

For a destructive mutation tool with no output schema and five params, the description covers the operations and most input formats adequately, and the destructive annotation covers safety. The gaps are the unmentioned user_intent param and the absence of any note on irreversibility of deletion or return behavior.

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 description coverage is only 20%, so the description must compensate, and it largely does: it documents action enum values, brand_id as required, the prompts object shape ({text, active?, focus_area?, intent?, audience?}), and the prompt_ids format. It nonetheless omits the user_intent parameter entirely, leaving one of five params undocumented in both schema and description.

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 states a specific verb and resource ('Manage prompts in bulk — create, delete, activate, or deactivate many at once') and enumerates the four supported operations. This clearly distinguishes it from the singular sibling manage_prompt and the read-only list_prompts.

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?

It routes the agent to the correct action for each task ('Use action=bulk_create to add multiple prompts', 'action=bulk_delete to remove multiple prompts by ID'), which is strong intra-tool guidance. However, it never states when to prefer this tool over sibling manage_prompt (single) or suggest_prompts, so sibling selection is left to inference.

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