Skip to main content
Glama

MentionBird

Restore prompts

restore_prompts
Idempotent

Restore archived prompts on the AI platforms they were removed from.

Each platform a prompt was removed from comes back (reactivated) as far as the plan allows: one not on the plan is disallowed, and one past the workspace's prompt runs is over_limit (see get_account). list_queries with include_archived=True shows each prompt's archived_llms. A restored prompt is checked again within the hour.

  • brand: a brand name from list_tracked_brands.

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

Returns, per prompt, the platforms under each status, plus totals and not_found. A prompt with no platforms listed had nothing archived. 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": "restore_prompts"
  }
}

Input Schema

NameRequiredDescriptionDefault
brandYes
brand_prompt_idsYes

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?

Beyond the annotations it discloses the per-platform outcome vocabulary (reactivated, disallowed, over_limit), the write-permission requirement with the WRITE_NOT_ALLOWED failure mode, and that a restoration is re-checked within the hour. It also explains the not_found bucket and the empty-platforms edge case, which the 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?

It is front-loaded with the action and the outcome model, then uses a compact bulleted parameter list. A few lines (restating idempotency already in annotations, the parenthetical get_account pointer) are slightly redundant, but nothing is padded.

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 two-parameter mutation with an existing output schema, the definition supplies everything needed to call it correctly: input sources, limits, failure conditions, status semantics, and idempotency. Return-shape detail is appropriately delegated to the output schema.

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?

With 0% schema description coverage the description carries the full burden, and it does: brand is defined as a name sourced from list_tracked_brands, while brand_prompt_ids is specified as a token or list drawn from list_queries capped at 200. That is meaningful constraint information not present 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 first sentence states a precise verb and resource ("Restore archived prompts") plus the scope ("on the AI platforms they were removed from"), which cleanly separates it from archive_prompts and add_prompts among the 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?

It tells the agent how to discover the right inputs (list_tracked_brands for brand, list_queries with include_archived=True to see archived_llms) and what plan conditions block restoration. It stops short of explicitly contrasting with archive_prompts or stating when not to use it, so it is clear context rather than full routing 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