Skip to main content
Glama

List projects by filters

list_projects
Read-onlyIdempotent

List drupal.org projects after filters, largest install base first, paged. Examples: "top modules without an 11.4 branch", "themes over 10k installs without security coverage". One project: project_profile. Its pending records: project_upgrade_report.

  • Filters combine: type, min_installs, security (covered, not-covered, revoked), core_minor (+ missing), era (d8plus, pre_d8), member_of (+ max_depth). All apply to count and rows.

  • core_minor reads the composer constraint of the newest release on each development branch. A minor counts when any patch of it satisfies the constraint. An unreleased tip change is not seen. missing=true keeps projects with no branch declaring it: the upgrade gap list. It matches core_minors or next_minors, so 12.0.x works before Drupal 12 ships.

  • member_of keeps one root's members, direct and transitive; max_depth (needs member_of) drops members past that many requires away. A filtered list adds membership: root_release, complete, unread_count and unread (up to 20, package + cause).

  • Row: machine_name, title, type, installs, security, status, dev_branches (branch, installs, core_minors, next_minors, era), latest_release, cms_depth, member_of_count. core_minors: released minors. next_minors: unreleased minors that have a branch in Drupal core. missing_sections: the branch fields the data cannot fill. cms_depth is the row's membership depth under the cms root; member_of_count is how many roots include it. A project in no root has neither; a project that is not a cms member has member_of_count alone. count: projects. next_offset is absent on the last page.

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": "list_projects"
  }
}

Input Schema

NameRequiredDescriptionDefault
eraNoFilter: d8plus (Drupal 8+ code) or pre_d8, on any development branch.
typeNoFilter: project_module, project_theme, project_distribution, project_general, project_theme_engine, project_translation.
limitNoProjects per page, 1 to 100 (default 50).
offsetNoSkip this many projects in the same ranked order. Pass the previous page's next_offset.
missingNoInvert core_minor: keep projects whose development branches do not declare it.
securityNoFilter: security advisory coverage: covered, not-covered, revoked.
max_depthNoWith member_of: drop members further than this many requires away, 1 or more.
member_ofNoFilter: keep only members of this root project's composer requires walk, for example cms.
core_minorNoFilter: a core minor in 11.4.x form, released or unreleased (12.0.x). Keeps projects where the newest release on some development branch declares support for it. With missing=true, keeps projects with no such branch.
min_installsNoFilter: reported install base at or above this.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / core_minor / description
      Previous value: -"Filter: a core minor in 11.4.x form. Keeps projects where the newest release on some development branch declares support for it. With missing=true, keeps projects with no such branch."New value: +"Filter: a core minor in 11.4.x form, released or unreleased (12.0.x). Keeps projects where the newest release on some development branch declares support for it. With missing=true, keeps projects with no such branch."
  2. Changed2 schema fields changed
    • addedInput schema / properties / max_depth
      Added value: +{
      +  "description": "With member_of: drop members further than this many requires away, 1 or more.",
      +  "type": [
      +    "null",
      +    "integer"
      +  ]
      +}
    • addedInput schema / properties / member_of
      Added value: +{
      +  "description": "Filter: keep only members of this root project's composer requires walk, for example cms.",
      +  "type": "string"
      +}
  3. Changed3 schema fields changed
    • changedInput schema / properties / core_minor / description
      Previous value: -"Filter: a core minor in 11.4.x form that the newest release on some development branch declares support for (composer constraint from drupal.org); with missing=true, projects with NO such branch."New value: +"Filter: a core minor in 11.4.x form. Keeps projects where the newest release on some development branch declares support for it. With missing=true, keeps projects with no such branch."
    • changedInput schema / properties / offset / description
      Previous value: -"Skip this many projects in the same ranked order; pass the previous page's next_offset."New value: +"Skip this many projects in the same ranked order. Pass the previous page's next_offset."
    • changedInput schema / properties / security / description
      Previous value: -"Filter: security advisory coverage — covered, not-covered, revoked."New value: +"Filter: security advisory coverage: covered, not-covered, revoked."
  4. Changed1 schema field changed
    • changedOutput schema / (root)
      Previous value: -{
      -  "additionalProperties": false,
      -  "properties": {
      -    "count": {
      -      "type": "integer"
      -    },
      -    "next_offset": {
      -      "type": "integer"
      -    },
      -    "ranked_by": {
      -      "type": "string"
      -    },
      -    "rows": {
      -      "items": {
      -        "additionalProperties": false,
      -        "properties": {
      -          "dev_branches": {
      -            "items": {
      -              "additionalProperties": false,
      -              "properties": {
      -                "branch": {
      -                  "type": "string"
      -                },
      -                "core_minors": {
      -                  "items": {
      -                    "type": "string"
      -                  },
      -                  "type": [
      -                    "null",
      -                    "array"
      -                  ]
      -                },
      -                "era": {
      -                  "type": "string"
      -                },
      -                "installs": {
      -                  "type": "integer"
      -                }
      -              },
      -              "required": [
      -                "branch",
      -                "installs",
      -                "core_minors"
      -              ],
      -              "type": "object"
      -            },
      -            "type": [
      -              "null",
      -              "array"
      -            ]
      -          },
      -          "installs": {
      -            "type": "integer"
      -          },
      -          "latest_release": {
      -            "additionalProperties": false,
      -            "properties": {
      -              "core_compatibility": {
      -                "type": "string"
      -              },
      -              "date": {
      -                "type": "string"
      -              },
      -              "security": {
      -                "type": "boolean"
      -              },
      -              "status": {
      -                "type": "string"
      -              },
      -              "version": {
      -                "type": "string"
      -              }
      -            },
      -            "required": [
      -              "version",
      -              "security"
      -            ],
      -            "type": [
      -              "null",
      -              "object"
      -            ]
      -          },
      -          "machine_name": {
      -            "type": "string"
      -          },
      -          "security": {
      -            "type": "string"
      -          },
      -          "status": {
      -            "type": "string"
      -          },
      -          "title": {
      -            "type": "string"
      -          },
      -          "type": {
      -            "type": "string"
      -          }
      -        },
      -        "required": [
      -          "machine_name",
      -          "installs",
      -          "dev_branches"
      -        ],
      -        "type": "object"
      -      },
      -      "type": [
      -        "null",
      -        "array"
      -      ]
      -    }
      -  },
      -  "required": [
      -    "count",
      -    "rows",
      -    "ranked_by"
      -  ],
      -  "type": "object"
      -}New value: +null
  5. Changed1 schema field changed
    • changedInput schema / properties / core_minor / description
      Previous value: -"Filter: a core minor in 11.4.x form that some development branch declares support for; with missing=true, projects with NO such branch."New value: +"Filter: a core minor in 11.4.x form that the newest release on some development branch declares support for (composer constraint from drupal.org); with missing=true, projects with NO such branch."
  6. Added

TDQS

A4.7/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, and destructiveHint=false, so safety is covered; the description adds paging semantics (next_offset absent on the last page), ordering, and rich return-shape detail including count and missing_sections. It does not state rate limits or result-size ceilings, but that gap is minor for a read-only listing.

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 leading sentence and bullet structure front-load purpose, alternatives, then filter semantics; nearly every clause carries operational detail. It is dense to the point that the opening sentence packs ordering, paging, sibling routing, and examples together, costing some readability.

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

Completeness5/5

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

For a 10-parameter filtered listing with no output schema, the description supplies the row fields, derived fields (cms_depth, member_of_count), the extra fields injected by a member_of filter, and the edge cases for projects outside any root. Nothing essential to correct invocation is left to the schema alone.

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

Parameters5/5

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

Although schema coverage is 100%, the description adds real meaning beyond it: core_minor reads the newest release's composer constraint per dev branch, any patch of the minor satisfying it counts, unreleased tip changes are invisible, and missing=true inverts to the upgrade-gap list while also matching next_minors (12.0.x). It also clarifies that filters apply to both count and rows and that max_depth requires member_of.

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

Purpose5/5

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

States a specific verb and resource ("List drupal.org projects"), the ordering ("largest install base first"), and paging behavior in the first sentence. It also routes to siblings explicitly: "One project: project_profile. Its pending records: project_upgrade_report."

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Gives concrete query intents as examples ("top modules without an 11.4 branch", "themes over 10k installs without security coverage") and names the alternative tool for single-project and upgrade-report lookups. It also explains how filters combine, so an agent knows the intended multi-filter usage rather than guessing a single filter mode.

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.

Resources