Skip to main content
Glama

Delete DataLens key for embedding

datalens_embeddingsecrets_delete
Destructive

Delete an embedding key by ID to remove it from DataLens. Use dry run to preview the delete request; deleting an already removed key returns 404.

Instructions

Delete a key for embedding. Deleting again answers 404.

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": {
      "embedding_secret_id": "<embedding_secret_id>"
    },
    "name": "datalens_embeddingsecrets_delete"
  }
}

Input Schema

NameRequiredDescriptionDefault
dry_runNoSend nothing: answer `{dry_run: true, request}`, the first write the tool would make (null: none).
embedding_secret_idYesId of the key for embedding.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv0.142.2
    • addedInput schema / properties / dry_run
      Added value: +{
      +  "default": false,
      +  "description": "Send nothing: answer `{dry_run: true, request}`, the first write the tool would make (null: none).",
      +  "type": "boolean"
      +}
  2. Addedv0.122.1

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already declare destructiveHint=true, idempotentHint=false, and openWorldHint=true, so the safety profile is covered structurally. The description adds one genuinely useful non-obvious fact - that a second delete returns 404 - which reinforces the non-idempotent hint with a concrete failure mode. It says nothing about permissions, cascading effects on dependent embeds, or what the response contains.

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

Conciseness4/5

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

Two short sentences with no wasted wording, and the core action is front-loaded before the edge-case behavior. The "Deleting again" sentence could be worded more precisely ("a second delete"), but overall it is tight and readable.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a two-parameter destructive tool with full schema coverage and rich annotations, the core essentials are present, but the description omits what a successful delete returns and any caution about irreversible removal of a secret that embeddings may depend on. A single clause about the outcome would make it complete.

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 both embedding_secret_id and dry_run are already documented in the schema, including the dry_run response shape. The description adds no extra meaning to either parameter, so the baseline of 3 applies.

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?

"Delete a key for embedding" states a specific verb and resource, matching the title and clearly distinguishing it from datalens_embeddingsecrets_get/create/list among the siblings. It stops short of explicitly routing the agent away from related delete tools, but the resource 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 Guidelines2/5

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

There is no when-to-use guidance, no prerequisites, and no mention of alternatives such as retrieving or listing secrets before deleting. The only context given is a repeat-call outcome, which is behavioral rather than usage-oriented.

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