Skip to main content
Glama
Mencoro MCP server

Mencoro MCP server

Invite a member

invite_member

Invite a user by email to an organization with a role and optional project access, sending an acceptance email; existing members are skipped. Requires preview confirmation first.

Instructions

Invite someone to the organization by email with a role (owner, manager or viewer) and, optionally, the projects they will reach (projectAccess); they get an email to accept. Inviting an address that already belongs to a member creates nothing and says so. Requires a confirmationToken: call preview_operation with tool "invite_member" and these arguments first, show the returned plan to the user, and call this tool only after the user explicitly agrees. Needs the organization:manage permission and the owner role.

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": {
      "organizationId": "<organizationId>",
      "email": "<email>",
      "role": "<role>",
      "confirmationToken": "<confirmationToken>"
    },
    "name": "invite_member"
  }
}

Input Schema

NameRequiredDescriptionDefault
roleYes
emailYes
requestIdNoOptional idempotency key, 8-255 printable characters. Reuse it only to retry this same call.
projectAccessNoOptional. The projects the invitee will reach once they accept: {"mode": "all"}, the default, or {"mode": "selected", "projectIds": [...]} with 1 to 500 distinct project ids of this organization from list_projects; a repeated id counts once. An owner always reaches every project, so an owner invitation cannot carry a selection.
organizationIdYes
confirmationTokenYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv2.0.0
    • addedInput schema / properties / projectAccess
      Added value: +{
      +  "default": null,
      +  "description": "Optional. The projects the invitee will reach once they accept: {\"mode\": \"all\"}, the default, or {\"mode\": \"selected\", \"projectIds\": [...]} with 1 to 500 distinct project ids of this organization from list_projects; a repeated id counts once. An owner always reaches every project, so an owner invitation cannot carry a selection.",
      +  "properties": {
      +    "mode": {
      +      "enum": [
      +        "all",
      +        "selected"
      +      ],
      +      "type": "string"
      +    },
      +    "projectIds": {
      +      "items": {
      +        "type": "string"
      +      },
      +      "type": "array"
      +    }
      +  },
      +  "required": [
      +    "mode"
      +  ],
      +  "type": "object"
      +}
  2. Addedv1.1.0

TDQS

A5/5.0
Behavior5/5

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

Beyond the standard annotations, the description provides critical behavioral requirements, specifically noting the required permissions ('organization:manage' and 'owner role') and the state change behavior for existing members.

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?

The tool definition is highly dense but extremely efficient. Every sentence contributes critical operational or workflow information without unnecessary fluff.

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?

Given the complexity of roles, project scoping, and the necessary pre-invocation workflow, the description covers every major complexity point, making it highly complete.

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

Parameters5/5

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

The description adds significant semantic value beyond the schema, especially for the `projectAccess` parameter. It clarifies that these projects are defined only for when the invitee accepts and details a crucial constraint: an owner invitation cannot include project selection.

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 and the outcome: 'Invite someone to the organization by email.' It is unambiguous about the tool's function.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The usage guidelines are explicit and procedural. It mandates a specific workflow (call `preview_operation` first), defines the required user agreement, and handles the edge case where the email address already exists.

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