Skip to main content
Glama

get_package_info

Retrieve detailed metadata, versions, scores, and dependencies for a specific Dart or Flutter package to evaluate its suitability and integration needs.

Instructions

Get detailed information about a specific package

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

Input Schema

NameRequiredDescriptionDefault
nameYesPackage name

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.3

TDQS

C2.9/5.0
Behavior2/5

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

With no annotations, the description carries the full behavioral burden, but it only signals retrieval through the word "Get." It does not disclose the data source, package-version scope, missing-package behavior, result contents, or other operational traits.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

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

The single short sentence is front-loaded, easy to scan, and free of redundancy. Its brevity is appropriate in form, although the word "detailed" is generic rather than informative.

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

Completeness2/5

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

The definition is sufficient to construct a syntactically valid call but not to predict what package information will be returned. With no output schema or annotations, the undefined scope, limited behavioral context, and lack of sibling differentiation are consequential gaps.

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 sole required parameter is already documented in the schema as "Package name," giving 100% schema description coverage. The description adds no naming syntax, registry scope, or other parameter meaning, so the high-coverage 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?

"Get detailed information about a specific package" provides a clear retrieval verb and resource, so the basic operation is understandable. It does not define what "detailed information" includes or distinguish this general lookup from specialized sibling tools.

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?

Beyond indicating that the target is a specific package, the description gives no context for when to use this tool. It provides no prerequisites, exclusions, or guidance for choosing between general package information, search, or the specialized package-related siblings.

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