Skip to main content
Glama

check_version_compatibility

Read-only

Validates Spring Boot BOM, Android/Kotlin toolchain (AGP, Gradle, JDK), and javax→jakarta version compatibility, returning conflicts and suggested versions.

Instructions

Check whether a set of versions is mutually compatible. Validates (1) dependency versions against the Spring Boot BOM (spring-boot-dependencies) when springBoot is set, (2) AGP↔Gradle↔JDK and Kotlin Gradle plugin↔Gradle/AGP ranges from a shipped matrix file, and (3) javax→jakarta EE coordinate migration when Spring Boot ≥ 3. Returns conflicts with suggested compatible versions and reference URLs. v1 coverage is intentionally bounded — see notes[] in the response; matrices are not scraped at runtime and must be refreshed via the documented procedure in compat-matrices.json.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
androidNoAndroid / Kotlin toolchain versions to validate against the shipped AGP and KGP matrices.
springBootNoSpring Boot version. When set, expands org.springframework.boot:spring-boot-dependencies and checks dependencies[] against managed versions; also enables javax→jakarta checks when ≥ 3.0.0.
projectPathNoProject root used to resolve declared repositories for BOM fetch. Defaults to the current working directory.
dependenciesNoDependencies to check against the Spring Boot BOM and/or javax→jakarta map.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
notesYes
conflictsYes
compatibleYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.1.0

TDQS

A4.2/5.0
Behavior4/5

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

Annotations only declare readOnlyHint and openWorldHint, so the description must carry the rest, and it does: it discloses that v1 coverage is intentionally bounded, that matrices are not scraped at runtime and require manual refresh via compat-matrices.json, and that limitations surface in notes[]. That is meaningful behavioral context beyond the annotations, though it does not discuss auth or rate limits.

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 purpose is front-loaded in the first sentence, followed by the numbered validation list and the scope caveat. Dense but every sentence carries information; the numbered clauses are slightly long but earn their place.

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 multi-check validation tool with an output schema already present, the description covers what is validated, the conditional triggering of each check, the static-matrix limitation, and where limitations are reported (notes[]). Nothing needed to call it correctly is missing.

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?

Schema coverage is 100%, so the baseline is 3, but the description adds real semantic linkage beyond the schema: it explains that springBoot expands the BOM and enables javax→jakarta checks at ≥3.0.0, and that android versions are validated against shipped matrices. It clarifies cross-parameter effects the schema only hints at.

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 ('Check whether a set of versions is mutually compatible') and then enumerates the three distinct validations it performs (Spring Boot BOM, AGP↔Gradle↔JDK/KGP matrix, javax→jakarta). This clearly separates it from siblings like check_multiple_dependencies or check_version_exists, which only test existence.

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?

The description explains conditional activation ('when springBoot is set', 'when Spring Boot ≥ 3'), which implies usage context, but it never explicitly says when to prefer this tool over siblings such as detect_dependency_conflicts or check_multiple_dependencies, nor does it name any alternative. Usage is inferred rather than directed.

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