[external]
Groups PackageReference and packages.config declarations across the loaded workspace to highlight version drift, central package management adoption, and alignment candidates.
Framework and package behavior often explains local code, but the source is outside the repo.
The model can inspect external definitions and package usage evidence instead of guessing from API names.
Try it locally in the GliderMCP playground
| Name | Type | Required | Description |
|---|---|---|---|
| packageId | string | No | Optional NuGet package ID filter. |
| projectName | string | No | Optional project name filter. |
| onlyConflicts | boolean | No | Return only packages with multiple declared versions. Default is false. |
| pathStyle | string | No | Path style: 'absolute' (default) or 'relative' (to solution root). |
| packagesSkip | number | No | Package-summary pagination offset. Default is 0. |
| packagesTake | number | No | Package-summary pagination size. Default is 200. |
| maxProjectsPerPackage | number | No | Maximum project declarations to include per package group. Default is 50. Use 0 to include all. |
Inspect version drift for one package
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "find_package_consolidation_candidates",
"arguments": {
"packageId": "Newtonsoft.Json",
"onlyConflicts": true
}
}
}{
"success": true,
"data": {
"summary": {
"packageCount": 1,
"conflictCount": 1,
"centrallyManagedPackageCount": 0,
"mixedManagementPackageCount": 0,
"legacyPackageCount": 0
},
"packages": {
"items": [
{
"packageId": "Newtonsoft.Json",
"recommendedVersion": "13.0.3",
"recommendationPolicy": "most-common-declared",
"hasVersionConflict": true,
"declaredVersions": [
{
"version": "12.0.3",
"declarationCount": 1
},
{
"version": "13.0.3",
"declarationCount": 2
}
]
}
]
}
},
"error": null
}Inspect all package groups in one project
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "find_package_consolidation_candidates",
"arguments": {
"projectName": "MyProject"
}
}
}{
"success": true,
"data": {
"summary": {
"packageCount": 1,
"conflictCount": 1,
"centrallyManagedPackageCount": 0,
"mixedManagementPackageCount": 0,
"legacyPackageCount": 0
},
"packages": {
"items": [
{
"packageId": "Newtonsoft.Json",
"recommendedVersion": "13.0.3",
"recommendationPolicy": "most-common-declared",
"hasVersionConflict": true,
"declaredVersions": [
{
"version": "12.0.3",
"declarationCount": 1
},
{
"version": "13.0.3",
"declarationCount": 2
}
]
}
]
}
},
"error": null
}Returns package-group summaries, version declarations, and project-level package management evidence