Skip to main content
Glama

drupal_list_sites

Lists all discovered DDEV Drupal sites to identify available projects for inspection and operation.

Instructions

List all discovered DDEV Drupal sites

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "drupal_list_sites"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.6/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the full disclosure burden. It does convey the key scoping detail that only previously discovered sites are returned (not a filesystem scan of all possible sites), but it says nothing about whether the call triggers discovery, whether results are cached, or what the entries contain. For a zero-parameter read operation the risk is low, which keeps this at an acceptable middle score.

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 six-word sentence with the qualifier "discovered" front-loaded before the resource. No filler, no redundancy, immediately scannable.

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?

The tool is simple (no parameters, no nested objects), but with no output schema the description could have said what a listed site looks like or what fields come back, and it could have pointed at drupal_refresh_sites for the discovery step. As written it is adequate but leaves real informational gaps.

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 tool takes no parameters, so the baseline of 4 applies; there is nothing for the description to disambiguate. It correctly adds no redundant parameter commentary.

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?

"List all discovered DDEV Drupal sites" gives a specific verb (list) and a specific resource (DDEV Drupal sites) plus a scope qualifier (discovered). An agent can immediately tell this is a read-only enumeration. It does not, however, explicitly contrast itself with the closely named sibling drupal_refresh_sites, so the boundary has to be inferred.

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?

Usage is only implied: the word "discovered" hints that sites must first be found (perhaps via drupal_refresh_sites), but the description never states when to call this, when to refresh first, or which sibling to prefer. There are no explicit exclusions or prerequisites, leaving the agent to infer the workflow.

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