Skip to main content
Glama

Get Package Score

get_package_score
Read-onlyIdempotent

Get the pub.dev quality score for a Dart/Flutter package: granted/max pub points, like count, popularity, 30-day download count, and classification tags (platforms, SDKs, license).

Input Schema

NameRequiredDescriptionDefault
nameYespub.dev package name, e.g. "http".

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, openWorldHint, idempotentHint, and destructiveHint=false, so the safety profile is clear. The description adds useful detail about what data the tool reports, but it does not disclose behavioral aspects such as whether it queries live pub.dev data, possible latency, or how missing packages are handled. This stays at the calibrated baseline for annotation-covered read tools.

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, front-loaded sentence that immediately identifies the tool's purpose and then lists the returned data components. Every part adds useful information without repetition or filler.

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 one-parameter read-only tool with no output schema, the description is largely complete: it identifies the input and describes the main output categories. It could go slightly further by noting behavior for invalid or nonexistent package names, but such an edge case is minor given the openWorldHint and the simplicity of the 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 coverage is 100%, with the 'name' parameter already explained and given an example. The description reinforces that the package is a Dart/Flutter pub.dev package, but it does not add materially new parameter semantics beyond the schema, so the baseline score of 3 is appropriate.

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 states a specific action ('Get') and a specific resource ('the pub.dev quality score for a Dart/Flutter package'), and then enumerates concrete components of that score. This distinguishes it well from nearby siblings like get_package or search_packages, which target package metadata or discovery rather than scoring.

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 gives clear context for when the tool is appropriate: whenever the agent needs a package's pub.dev quality score and its component metrics. It does not explicitly mention alternatives or exclusion conditions, but its specificity makes the use case obvious and effectively routes around search or metadata tools.

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.