Skip to main content
Glama

Check every dependency in a pubspec.yaml for updates

check_pubspec

Parses a pubspec.yaml file's contents and checks all dependencies and dev_dependencies against pub.dev, reporting which ones have updates available. Changelog HTML is left out of each dependency unless changelog is set to true - if any of them have one, the response says how many (changelogsAvailable) and reminds you to call again with changelog: true. This does not save anything - pass the raw file contents, not a file path. No account needed.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
changelogNoInclude changelog HTML for each dependency. Defaults to false; only set this once you actually need the changelog text, since it can be large across a whole pubspec.
pubspecYamlYesThe full raw text contents of a pubspec.yaml file

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/5.0
Behavior5/5

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

With no annotations provided, the description fully carries the burden of behavioral disclosure. It explains that the tool is read-only (does not save anything), requires no account, and details the changelog behavior including the reminder to call again with changelog: true. This is transparent and comprehensive.

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 compact and well-structured. It front-loads the main purpose, then explains the changelog behavior, and finishes with usage tips. Every sentence adds necessary information without redundancy.

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?

The description covers the essential context: what the tool does, how to pass input, the changelog toggle behavior, and the fact that it's stateless and account-free. It does not detail the full response format beyond mentioning changelogsAvailable, but given the tool's simplicity and lack of output schema, this is adequate.

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 description coverage is 100%, so the baseline is 3. The description adds value by explaining when to set changelog (only when actually needed, due to large size) and reinforces the pubspecYaml input format (raw contents, not path). This goes beyond the schema descriptions.

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?

The description clearly states the tool parses a pubspec.yaml file and checks all dependencies and dev_dependencies against pub.dev for updates. It uses specific verbs and resources, and distinguishes itself from sibling tools (check_package/check_packages) by focusing on a pubspec file rather than individual packages.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description provides clear context on what the tool does and includes practical usage hints like passing raw file contents rather than a path, and the changelog parameter guidance. However, it does not explicitly mention alternatives or when-not-to-use scenarios, so it falls short of a 5.

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