Skip to main content
Glama
YawLabs

@yawlabs/npmjs-mcp

by YawLabs

npm_team_member_add

Idempotent

Add an existing npm org member to a team using '@scope:team' format. Specify the npm username and team to grant membership directly from MCP.

Instructions

Add a user to a team. Team is '@scope:team'. User must already be in the org.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
teamYesTeam in the form '@scope:team'
userYesnpm username

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.12.2

TDQS

A4/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=false and idempotentHint=true, so the mutation and idempotency are known. The description adds the team format and org precondition, which is useful context, but does not disclose side effects or permission requirements. No contradiction with annotations.

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?

Two short sentences with zero wasted words. The core action is front-loaded, followed by the format and precondition.

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 2-parameter tool with full schema coverage and informative annotations, the description covers the essential call context. It could mention permission requirements or error cases, but none are critical for agent invocation.

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%, with both parameters documented ('@scope:team' and 'npm username'). The description repeats the team format and adds the org precondition, but does not add meaning beyond the schema for 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 uses a specific verb ('Add') and resource ('user to a team'), and clearly defines the team format ('@scope:team'). It is unambiguous and distinguished from siblings like npm_team_member_remove.

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?

Provides clear context including the required team format and the precondition that the user must already be in the org. It does not name alternative tools or explicitly state when not to use it, but the usage context is sufficiently clear.

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