Skip to main content
Glama

delete_document

Delete a document from the knowledge base. This permanently removes the document.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
document_idYesDocument ID to delete

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. First observed

TDQS

A4/5.0
Behavior3/5

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

With no annotations, the description carries the full burden for behavioral disclosure. It adds the critical trait of permanence ('This permanently removes the document'), but it does not mention permissions, effects on linked data, or behavior for non-existent IDs. Partial disclosure.

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?

Two short sentences with zero wasted words. The first sentence states the action, the second adds the key caveat of permanence. Well-structured and easy to parse.

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 simple single-parameter delete tool with no output schema and no annotations, the description covers the essential purpose and permanence. However, it could still benefit from a note about idempotency or errors, but those are not critical for successful invocation.

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?

The schema already fully describes document_id ('Document ID to delete'), and the description adds no extra meaning beyond the action. Since schema description coverage is 100%, the baseline of 3 applies.

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 description clearly states a specific action ('Delete a document') and a specific resource ('from the knowledge base'), distinguishing it from sibling delete_* tools like delete_task or delete_team. It is unambiguous and immediately understandable.

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?

The description implies when to use the tool: whenever a document needs to be permanently removed. It does not explicitly exclude alternatives or mention 'when not to use', but for a delete operation no other tool is a viable substitute. Clear context with no exclusions.

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.

TDQS

B3.3/5.0
Disambiguation4/5

Most tools have distinct resource+action pairs (e.g., create_task vs update_task vs delete_task), but the large number of list/get/search tools creates some potential confusion, especially between get_context, search_entities, and find_documents. Descriptions are detailed and help, but the volume makes navigation less clear.

Naming Consistency4/5

The majority of tools follow a consistent verb_noun pattern (create_, delete_, list_, update_, etc.), with clear prefixes like add/remove and link/unlink. Deviations like 'whoami', 'find_documents' vs 'search_entities', and 'setup_organization' prevent a perfect score.

Tool Count1/5

62 tools is far beyond the typical MCP server scope and overwhelms agents with too many choices. Even if each tool is individually useful, the sheer count makes it difficult for an agent to efficiently select the right tool, increasing the likelihood of misselection.

Completeness3/5

The domain is well covered for projects, tasks, teams, sessions, and notifications, but there are notable gaps: no update_document, no get_task (only list/update/delete), no get_user, no reject_invite, and sprint management lacks update/delete operations. Core CRUD is present for many entities, but not all.

Resources