Skip to main content
Glama

suggest_alternative

Find replacement packages for vulnerable, deprecated, or unmaintained dependencies to maintain codebase security and stability.

Instructions

Find alternative packages when one is vulnerable, deprecated, or unmaintained.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameYesPackage name to find alternatives for
reasonNoWhy an alternative is needed (e.g., 'deprecated', 'vulnerable', 'unmaintained')
Behavior2/5

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

No annotations are provided, yet the description offers no behavioral context beyond the basic operation. It omits how alternatives are ranked/selected, what criteria are used for recommendations, whether the operation is read-only, or what the response structure looks like.

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?

Single sentence with zero waste. The phrase efficiently packs the action, target, and trigger conditions into a compact front-loaded structure where every word earns its place.

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?

Adequate for a simple 2-parameter tool, but lacks description of return values or output format given the absence of an output schema. For a recommendation tool, omitting what kind of alternatives data is returned (names only? scores? compatibility info?) leaves a meaningful gap.

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?

With 100% schema description coverage, the baseline is 3. The description mirrors the schema's examples for the 'reason' parameter ('vulnerable, deprecated, unmaintained') but adds no additional semantic value regarding parameter formats, validation rules, or the optional nature of the reason field.

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 provides a specific verb ('Find'), clear resource ('alternative packages'), and precise trigger conditions ('vulnerable, deprecated, or unmaintained'). It implicitly distinguishes from sibling 'find_safe_version' by focusing on alternative packages rather than alternative versions of the same package.

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 description specifies when to use the tool (when packages are vulnerable, deprecated, or unmaintained), but fails to explicitly contrast with 'find_safe_version'—a critical sibling that suggests upgrading the same package rather than replacing it. No guidance on when to prefer one approach over the other.

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

Install Server

Other Tools

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/devanshkaria88/depshield-mcp'

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