Skip to main content
Glama

Delete crawl source

delete_crawl_source
DestructiveIdempotent

Delete one of this tenant's own sources, with its explorations and questions. Shared catalogue entries cannot be deleted — set status 'rejected' on your own copy instead if a source turned out not to be worth it, so the reason survives.

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": {
      "source_id": "<source_id>"
    },
    "name": "delete_crawl_source"
  }
}

Input Schema

NameRequiredDescriptionDefault
source_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior5/5

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

Annotations already declare destructive=true, idempotent=true and readOnly=false, but the description goes further and discloses cascade scope: child explorations and questions are removed along with the source. It also explains the tenancy restriction and the rationale behind the non-destructive alternative, which is behavior beyond what the structured fields convey.

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 sentences, both front-loaded with the most important information: the deletion scope and cascade come first, the restriction and safer alternative second. No filler or repetition of the title.

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 destructive, schema-poor mutation with no output schema, it covers scope, cascade effects, and the safer alternative — the essentials for a correct call. Minor omissions remain: it does not confirm whether deletion is permanent or recoverable, nor what the call returns on success.

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 source_id parameter, so the description must carry the meaning. It does clarify that the ID must reference a tenant-owned source ('this tenant's own sources'), but it says nothing about identifier format or how to discover a valid value, leaving a partial gap.

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 gives a specific verb (delete) plus a precisely scoped resource: 'one of this tenant's own sources, with its explorations and questions.' It also marks the boundary case (shared catalogue entries) that the name alone would leave ambiguous, so an agent can distinguish this from source-management siblings like upsert_crawl_source or list_crawl_sources.

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?

It states an explicit when-not condition ('Shared catalogue entries cannot be deleted') and offers a concrete alternative path — marking the copy 'rejected' so the rationale is preserved. The only gap is that it does not name the tool that performs that alternative (presumably upsert_crawl_source), so the agent must infer the invocation.

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