Skip to main content
Glama
Infisical MCP Server

Infisical MCP Server

Official
by Infisical

invite-members-to-project

Add users to an Infisical project and assign one or more roles; non-organization users are invited by email while existing project members remain unchanged.

Instructions

Add users to a project with one or more roles. Users who are not yet in the organization are invited to it by email. Users who are already members of the project are left as they are.

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": {
      "projectId": "<projectId>"
    },
    "name": "invite-members-to-project"
  }
}

Input Schema

NameRequiredDescriptionDefault
emailsNoThe email addresses of the users to add. Either emails or usernames must be provided.
projectIdYesThe ID of the project, from list-projects. A project slug or exact project name also works.
roleSlugsNoThe roles to give them. The built-in roles are admin, member, viewer and no-access, and a project can define custom roles. Defaults to member.
usernamesNoThe usernames of the users to add. Either emails or usernames must be provided.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed7 schema fields changedv0.1.0
    • changedInput schema / properties / emails / description
      Previous value: -"The emails of the members to invite. Either usernames or emails must be provided."New value: +"The email addresses of the users to add. Either emails or usernames must be provided."
    • addedInput schema / properties / emails / items
      Added value: +{
      +  "type": "string"
      +}
    • changedInput schema / properties / projectId / description
      Previous value: -"The ID of the project to invite members to (required)"New value: +"The ID of the project, from list-projects. A project slug or exact project name also works."
    • changedInput schema / properties / roleSlugs / description
      Previous value: -"The role slugs of the members to invite. If not provided, the default role 'member' will be used. Ask the user to confirm the role they want to use if not explicitly specified."New value: +"The roles to give them. The built-in roles are admin, member, viewer and no-access, and a project can define custom roles. Defaults to member."
    • addedInput schema / properties / roleSlugs / items
      Added value: +{
      +  "type": "string"
      +}
    • changedInput schema / properties / usernames / description
      Previous value: -"The usernames of the members to invite. Either usernames or emails must be provided."New value: +"The usernames of the users to add. Either emails or usernames must be provided."
    • addedInput schema / properties / usernames / items
      Added value: +{
      +  "type": "string"
      +}
  2. First observedv1.0.0

TDQS

A4.2/5.0
Behavior4/5

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

Annotations only declare readOnly=false, idempotent=false and destructive=false; the description goes further by disclosing an out-of-band side effect (email invitations to the organization) and no-op semantics for existing project members. What's missing is any permission or scope requirement for the caller performing the invitation.

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 short sentences, front-loaded with the action, followed by the two edge-case behaviors. No filler and nothing redundant with the title.

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 four-parameter mutation tool with full schema coverage and existing annotations, the description covers the essential behavioral unknowns (email invite side effect, skipping existing members). It stops short of stating required permissions or what the response contains, but with no output schema that omission is minor.

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 emails, usernames, projectId and roleSlugs are already fully documented, including the default role and the slug/name fallback for projectId. The description adds little beyond 'one or more roles' and repeats the either/or requirement already stated in the schema.

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 users to a project') plus the scope detail 'with one or more roles'. No sibling tool in the list performs membership changes, so an agent can identify the right tool without opening the 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 clear operating context: non-organization users are invited by email, and existing project members are skipped. It does not name an alternative or an explicit when-not-to-use case, which keeps it below a 5, but the conditional behavior is enough to guide invocation.

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