Skip to main content
Glama
YawLabs

@yawlabs/npmjs-mcp

by YawLabs

npm_team_delete

DestructiveIdempotent

Delete an npm team by providing '@scope:team' and confirm: true. Removes all package permissions and team memberships in one operation.

Instructions

Delete a team. Team is passed as '@scope:team'. Revokes all package permissions that team held, and team memberships are also removed. Requires confirm: true — this removes the team and all its package grants in one call. List the team's current grants with npm_team_packages first if you need to preserve them.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
teamYesTeam in the form '@scope:team'
confirmYesMust be literally true. Guards against accidental team deletion.
Behavior5/5

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

Annotations already indicate destructive and non-read-only behavior, but the description adds valuable detail: it revokes all package permissions, removes team memberships, requires confirm: true, and performs the operation in one call. This goes beyond the structured annotations and gives the agent a clear picture of side effects.

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?

Three sentences, each earning its place: the action, the side effects, and the precautionary tip. No redundancy or filler, with the most critical information front-loaded.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a destructive tool with two parameters and no output schema, the description covers all essential aspects: the operation, required confirmation, consequences, and how to mitigate data loss. It is fully self-contained and leaves no important gaps.

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 100%, with both team and confirm already well documented. The description echoes the confirm requirement but does not add meaningful parameter-level detail beyond what the schema provides. Baseline 3 is appropriate since the schema carries the parameter semantics.

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 clearly states the action ('Delete a team') and specifies the input format ('@scope:team'). It also lists the consequences (revokes all package permissions, removes memberships), which distinguishes it from sibling tools like npm_team_revoke or npm_team_member_remove that operate on narrower scopes.

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 description gives clear usage context: requires confirm: true and warns to preserve grants by listing them with npm_team_packages first. However, it does not explicitly contrast with alternatives like npm_team_revoke, so the guidance is strong but not exhaustive.

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/YawLabs/npmjs-mcp'

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