Skip to main content
Glama

content-delete-source

:

Instructions

Permanently delete a saved source document by type. Future agent runs will no longer use this document as context. Use this to remove outdated context documents before saving new ones. Requires scope: sessions:write. Use content-list-sources to verify which documents exist before deleting.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
docTypeYesType of source document to delete
Behavior4/5

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

Without annotations, the description carries the full burden. It discloses 'Permanently delete' (irreversibility), 'Future agent runs will no longer use this document' (downstream effect), and 'Requires scope: sessions:write' (authentication requirement). Minor gap: does not specify error behavior if the document type doesn't exist.

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?

Five compact sentences, each earning its place: core action, behavioral effect, usage context, auth requirement, and prerequisite tool. Front-loaded with the critical destructive warning and action verb. No redundancy.

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?

Complete for a single-parameter deletion tool with no output schema. Covers destruction permanence, auth scope, side effects on future sessions, and verification workflow. Only minor gap is lack of error case description (e.g., document not found behavior).

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% (docType is described as 'Type of source document to delete'), establishing a baseline of 3. The description mentions 'by type' but adds no additional semantics about the 8 enum values or input format beyond what the schema 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?

The description opens with 'Permanently delete a saved source document by type,' providing a specific verb (delete), resource (source document), and scope (by type). It implicitly distinguishes from siblings like content-get-source (read vs delete) and content-delete-generation (different resource type) through explicit naming and context.

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 states when to use: 'Use this to remove outdated context documents before saving new ones.' Also names a specific prerequisite tool: 'Use content-list-sources to verify which documents exist before deleting,' providing clear workflow guidance.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/ebenezer-isaac/llmconveyors-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server