Skip to main content
Glama
aledlie

Doppler MCP Server

by aledlie

doppler_projects_list

Retrieve a list of all projects in your Doppler workspace to manage secrets and configurations across applications.

Instructions

List all Doppler projects

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • Switch case within buildDopplerCommand that constructs the Doppler CLI command 'doppler projects list --json' to execute the tool logic for listing Doppler projects.
    case "doppler_projects_list":
      parts.push("projects", "list");
      parts.push("--json");
      break;
  • Tool schema definition for doppler_projects_list, including name, description, and empty input schema (no parameters required).
    {
      name: "doppler_projects_list",
      description: "List all Doppler projects",
      inputSchema: {
        type: "object",
        properties: {},
      },
    },
  • src/index.ts:27-31 (registration)
    Registration of tool list handler that exposes the doppler_projects_list tool via the toolDefinitions array in MCP ListToolsRequest.
    server.setRequestHandler(ListToolsRequestSchema, async () => {
      return {
        tools: toolDefinitions,
      };
    });
  • MCP CallTool request handler that dispatches to executeCommand based on tool name, handling the execution and response formatting for doppler_projects_list.
    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

A3.7/5.0
Behavior3/5

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

No annotations are provided, so the description carries the full burden of behavioral disclosure. However, 'list' is inherently a read-only operation, which is reasonably transparent. The description doesn't clarify whether results are paginated, ordered, or what the response format looks like, but for a simple list operation this is acceptable.

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?

A single concise sentence that fully captures the tool's purpose with zero waste. Highly front-loaded and efficient.

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 zero-parameter, simple read/list tool with a clear name and no output schema or nested objects, the description is adequately complete. The complexity is low enough that the minimal description suffices. It may not state return format, but for a simple list operation this is a minor gap.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The schema has zero parameters and schema coverage is 100%, meaning everything about parameters is already fully specified by the absence of parameters. The description adds nothing about parameters, but there are none to document, so the baseline of 4 is appropriate.

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 uses a clear verb+resource pattern ('List all Doppler projects'). It clearly states the operation (list) and resource (projects). However, it doesn't distinguish from sibling tools that list other resources (configs, environments, secrets) — though the resource names differ and are fairly self-evident from the tool names.

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 description implies when to use it (when you need a listing of projects), but provides no explicit guidance on when NOT to use it or which alternative tools might fit better. No filtering, pagination, or context hints are mentioned. It's minimally adequate but lacks explicit alternative/exclusion guidance.

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