Skip to main content
Glama

Project upgrade readiness

project_upgrade_report
Read-onlyIdempotent

Answer "is this contrib project ready for a target core version, and what work is left". For one record's detail, use get_change_record. For a symbol's users, use list_symbol_users.

  • A record applies when it targets the target version or earlier, and a development branch of the project matched one of its tracks.

  • Verdict per record: outstanding (a branch still calls the going-away side), in_progress (some branches moved), adopted (all moved).

  • Returns counts by verdict, then a ranked head of outstanding records with file and line evidence from the project's own code.

  • Each entry has the count of other projects outstanding on the same record, and its nid for get_change_record.

  • removed_symbols: core symbols removed by the target, or scheduled for removal at or before it, that the project's development branches still reference. Each has occurrences, files, and the replacement when the catalog lists one. They need no change record: a class moved to another module, a service dropped. removed_symbol_count: the whole set. The head is newest removal first, then by occurrences. Test and test-support symbols are left out.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
limitNoOutstanding records to return with evidence, 1 to 15 (default 8). Above the cap the call is refused.
projectYesContrib project machine name as it appears on drupal.org, for example webform. The composer name drupal/webform is accepted. Packages from other vendors (acquia/cohesion) are not in the dataset.
target_versionYesTarget core version: 11.2, 11.2.x, 11.2.0, 11, or 11.x. A bare major (11) covers every minor of it.

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. Changed3 schema fields changed
    • changedInput schema / properties / limit / description
      Previous value: -"How many outstanding records to return with evidence, 1 to 15 (default 8); above the cap the call is refused."New value: +"Outstanding records to return with evidence, 1 to 15 (default 8). Above the cap the call is refused."
    • changedInput schema / properties / project / description
      Previous value: -"Contrib project machine name as it appears on drupal.org, for example webform; the composer name drupal/webform is accepted. Packages from other vendors (acquia/cohesion) are not in the dataset."New value: +"Contrib project machine name as it appears on drupal.org, for example webform. The composer name drupal/webform is accepted. Packages from other vendors (acquia/cohesion) are not in the dataset."
    • changedInput schema / properties / target_version / description
      Previous value: -"Target core version. Write it the way people say it: 11.2, 11.2.x, 11.2.0, 11, or 11.x. A bare major (11) covers every minor of it."New value: +"Target core version: 11.2, 11.2.x, 11.2.0, 11, or 11.x. A bare major (11) covers every minor of it."
  2. Changed1 schema field changed
    • changedInput schema / properties / target_version / description
      Previous value: -"Target core version. Write it the way people say it: 11.2, 11.2.x, 11.2.0, 11, or 11.x. A bare major means the end of that major."New value: +"Target core version. Write it the way people say it: 11.2, 11.2.x, 11.2.0, 11, or 11.x. A bare major (11) covers every minor of it."
  3. Changed1 schema field changed
    • changedInput schema / properties / project / description
      Previous value: -"Contrib project machine name as it appears on drupal.org, for example webform."New value: +"Contrib project machine name as it appears on drupal.org, for example webform; the composer name drupal/webform is accepted. Packages from other vendors (acquia/cohesion) are not in the dataset."
  4. Changed1 schema field changed
    • changedOutput schema / (root)
      Previous value: -{
      -  "additionalProperties": false,
      -  "properties": {
      -    "axis": {
      -      "type": "string"
      -    },
      -    "branches": {
      -      "additionalProperties": false,
      -      "properties": {
      -        "in_flight": {
      -          "type": "integer"
      -        },
      -        "legacy": {
      -          "type": "integer"
      -        },
      -        "migrated": {
      -          "type": "integer"
      -        }
      -      },
      -      "required": [
      -        "legacy",
      -        "in_flight",
      -        "migrated"
      -      ],
      -      "type": "object"
      -    },
      -    "computed_at": {
      -      "type": [
      -        "null",
      -        "string"
      -      ]
      -    },
      -    "outstanding": {
      -      "items": {
      -        "additionalProperties": false,
      -        "properties": {
      -          "evidence": {
      -            "items": {
      -              "additionalProperties": false,
      -              "properties": {
      -                "branches": {
      -                  "type": "integer"
      -                },
      -                "lines": {
      -                  "type": "string"
      -                },
      -                "path": {
      -                  "type": "string"
      -                },
      -                "symbol": {
      -                  "type": "string"
      -                }
      -              },
      -              "required": [
      -                "path"
      -              ],
      -              "type": "object"
      -            },
      -            "type": [
      -              "null",
      -              "array"
      -            ]
      -          },
      -          "files": {
      -            "type": "integer"
      -          },
      -          "flavor": {
      -            "type": "string"
      -          },
      -          "legacy_branches": {
      -            "type": "integer"
      -          },
      -          "nid": {
      -            "type": "integer"
      -          },
      -          "peer_projects": {
      -            "type": "integer"
      -          },
      -          "target_version": {
      -            "type": "string"
      -          },
      -          "title": {
      -            "type": "string"
      -          }
      -        },
      -        "required": [
      -          "nid",
      -          "title",
      -          "flavor",
      -          "target_version",
      -          "legacy_branches",
      -          "peer_projects",
      -          "evidence",
      -          "files"
      -        ],
      -        "type": "object"
      -      },
      -      "type": [
      -        "null",
      -        "array"
      -      ]
      -    },
      -    "project": {
      -      "type": "string"
      -    },
      -    "records": {
      -      "additionalProperties": false,
      -      "properties": {
      -        "adopted": {
      -          "type": "integer"
      -        },
      -        "in_progress": {
      -          "type": "integer"
      -        },
      -        "outstanding": {
      -          "type": "integer"
      -        },
      -        "total": {
      -          "type": "integer"
      -        }
      -      },
      -      "required": [
      -        "outstanding",
      -        "in_progress",
      -        "adopted",
      -        "total"
      -      ],
      -      "type": "object"
      -    },
      -    "target_version": {
      -      "type": "string"
      -    },
      -    "truncated": {
      -      "type": "boolean"
      -    }
      -  },
      -  "required": [
      -    "project",
      -    "target_version",
      -    "axis",
      -    "records",
      -    "branches",
      -    "outstanding",
      -    "truncated",
      -    "computed_at"
      -  ],
      -  "type": "object"
      -}New value: +null
  5. Changed1 schema field changed
    • changedInput schema / properties / limit / description
      Previous value: -"How many outstanding records to return with evidence. Defaults to 8, capped at 15."New value: +"How many outstanding records to return with evidence, 1 to 15 (default 8); above the cap the call is refused."
  6. First observed

TDQS

A4.7/5.0
Behavior5/5

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

Annotations already mark the tool read-only and idempotent; the description adds substantial behavior beyond that: how records apply, the three verdict states, that output is counts followed by a ranked head, that entries include cross-project counts and nids, and that test/test-support symbols are excluded. This is exactly the extra context agents need.

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?

The description is long but every sentence earns its place: it states purpose, routes to alternatives, then defines the output contract in dense, organized bullets. There is no filler or repetition, and the most important purpose is front-loaded.

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?

With no output schema, the description compensates fully: it explains return shape, verdict counts, ranked outstanding records, per-entry evidence fields, nid linkage, removed_symbols structure, ordering, and exclusions. An agent has enough context to invoke the tool correctly and interpret its results.

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 description coverage is 100%, so the input schema already fully documents project, target_version, and limit. The description does not add parameter semantics beyond that, but with complete schema coverage it does not need to; baseline 3 is appropriate.

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?

The description opens with a specific, non-tautological purpose: answering whether a contrib project is ready for a target core version and what work remains. It also distinguishes itself from sibling tools by explicitly naming get_change_record and list_symbol_users for different granularities of detail.

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?

It gives clear routing guidance: use get_change_record for one record's detail and list_symbol_users for a symbol's users. This tells an agent when not to use project_upgrade_report and which alternatives to pick, satisfying the when/when-not requirement.

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.

TDQS

A4.6/5.0
Disambiguation4/5

Tools cluster into related families (change records, symbol usage, patch checks), but descriptions and cross-references clearly separate list vs detail vs diff operations. Some adjacent tools like lookup_core_symbol and list_symbol_users require careful reading, yet their purposes are distinct enough for an agent to select correctly.

Naming Consistency4/5

Most tools follow a clear snake_case verb_noun pattern: list_*, get_*, lookup_*, query_, scan_, search_, reroll_, describe_. A few names like project_profile, subsystem_coupling, and what_changed deviate from verb_noun but remain consistent in style and readable.

Tool Count4/5

At 16 tools, the set is slightly above the typical well-scoped range, but the domain is broad: patch lifecycle, composer scanning, symbol lookup, change records, project profiles, dataset queries, and code search. Each tool covers a distinct query surface, so none feels redundant.

Completeness5/5

The toolkit covers the full read-only analysis lifecycle: scanning composer constraints, checking and re-rolling patches, exploring datasets, looking up core symbols and their users, listing change records, profiling projects, and assessing upgrade readiness. No obvious dead ends or missing operations for its stated purpose.

Resources