Skip to main content
Glama

Ld List Environments

ld_list_environments
Read-onlyIdempotent

Return bounded LaunchDarkly environments for a project with keys, names, colors, tags, approval settings, and archival state. Answers where feature releases and experiments run.

Example tool call

This call uses example arguments supplied in the tool’s input schema.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "limit": 20,
      "_apiKey": "your-launchdarkly-reader-token",
      "project_key": "web-app"
    },
    "name": "ld_list_environments"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoMaximum records, default 20 and maximum 100
offsetNoRecords to skip for pagination
_apiKeyYesLaunchDarkly API access token
project_keyYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, non-destructive and openWorld, so the safety profile is covered. The description adds that results are 'bounded' and lists returned fields, but says nothing about authentication requirements or pagination behavior beyond 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.

Conciseness5/5

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

Two tight sentences, no filler, with the core action and scope front-loaded before the use-case framing.

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 no output schema, the description carries the burden of describing return values, and it does so by enumerating the fields returned (keys, names, colors, tags, approval settings, archival state). Pagination across pages and the fact that results are project-scoped are implied via the schema, so only minor gaps remain.

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 coverage is 75% – limit, offset, and _apiKey all carry descriptions in the schema; only project_key is undocumented. The phrase 'for a project' hints at project_key's role but adds no syntax or format detail. Baseline 3 is appropriate when the schema does most of the work.

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+resource (return LaunchDarkly environments) scoped to a project, and enumerates the returned fields. It does not explicitly differentiate itself from siblings like ld_list_projects or ld_list_flags, though the resource is distinct enough to infer.

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 second sentence ('Answers where feature releases and experiments run') implies the use case, but there is no when-to-use vs. alternative guidance and no mention of how to obtain the required project_key (e.g., via ld_list_projects).

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.