Skip to main content
Glama

MentionBird

Add prompts

add_prompts
Idempotent

Add one or more prompts to a tracked brand, fanned out across the chosen LLMs, and queue a crawl.

  • brand: a brand name from list_tracked_brands.

  • prompts: a prompt string, or a list of them (max 50 per call, each at most 2000 characters). Each is the question a user might ask an AI (e.g. "best waterproof hiking boots").

  • llms: one provider slug or a list, from list_llm_providers (openai, claude, gemini, perplexity, grok). At least one is required. A prompt is monitored on every provider you pass that the account's plan allows; providers not on the plan are reported in providers_unavailable and simply skipped.

  • country: optional ISO 3166-1 alpha-2 code (e.g. "US"); omitted, blank or "ZZ" is Global. A code MentionBird doesn't support (a typo such as "UK" for "GB") is a VALIDATION_ERROR whose details.supported_countries lists the accepted codes; nothing is added.

  • tags: optional label or list of labels (max 10 per call, each at most 100 characters) to group these prompts by product line or theme (e.g. ["footwear", "commercial-intent"]). A tag that doesn't exist yet is created for this brand; an existing one (matched by slug — case- and spacing-insensitive) is reused. Tags are applied to every prompt in this call that exists afterwards, including ones that were already tracked, so you can re-run add_prompts with only tags to retro-tag prompts you added earlier. See list_query_tags for the current vocabulary. The applied tag slugs are echoed back in tags_applied.

Idempotent at the (prompt, country, LLM) grain — re-adding a pair that already exists is a no-op. Prompts in one call that differ only in case are one prompt (the first spelling is kept). Adding new pairs asks for a check so results usually appear within 15 minutes (the scheduler runs every 15 minutes); the brand's regular schedule doesn't move.

Each (prompt, LLM) pair uses one of the workspace's prompt runs a day, a pool shared by every brand. Pairs past it are counted in skipped_over_limit and the note names the limit. A new prompt that gets no AI at all is not created: its row in prompts has a null brand_prompt_id and it is not tagged. Requires write access (WRITE_NOT_ALLOWED otherwise).

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "brand": "<brand>",
      "prompts": "<prompts>",
      "llms": "<llms>"
    },
    "name": "add_prompts"
  }
}

Input Schema

NameRequiredDescriptionDefault
llmsYes
tagsNo
brandYes
countryNo
promptsYes

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.7/5.0
Behavior5/5

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

Well beyond the annotations, it discloses plan gating (providers not on the plan land in providers_unavailable and are skipped), a shared daily prompt-run pool with skipped_over_limit and a note naming the limit, idempotency at the (prompt, country, LLM) grain, case-insensitive prompt dedupe, a 15-minute scheduler expectation, and the WRITE_NOT_ALLOWED gate. It also records a non-obvious side effect consistent with the annotations: tags are applied to every prompt in the call that exists afterwards, including previously tracked ones, so re-running retro-tags rather than only adds.

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 lead sentence states the action and fan-out before the per-parameter bullets, so the important information is front-loaded, and each bullet maps to one parameter or one invariant. It runs long, and the closing detail about rows with a null brand_prompt_id is a minor edge case that could be trimmed, but no sentence is filler.

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?

For a five-parameter write tool with a plan-limited fan-out, the definition covers inputs, idempotency, quota behavior, error shapes, and the permission failure mode. An output schema is present and the description correctly references its fields (providers_unavailable, tags_applied, skipped_over_limit, note) instead of re-documenting return values, so nothing an agent needs to call this correctly is missing.

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

Parameters5/5

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

Schema description coverage is 0%, so the description carries the full burden, and it does: brand must come from list_tracked_brands; prompts accept a string or list with a 50-item and 2000-character cap; llms accepts one slug or a list with at least one required and enumerates valid providers; country is ISO 3166-1 alpha-2 with the Global default and an explicit error path via details.supported_countries; tags take a label or list capped at 10 by 100 characters with slug-based matching. Every parameter gains meaning beyond the bare anyOf/type declarations in the schema.

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 opening sentence gives a concrete verb and resource ("Add one or more prompts to a tracked brand") and adds the two distinguishing behaviors: fan-out across chosen LLMs and a crawl being queued. That separates it cleanly from siblings like archive_prompts, restore_prompts, or add_tracked_brand without the agent needing to open a schema.

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 to the right sources for inputs (list_tracked_brands for brand, list_llm_providers for llms, list_query_tags for the current vocabulary) and gives a concrete re-run pattern: call again with only tags to retro-tag earlier prompts. It stops short of stating when not to use it (e.g. versus archive_prompts for removing pairs), so it is clear context rather than full when/when-not guidance.

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