Skip to main content
Glama

Manage a Prompt

manage_prompt
Destructive

Create, update, or delete a tracked prompt (search query).

Use action='create' to add a new prompt to track. Requires brand_id and text. Use action='update' to modify an existing prompt. Requires prompt_id. Use action='delete' to remove a prompt. Requires prompt_id.

Args: action: One of 'create', 'update', 'delete'. brand_id: Required for create. The brand this prompt belongs to. prompt_id: Required for update/delete. The prompt to modify. text: The search query text. Required for create, optional for update. active: Whether the prompt is actively tracked. intent: Query intent classification.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
textNo
actionYes
activeNo
intentNo
brand_idNo
prompt_idNo
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

A3.8/5.0
Behavior3/5

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

Annotations already declare destructiveHint=true, idempotentHint=false, and readOnlyHint=false, so the safety profile is covered. The description adds per-action prerequisites, which is useful, but says nothing about irreversibility of deletion, permissions/auth needs, or side effects beyond what the annotations imply.

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?

Front-loaded purpose followed by a clean action-by-action breakdown; each line earns its place. The Args block is somewhat rote where it restates the action modes, but overall it is tight and scannable.

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 seven-parameter mutation tool with no output schema and 14% schema coverage, the description supplies enough per-action parameter guidance to invoke it correctly. It omits any indication of the return payload, but with no output schema that is a minor gap.

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 14% (only user_intent is documented in the schema), so the description carries most of the burden and does so well, mapping six of seven params to concrete meaning and tying action enum values to their required inputs. Active and intent are only briefly glossed, but the compensation for the coverage gap is strong.

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?

States specific verbs (Create, update, delete) and a precise resource (a tracked prompt, clarified as a search query), which lets an agent distinguish it from read siblings like list_prompts and suggest_prompts. It does not explicitly differentiate from bulk_manage_prompts, so the single-vs-bulk boundary is left to inference.

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?

The description routes the agent by action, stating the required params for each mode (create needs brand_id and text; update/delete need prompt_id). There is no mention of when to prefer this over bulk_manage_prompts or suggest_prompts, so alternatives are not covered.

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