Skip to main content
Glama
aledlie

Doppler MCP Server

by aledlie

doppler_secrets_delete

Remove a secret from Doppler to manage sensitive data securely. Specify the secret name, and optionally the project and config, to delete it from your workspace.

Instructions

Delete a secret from Doppler

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameYesThe name of the secret to delete
projectNoThe Doppler project name (optional if set via doppler setup)
configNoThe Doppler config name (optional if set via doppler setup)

Implementation Reference

  • Specific case in buildDopplerCommand function that constructs the 'doppler secrets delete' CLI command for the doppler_secrets_delete tool.
    case "doppler_secrets_delete":
      parts.push("secrets", "delete", getString("name")!);
      if (getString("project")) parts.push("--project", getString("project")!);
      if (getString("config")) parts.push("--config", getString("config")!);
      parts.push("--json", "--yes"); // --yes to skip confirmation
      break;
  • Tool definition including name, description, and input schema for doppler_secrets_delete.
    {
      name: "doppler_secrets_delete",
      description: "Delete a secret from Doppler",
      inputSchema: {
        type: "object",
        properties: {
          name: {
            type: "string",
            description: "The name of the secret to delete",
          },
          project: {
            type: "string",
            description: "The Doppler project name (optional if set via doppler setup)",
          },
          config: {
            type: "string",
            description: "The Doppler config name (optional if set via doppler setup)",
          },
        },
        required: ["name"],
      },
    },
  • src/index.ts:27-31 (registration)
    Registers the ListTools handler that returns the toolDefinitions array, making doppler_secrets_delete available.
    server.setRequestHandler(ListToolsRequestSchema, async () => {
      return {
        tools: toolDefinitions,
      };
    });
  • MCP CallTool request handler that dispatches to executeCommand based on tool name, handling doppler_secrets_delete calls.
    server.setRequestHandler(CallToolRequestSchema, async (request) => {
      const { name, arguments: args } = request.params;
    
      try {
        const result = await executeCommand(name, args || {});
        return {
          content: [
            {
              type: "text",
              text: JSON.stringify(result, null, 2),
            },
          ],
        };
      } catch (error) {
        const errorMessage = error instanceof Error ? error.message : String(error);
        throw new McpError(ErrorCode.InternalError, `Doppler CLI error: ${errorMessage}`);
      }
    });

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

C2.9/5.0
Behavior2/5

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

No annotations are provided, so the description carries full behavioral disclosure burden. 'Delete' implies mutation/destruction, but the description doesn't state whether deletion is permanent, whether it requires special permissions, what happens on failure (e.g., non-existent secret), or the return format. For a destructive operation with zero annotation coverage, this is a significant gap.

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?

The description is a single efficient sentence with zero waste. It's front-loaded with the action verb and resource. Very concise, though the availability of such brevity comes at the cost of behavioral transparency depth.

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

Completeness2/5

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

This is a destructive mutation tool with no annotations and no output schema, putting burden on the description. With a 3-parameter tool and mutation semantics, the description should communicate permanence, permission requirements, and error behavior. The current description only states what it does, not what the agent should expect or verify before invoking. Highly incomplete for a destructive operation.

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% (all three parameters have descriptions), so the schema already documents the parameters. The description adds no parameter-specific meaning beyond the schema. However, the schema notes project/config are optional 'if set via doppler setup' which provides useful context. Baseline 3 is appropriate since the schema fully covers parameters.

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?

The description 'Delete a secret from Doppler' has a clear verb (delete) and resource (secret in Doppler), which is specific and unambiguous. It doesn't explicitly distinguish from its sibling `doppler_secrets_set` or `doppler_secrets_get`, but the verb 'delete' is self-evident in purpose. A modest improvement would be noting the mutation aspect or scope, but the core purpose is clear.

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?

No guidance is provided on when to use this tool versus alternatives like doppler_secrets_set or doppler_secrets_get. The description doesn't mention that deletion is destructive or irreversible, nor does it note the optional project/config context requiring doppler setup. There are no exclusions, prerequisites, or caveats about failed deletions (e.g., deleting a non-existent secret).

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