Skip to main content
Glama

Clear a prompt

clear_prompt
DestructiveIdempotent

Take the picked title off a challenge prompt (the title stays in their library), or with remove: true take the prompt itself out of the challenge.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "clear_prompt"
  }
}

Input Schema

NameRequiredDescriptionDefault
promptNoThe prompt: its words or its number
removeNoRemove the prompt itself, not just its pick
slot_idNoThe prompt's id, instead of prompt
challengeNoThe challenge's name
challenge_idNoIts id, instead of the name

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4/5.0
Behavior4/5

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

Beyond the destructive and idempotent annotations, it clarifies the operation's blast radius: the picked title stays in the user's library, and the stronger mode removes the prompt from the challenge rather than implying global deletion. Reversibility, error behavior, and response details remain undisclosed, but the preservation guarantee is valuable behavioral context.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

A single compact sentence front-loads the default action, states the important library-preservation guarantee, and then introduces the alternate mode. Every clause contributes useful invocation or behavioral information, with no filler.

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?

Together with the fully documented schema and annotations, the description supplies the essential mode distinction and data-preservation scope needed to avoid invoking the wrong destructive operation. It could be more complete by explaining target selection or default-challenge behavior and what a successful call returns, but the schema already covers the available identifiers.

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

Parameters3/5

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

All five parameters already have schema descriptions, including the alternate identifiers and the remove flag, so the baseline of 3 applies. The description reinforces remove: true with concrete consequences but adds little targeting or format information beyond the schema.

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?

The description identifies both operations precisely: clearing a challenge prompt's picked title while leaving that title in the library, or using remove: true to remove the prompt itself from the challenge. It is substantially clearer than the title, though it does not explicitly distinguish sibling tools such as clear_rating or delete_challenge.

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 clearly distinguishes when to use the default behavior versus remove: true, which is the central selection decision within this tool. It provides no prerequisites or guidance about when another sibling tool would be more appropriate.

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