Skip to main content
Glama

latest_version

Get current version numbers for one or more pub.dev packages to support dependency bumps.

Instructions

Get just the latest version number(s) of one or more pub.dev packages. Fast; use for dependency bumps.

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": {
      "packages": "<packages>"
    },
    "name": "latest_version"
  }
}

Input Schema

NameRequiredDescriptionDefault
packagesYesone or more pub.dev package names

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.6/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 burden; "Get" implies a read-only, side-effect-free call and "Fast" hints at a lightweight response, which is adequate for a trivial lookup. It does not state whether results are ordered to match the input list, what happens for unknown or private package names, or anything about 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.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two compact sentences with zero waste; the core action is front-loaded and the usage hint follows immediately.

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 one-parameter lookup with no output schema, the description conveys both the operation and the shape of the return (version numbers only). Minor gaps around result ordering and error handling for invalid package names keep it short of a 5.

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 single parameter is already documented as "one or more pub.dev package names"; the description's "one or more packages" simply restates it. Baseline 3 is appropriate since the schema does the work and the description adds no format or constraint detail.

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?

States a specific verb and resource ("Get the latest version number(s) of pub.dev packages"), and the word "just" signals it returns a minimal payload compared with metadata-oriented siblings like get_package. It never names those siblings explicitly, so differentiation is implied rather than stated.

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 for dependency bumps" gives one concrete usage scenario, which is more than nothing. There are no when-not conditions and no alternative tool is named, so an agent must infer that get_package or check_compatibility cover other needs.

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