Skip to main content
Glama

check_compatibility

Determine if a Dart or Flutter package version supports your SDK constraints by comparing the package against your Dart and Flutter version requirements.

Instructions

Check whether a package version supports your Flutter/Dart SDK. Pass the package name and your SDK constraints (e.g. dart: ^3.5.0, flutter: ^3.24.0).

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "package": "<package>"
    },
    "name": "check_compatibility"
  }
}

Input Schema

NameRequiredDescriptionDefault
dartNoyour Dart SDK constraint
flutterNoyour Flutter SDK constraint
packageYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.5/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the full burden. It implies a read-only, non-mutating check and usefully supplies example constraint syntax, but it never states what the response looks like (a boolean verdict, a list of compatible versions?), what happens if the package is unknown, or which version is evaluated when no version is passed.

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?

Two tightly written sentences; the purpose comes first and the argument guidance second, with zero filler.

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

Completeness3/5

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

For a simple three-parameter lookup with no annotations and no output schema, the description covers purpose and input format but leaves the return value and default behavior when dart/flutter are omitted unexplained. Those are the remaining pieces an agent would want before relying on the result.

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 coverage is 67%, so the schema already documents the dart and flutter fields; the description adds real value by giving concrete constraint examples (dart: ^3.5.0, flutter: ^3.24.0). However, the package parameter has no schema description and the description never clarifies its format — plain name versus name:version — which matters given the phrase 'package version' with no version parameter.

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

Purpose4/5

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

The description states a specific verb and question — checking whether a package version supports a Flutter/Dart SDK — plus what to pass in. That is concrete enough to distinguish it from siblings like get_package or latest_version, which retrieve data rather than evaluate compatibility, though it never names those alternatives explicitly.

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?

Use is implied by the question being asked (verify SDK support before depending on a package), but there is no explicit when-to-use, when-not-to-use, or pointer to a sibling for adjacent needs. An agent can infer the case but gets no routing guidance.

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