Skip to main content
Glama

Wisco Labs: developer tools

Which npm dependencies need @types packages, and which version?

types_check
Read-onlyIdempotent

For a TypeScript project: which dependencies ship their own type declarations, which need a DefinitelyTyped @types package (and the version that matches the installed library), and which installed @types packages describe a different major version than the library.

Input Schema

NameRequiredDescriptionDefault
requirementsYesThe project's dependencies, including any @types packages: the contents of package-lock.json (best), package.json, or one 'name@version' per line

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint:false and openWorldHint:false, so the safety profile is covered. The description adds value beyond that by disclosing the shape of the analysis output (three distinct verdict categories, including version-mismatch detection), which matters since no output schema exists.

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 the scope qualifier front-loaded and three parallel clauses that each carry distinct information; no filler. It is dense but readable, and nothing could be cut without losing one of the three result categories.

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 one-parameter, read-only analysis tool with full schema coverage and rich annotations, the description covers the essential question (what the tool determines) and the results it returns. It lacks only sibling differentiation and any note on input edge cases, which are minor given the schema's explicit format guidance.

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%: the single 'requirements' parameter is documented with accepted formats (package-lock.json best, package.json, or name@version lines) and a concrete example. The description adds no additional meaning about the parameter, so the baseline of 3 applies.

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 uses a clear framing ("For a TypeScript project") and enumerates the three concrete answers the tool produces: self-shipped declarations, needed DefinitelyTyped @types packages with matching versions, and mismatched @types major versions. This is far more specific than the name 'types_check' alone, though it never names a sibling (e.g., native_check, node_check) to distinguish scope explicitly.

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 "For a TypeScript project" qualifier implies the usage context (projects with TypeScript dependencies) and the mention of a matching-version check hints at the post-install/audit use case. However, there is no explicit when-to-use versus when-not guidance and no routing to alternatives among the many sibling check 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.

Resources