Skip to main content
Glama

search_similar_packages

Find Dart/Flutter packages similar to a given package or matching tags to discover related package options on pub.dev.

Instructions

Find packages similar to a given package or by tags

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "search_similar_packages"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameNoPackage name to find similar packages for
tagsNoTags to search for
limitNoMaximum number of results (default 10)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.3

TDQS

B3.2/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full disclosure burden. It says nothing about how similarity is determined, result ordering, whether limit applies per mode, or whether the operation is a safe read — all material for an agent choosing between it and search_packages.

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?

A single front-loaded sentence with no filler. It is efficient, though the brevity leaves it under-specified rather than maximizing the few words it uses.

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?

For a simple three-parameter read tool with a fully documented schema and no output schema, the definition is minimally adequate. The gap is behavioral: no note on combining name with tags, nor on ordering or scope of results, which an agent would need to call it confidently.

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%, so all three parameters (name, tags, limit) are already documented with their meaning. The description only restates the name-or-tags duality and adds no semantics such as interaction between name and tags or how limit is applied.

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 ('Find packages similar to...') and names the two lookup modes (by package name or by tags), which is a meaningful distinction from a keyword-oriented sibling like search_packages. It stops short of an explicit contrast with that sibling, so it is clear but not fully disambiguated.

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?

The 'or' construction implies two usage modes: supply a name for similarity lookup, or supply tags for tag-based lookup. Nothing states whether both may be combined, what happens when neither is supplied (all three parameters are optional), or when to prefer this over search_packages.

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