Skip to main content
Glama

Delete stored source content

delete_source_content
DestructiveIdempotent

Permanently delete all source content stored for a project. This cannot be undone. Project graph metadata is not affected.

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": {
      "projectId": "<projectId>"
    },
    "name": "delete_source_content"
  }
}

Input Schema

NameRequiredDescriptionDefault
projectIdYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true and idempotentHint=true, so the safety profile is covered. The description adds genuinely new behavioral context beyond that: the deletion is permanent, irreversible ('This cannot be undone'), and deliberately leaves project graph metadata intact, which tells the agent exactly how far the destruction reaches.

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 and scope, then the irreversibility warning, then the side-effect boundary. Every sentence adds information an agent needs before calling a destructive tool; nothing is redundant.

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 one-parameter destructive tool whose annotations already flag destructiveness and idempotency, the description covers action, scope, irreversibility, and what survives the deletion. It does not mention whether confirmation is required or what the response contains, but with no output schema that gap is minor.

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 description coverage is 0% for the single projectId parameter, so the description must carry the meaning. 'Stored for a project' implies the parameter identifies the target project and that the operation scopes to that project's content, but no id format or validation detail is given. Marginal but non-zero compensation, so 3.

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?

States a specific verb and resource ('Permanently delete all source content') with explicit scope ('stored for a project'), which separates it from read_source_content and write_source_content by verb alone. It also carves out a boundary against graph-clearing siblings by noting 'Project graph metadata is not affected', though no sibling is named explicitly.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

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

The scope constraint ('all source content ... for a project' plus the exclusion of graph metadata) implies when this tool is appropriate versus a graph-clearing tool, but the description never states when to choose it or any prerequisite/confirmation step. Usage is inferable rather than guided.

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