Skip to main content
Glama
zafnz
by zafnz

flutter_pub_get

Resolve and download Flutter dependencies by running pub get in a specified project directory.

Instructions

Run flutter pub get to resolve and download dependencies.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
project_dirYesPath to the Flutter project directory

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. First observedv1.2.5

TDQS

B3.1/5.0
Behavior2/5

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

With no annotations provided, the description carries the full burden of behavioral disclosure. It mentions resolving and downloading dependencies, but does not disclose that the operation modifies pubspec.lock and .dart_tool/package_config.json, requires network access, or may be slow. For a mutating operation this is a significant omission.

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 a single, direct sentence with no filler. It front-loads the command name and immediately states its purpose, making it easy to scan.

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?

This is a simple one-parameter tool, so the description is minimally viable. However, it lacks side-effect disclosure and usage context relative to sibling commands, which an agent would benefit from when deciding whether to invoke it.

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?

The input schema already documents project_dir with 100% coverage, so the baseline is 3. The description adds no additional parameter-level meaning beyond what the schema provides.

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 ('Run'), resource ('flutter pub get'), and purpose ('resolve and download dependencies'), making the core function clear. It does not explicitly differentiate from sibling tools like flutter_pub_add or flutter_get_result, so it falls just 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 Guidelines2/5

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

No guidance is provided about when to use this tool or when to prefer an alternative such as flutter_pub_add. The description simply states what the command does, leaving the agent to infer its place in a workflow.

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

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/zafnz/flutter-dev-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server