Skip to main content
Glama

Bundlephobia History

bundlephobia_history
Read-onlyIdempotent

Fetch minified + gzipped bundle size for each of up to 5 specified versions of an npm package and return them side-by-side for size regression tracking.

Example tool call

This call uses example arguments supplied in the tool’s input schema.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "package": "lodash",
      "versions": "4.17.20,4.17.21"
    },
    "name": "bundlephobia_history"
  }
}

Input Schema

NameRequiredDescriptionDefault
packageYes
versionsYesComma-sep version list (max 5 to avoid timeouts)

Output Schema

NameRequiredDescriptionDefault
historyYesSize data for each version
packageYesPackage name

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, open-world, non-destructive behavior, so the description only needs to add context. It usefully adds the 5-version cap, the side-by-side return format, and the regression-tracking purpose, though it does not discuss timeout/error behavior beyond the schema's note.

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 with no redundant wording. Every phrase contributes either the resource, the five-version constraint, the side-by-side output, or the regression-tracking purpose.

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 two-parameter tool with an output schema and rich annotations, the description covers the essential purpose, input limit, and return arrangement. Minor gaps remain around package-name format and failure/timeout behavior, but they are limited given the structured fields already present.

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 50% schema description coverage, the schema fully documents versions as a comma-separated list with a max of 5, while package is undocumented there. The description adds that package is an npm package and reiterates the version limit, but it does not add format details such as scoped package names or exact version syntax beyond the schema examples.

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 states a specific verb and resource: fetch minified + gzipped bundle sizes for up to 5 versions of an npm package, returned side-by-side. It clearly distinguishes the multi-version regression use case from a generic single-size fetch, though it does not explicitly name the sibling tool bundlephobia_size.

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 phrase 'for size regression tracking' gives clear context for when to use this tool. It does not spell out exclusions or name an alternative for one-off/current-version lookups, so it stops short of full when/when-not guidance.

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.