Skip to main content
Glama

Mango Inventory

Invite member

create_invite
Destructive

Invite someone into the organization by email, with a role: owner (admin), manager, member or viewer. An invite grants access to the organization's data at that role once accepted. The result says whether the invite email was queued; when it was not (no email configured, delivery failure) the invite still exists, and its link can be shared from the app's Members page. A live pending invite for the same address is refused (invitePending), so a repeated call never duplicates. 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": {
      "email": "<email>",
      "role": "<role>"
    },
    "name": "create_invite"
  }
}

Input Schema

NameRequiredDescriptionDefault
roleYesRole in the organization — owner is the admin role
emailYesInvitee email address

Output Schema

NameRequiredDescriptionDefault
noteNoPresent when no email went out — share the link from the app
roleNoRole the invite grants
inviteIdNoThe new invite's id
emailFailedNoTrue = delivery failed
emailQueuedNoTrue = the invite email was handed to the provider

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior5/5

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

Beyond the annotations it discloses the partial-failure model: an invite persists even when the email was not queued (no email configured or delivery failure) and the link can be shared from the Members page. It also surfaces the dedupe error code invitePending and the admin-only permission requirement, which annotations alone would not convey. The 'never duplicates' phrasing is consistent with idempotentHint=false only in the sense that the second call errors rather than re-succeeding, so this is a nuance rather than a contradiction.

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?

The purpose is front-loaded in the first clause and each subsequent sentence adds a distinct fact: role meaning, grant effect, email-queue result, failure persistence, dedupe refusal, permission gate. It is dense but there is no filler; a slightly tighter phrasing of the email-queue sentence would make it a 5.

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 tool with full schema coverage and an output schema, the description supplies everything the agent still needs: permission gating, role semantics, dedupe behavior, and what a negative email result means. Nothing material is left implicit.

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%, so both parameters are already documented, including the enum. The description's role list largely restates the enum, and the only marginal value is spelling out that owner is the admin role — but the schema already states that. Baseline 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?

Description gives a specific verb and resource ('Invite someone into the organization by email, with a role') and enumerates the four valid roles, so the agent knows exactly what the call creates. It does not explicitly differentiate itself from the nearby add_team_member sibling (invite-by-email vs. direct add), leaving that distinction to be inferred.

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 states the prerequisite 'Admin only' and describes the repeat-call condition ('A live pending invite for the same address is refused (invitePending), so a repeated call never duplicates'), which tells the agent when a call will be rejected. It stops short of naming an alternative tool for cases where the person already exists, so there are no explicit exclusions.

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