Skip to main content
Glama

get_package_info

Read-onlyIdempotent

Latest version, date and license of the 500 top npm and PyPI packages.

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

Input Schema

NameRequiredDescriptionDefault
nameYese.g. react, requests.
ecosystemYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • removedInput schema / additionalProperties
      Removed value: -false
  2. Added

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint and openWorldHint, so the safety profile is covered elsewhere. The description adds genuinely new behavioral context — the three returned fields and the hard coverage limit of the top 500 packages — but says nothing about error behavior for out-of-scope names or data freshness beyond 'latest'.

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 sentence with no filler, and the coverage limit is stated up front. It is slightly under-structured as a bare noun phrase, but nothing in it is wasted.

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?

With no output schema, the description carries the burden of describing return values and does so by listing version, date and license. For a simple two-parameter lookup this is close to complete; only failure behavior for unlisted packages is missing.

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 50%: 'name' carries an example but 'ecosystem' has an enum with no prose. The description partially compensates by naming npm and PyPI, clarifying what the enum values mean, and 'packages' implies the name parameter, so it adds some meaning over the schema but no format or resolution rules.

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 names the exact data returned (latest version, date, license) and the two ecosystems covered (npm, PyPI), which is more specific than the annotation title alone. It is a noun phrase with no verb and never states that lookup is by package name, but the resource and scope are unambiguous and no sibling tool overlaps with this domain.

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?

Usage is only implied: the '500 top' qualifier hints that only well-known packages are supported, which functions as an implicit boundary, but the description never states when to prefer this tool or what happens for a package outside that set. An agent must infer that an unlisted package will likely fail.

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.