Skip to main content
Glama

delete_prompts

Удалить промпты из ИИ-трекера проекта. Чужие и уже удалённые id пропускаются молча. Удалённый промпт можно вернуть, добавив его тем же текстом через create_prompts.

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": {
      "project_id": "<project_id>",
      "prompt_ids": "<prompt_ids>"
    },
    "name": "delete_prompts"
  }
}

Input Schema

NameRequiredDescriptionDefault
project_idYesИдентификатор проекта.
prompt_idsYesИдентификаторы промптов для удаления (максимум 100 за один запрос).

Output Schema

NameRequiredDescriptionDefault
statusYesСтатус выполнения операции.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.2/5.0
Behavior4/5

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

With no annotations, the description carries the full load and does the important work: it discloses silent skipping of invalid ids (no error raised) and that deletion is effectively soft — a prompt can be recreated by re-adding the same text. It omits any permission/auth requirements and whether stats or history tied to the prompt are affected.

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?

Three short sentences, front-loaded with the action, then the edge-case behavior, then the recovery path. Each sentence contributes distinct, actionable 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?

An output schema exists so return values need not be explained, and the description covers the non-obvious semantics (silent skips, soft delete). Only the authorization/permission angle and side effects on related data are left unstated.

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?

Schema coverage is 100% and both parameters (project_id, prompt_ids with a 100-item cap) are fully described in the schema, so baseline 3 applies. The description adds no format or constraint information beyond what the schema already provides.

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?

States a specific verb + resource + scope: deleting prompts from the project's AI tracker. The reversible relationship to create_prompts is named explicitly, so an agent can distinguish delete from create without inspecting either 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?

Explains that foreign or already-deleted ids are silently skipped, giving the agent a clear expectation of partial success, and points to create_prompts as the restore path. It does not compare against other deletion siblings (delete_keywords, delete_article), but for an unambiguous delete operation that context is largely inherent.

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