Skip to main content
Glama

MentionBird

Change AI platforms

update_prompt_llms
DestructiveIdempotent

Add or remove AI platforms on prompts.

Removals apply first, so the prompt runs they free count toward the additions in the same call. A prompt removed from every platform is archived; its results stay.

  • brand: a brand name from list_tracked_brands.

  • brand_prompt_ids: one token or a list (max 200) from list_queries.

  • add_llms / remove_llms: provider slugs (openai, claude, gemini, perplexity, grok), max 5 each. At least one of the two is required, and a slug can't be in both. get_account's allowed_providers lists the ones the plan allows; any other added slug is reported in providers_unavailable and skipped.

Returns, per prompt, the platforms under each status: created, reactivated, already_active, disallowed (not on the plan), over_limit (past the workspace's prompt runs), removed and not_subscribed (asked to remove, but it wasn't running there). Plus totals, not_found and any providers_unknown. In a workspace already over its prompt runs, a note says how many added pairs won't run until runs free up, since the oldest run first. Adding asks for a check at the next scheduler tick, without moving the brand's regular schedule. Idempotent. 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>",
      "brand_prompt_ids": "<brand_prompt_ids>"
    },
    "name": "update_prompt_llms"
  }
}

Input Schema

NameRequiredDescriptionDefault
brandYes
add_llmsNo
remove_llmsNo
brand_prompt_idsYes

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.5/5.0
Behavior5/5

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

Far exceeds the annotations: it discloses removal-before-addition ordering, that freeing runs count toward additions in the same call, that a prompt removed from every platform is archived while results persist, that off-plan slugs are skipped and reported in providers_unavailable, and that addition triggers a check at the next scheduler tick without moving the brand schedule. It also documents the over-quota note behavior, which the destructiveHint/idempotentHint annotations cannot convey.

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-loads the purpose and the non-obvious ordering rule, then organizes constraints and return statuses as a compact block. It is dense but occasionally over-packed ('the prompt runs they free count toward'), and it enumerates return statuses at length even though an output schema exists.

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?

Complete for a destructive, plan-gated mutation with an output schema: caller learns required fields, valid value sources, caps, mutual exclusion, failure codes, archival side effect, and post-call scheduling behavior. Nothing an agent needs to invoke it 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 does: brand comes from list_tracked_brands, brand_prompt_ids is a token or list (max 200) from list_queries, and add_llms/remove_llms are provider slugs (openai, claude, gemini, perplexity, grok) capped at 5 each and mutually exclusive. It even points to get_account's allowed_providers to validate slugs before calling.

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 a concrete verb and resource ('Add or remove AI platforms on prompts'), so the agent knows exactly what changes. It does not explicitly contrast itself with siblings such as list_llm_providers or archive_prompts, but its scope is unmistakable.

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 strong operating conditions: at least one of add_llms/remove_llms is required, a slug cannot appear in both, removals apply first, max 5 per side, max 200 prompt ids, and write access is required (WRITE_NOT_ALLOWED otherwise). It does not name an alternative tool for cases outside scope (e.g., use archive_prompts for full archival), so it stops short of explicit 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