Skip to main content
Glama

Check a pub.dev package for updates

check_package

Looks up a Dart/Flutter package on pub.dev and reports its latest published version. If currentVersion is given, also reports whether an update is available. Changelog HTML for versions newer than currentVersion is left out unless changelog is set to true - if one exists and was left out, the result says so (changelogAvailable: true), so call again with changelog: true to get it. No account needed.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
changelogNoInclude changelog HTML in the response. Defaults to false; only set this once you actually need the changelog text, since it can be large.
packageNameYesThe pub.dev package name, e.g. "http" or "provider"
currentVersionNoThe version currently installed, e.g. "1.2.3". Omit to just fetch the latest version.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior4/5

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

With no annotations, the description fully carries the behavioral burden. It discloses that changelog HTML is omitted unless requested, that a changelogAvailable: true flag signals it was skipped, that calling again with changelog: true retrieves it, and that no account is required. This is substantive transparency beyond a simple 'checks for updates' statement.

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 three tight sentences with zero filler. It front-loads the primary purpose, then layers conditional behaviors and the retry hint in logical order. Every sentence earns its place.

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

Completeness4/5

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

For a simple 3-parameter tool with no output schema and no annotations, the description covers the essential return semantics: latest version, update availability, changelog conditional, and the changelogAvailable retry signal. It does not describe the exact response JSON shape or error behavior for nonexistent packages, but those are minor omissions for this simple lookup tool.

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%, and the schema already explains each parameter's meaning and defaults. The description mostly restates these effects (e.g., changelog inclusion depends on the changelog parameter, currentVersion triggers update reporting) rather than adding new semantic depth, so the baseline of 3 applies.

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 clearly identifies the verb and resource: it 'looks up a Dart/Flutter package on pub.dev and reports its latest published version.' It also describes the core conditional behavior (update check when currentVersion is given). However, it does not explicitly distinguish itself from sibling tools check_packages and check_pubspec, so it stops short of a 5.

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 gives parameter-level usage guidance ('Omit to just fetch the latest version', 'only set this once you actually need the changelog text') and notes 'No account needed.' It does not, however, mention when to choose this tool over the sibling tools or any exclusions, leaving selection guidance implied rather than explicit.

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