Skip to main content
Glama

Delete project knowledge

delete_project_knowledge

Remove a domain fact that is incorrect or outdated. Requires the fact_id (UUID) of the knowledge entry to delete. Use list_project_knowledge first to discover existing fact_id values. project_overview entries may appear in list_project_knowledge but are read-only here and cannot be deleted through this tool. Use this sparingly - only when a fact is wrong, not just when updating it (use update_project_knowledge for updates).

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": {
      "fact_id": "<fact_id>"
    },
    "name": "delete_project_knowledge"
  }
}

Input Schema

NameRequiredDescriptionDefault
fact_idYesUUID of the knowledge fact to delete

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.9/5.0
Behavior2/5

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

The description adds real behavioral context beyond the annotations — required UUID, the discovery-first workflow, and the read-only carve-out for project_overview entries. However, it describes an unambiguous removal operation while annotations declare destructiveHint=false, which misrepresents the risk profile of a permanent delete; nothing in the description indicates the deletion is reversible, so the safer annotation would be destructiveHint=true.

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 action and intent, then layers prerequisites, exclusions, and the update alternative in descending priority — no filler sentences. Slight redundancy between 'Requires the fact_id (UUID)' and the schema's identical wording costs one point.

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?

For a single-parameter mutation with no output schema, it covers what is removed, how to discover targets, what cannot be removed, and which sibling to use instead. The one missing piece is whether deletion is recoverable or requires confirmation, which matters for a permanent delete.

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 the schema already documents fact_id as the UUID of the fact to delete, so the description's 'Requires the fact_id (UUID)' restates rather than extends structured data. The only added meaning is procedural (where to get a fact_id), and that is credited under usage guidance rather than parameter semantics.

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 and resource ('Remove a domain fact') and immediately scopes it to incorrect or outdated facts, which distinguishes it from update_project_knowledge and list_project_knowledge. It also carves out a concrete exception (project_overview entries are read-only here), so an agent can recognize ineligible targets without opening 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 Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Explicitly routes the agent: use list_project_knowledge first to obtain a fact_id, use update_project_knowledge for updates, and delete only when a fact is wrong rather than stale-in-need-of-editing. That is a when-to-use, when-not-to-use, and named-alternative set in one paragraph.

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