Skip to main content
Glama

Mango Inventory

Add team member

add_team_member
Idempotent

Add an organization member to a team. userId is the member's userId from list_members, NOT a person-resource id from search_resources; teamId comes from list_teams or create_team. Idempotent: re-adding an existing member changes nothing. A full team is refused with teamMemberCap, which carries the cap. Admin only.

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": {
      "teamId": "<teamId>",
      "userId": "<userId>"
    },
    "name": "add_team_member"
  }
}

Input Schema

NameRequiredDescriptionDefault
teamIdYesTeam id (from list_teams or create_team)
userIdYesMember userId (from list_members)

Output Schema

NameRequiredDescriptionDefault
teamIdNoTeam id
userIdNoThe member userId that was added
teamNameNoTeam name
memberCountNoMembers in the team afterwards

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.5/5.0
Behavior4/5

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

Annotations already declare idempotentHint=true and destructiveHint=false, and the description restates idempotency while adding genuinely new behavior: an admin-only authorization requirement and a specific failure mode (a full team refused with teamMemberCap, which carries the cap). That failure and auth context is real value beyond the 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?

Five short sentences, front-loaded with purpose, then id sourcing, idempotency, failure mode, and the admin gate. Every sentence carries information an agent needs to call the tool correctly; nothing is padding.

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 two-parameter mutation with an output schema and full annotation coverage, the description supplies the remaining essentials: where each id comes from, who may call it, and how a capacity refusal surfaces. Nothing an agent needs to invoke it correctly is missing.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so the baseline is 3, but the description adds a non-obvious negative constraint the schema does not convey: userId is the member's userId from list_members, NOT a person-resource id from search_resources. That prevents a likely mis-invocation and lifts it above baseline.

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 opens with a specific verb and resource ('Add an organization member to a team') and immediately separates this tool's identifiers from those of list_members and search_resources, so an agent can distinguish it from sibling tools without opening a schema.

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?

It gives concrete prerequisites (teamId from list_teams/create_team, userId from list_members) and a hard access condition ('Admin only'), which tells the agent when the call can succeed. It stops short of explicitly naming an alternative tool or a when-not-to-use case beyond the id-source disambiguation.

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