Skip to main content
Glama

Delete a custom data source

action1_delete_data_source
DestructiveIdempotent

Delete an existing custom data source by ID, with a preview dry run by default. Built-in data sources cannot be removed; set confirm to YES to execute.

Instructions

Delete a custom data source. Deletes an existing custom data source. Note that you cannot remove built-in data sources. Perm: manage_data_sources.

Input Schema

NameRequiredDescriptionDefault
confirmNoRequired to execute. Exact string "YES".
dry_runNoDefault true (preview). Set false to execute.
data_source_idYesProvide a specific data source ID.

Output Schema

NameRequiredDescriptionDefault
idNo
toolNo
typeNo
statusNo
dry_runNo
would_sendNo
user_messageNo
developer_messageNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed11 schema fields changedv0.6.0
    • changedInput schema / $schema
      Previous value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema"
    • changedOutput schema / $schema
      Previous value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema"
    • changedOutput schema / additionalProperties
      Previous value: -trueNew value: +{}
    • addedOutput schema / properties / developer_message
      Added value: +{}
    • addedOutput schema / properties / dry_run
      Added value: +{}
    • addedOutput schema / properties / id
      Added value: +{}
    • addedOutput schema / properties / status
      Added value: +{}
    • addedOutput schema / properties / tool
      Added value: +{}
    • addedOutput schema / properties / type
      Added value: +{}
    • addedOutput schema / properties / user_message
      Added value: +{}
    • addedOutput schema / properties / would_send
      Added value: +{}
  2. First observedv0.5.0

TDQS

A3.6/5.0
Behavior4/5

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

Annotations already cover destructiveness and idempotency, and the description adds meaningful context beyond them: the required permission (manage_data_sources) and the built-in-source restriction. It does not restate dry_run/confirm semantics, but those are documented in the schema.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The first two sentences say the same thing ('Delete a custom data source' / 'Deletes an existing custom data source'), wasting space. The permission and built-in constraints are useful, but the definition is not front-loaded or tight.

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?

With an output schema present, annotations covering safety, and full schema coverage, the description supplies the remaining needed context: the built-in restriction and required permission. Sufficient for an agent to call correctly, though missing any explicit caution about irreversibility.

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 100%, so all three parameters (data_source_id, confirm, dry_run) are already documented. The description adds no parameter-level meaning, which is acceptable at this coverage level but not value-adding.

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 ('Delete a custom data source') that clearly identifies it against the create/get/update/list data source siblings. The first two sentences are redundant restatements, but the meaning is unambiguous.

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?

Adds one useful precondition — built-in data sources cannot be removed — which implies when the call will fail. However, it offers no explicit guidance on when to use this versus alternatives (e.g., update_data_source to disable instead), leaving routing to inference.

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

Deploy Server

Other Tools