Skip to main content
Glama

drupal_refresh_sites

Re-discovers DDEV-managed Drupal sites so newly added or changed projects can be found and made available for inspection through the MCP server.

Instructions

Re-discover 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_refresh_sites"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

C2.7/5.0
Behavior2/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 and falls well short. 'Re-discover' implies a state-mutating rescan (likely rewriting a cached site list) and possibly a slow filesystem walk, but nothing about side effects, cost, idempotency, or failure modes is stated.

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

Conciseness3/5

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

The definition is a single four-word fragment with no wasted text and the key concept is front-loaded. Its brevity is really under-specification rather than disciplined concision, since one more sentence on effect and timing would cost little.

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?

With no parameters, no output schema, and no annotations, the description is the only source of information about this tool, and it supplies none of the operationally important facts: what the result is, whether prior state is replaced, or how long it takes. An agent can invoke it but cannot predict or verify its behavior.

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 zero parameters with 100% schema coverage, so there is nothing for the description to clarify on the input side. Baseline 4 applies.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

The phrase 'Re-discover DDEV Drupal sites' pairs a verb with a resource, so an agent can tell it is a discovery/refresh operation on Drupal sites. However, 're-discover' is idiosyncratic jargon and the description never states what discovery actually does (rescan the filesystem, refresh a cached site registry, restart DDEV?), leaving the purpose only loosely specified.

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 guidance on when to invoke this versus the sibling drupal_list_sites, nor any mention of prerequisites such as a running DDEV environment or existing project directory. The agent must guess whether this is a one-time onboarding step or a routine refresh after sites change.

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