Skip to main content
Glama

Invite to app

invite_to_app
Destructive

Invites one person to an app, by exactly one of an email address, an account id as get_access lists it, or a name. role user is the ordinary invite; editor lets them change the app, and a guest is only a User. A new email address is sent an invitation email that asks for a Cloche sign-in with that address, and lets someone new in when they sign up with it; an account id or name sends no mail. The platform owns their way in, so the app needs no login or code-entry screen. Existing members keep their role and pending invitations are reused. A name invite keeps stronger access the account already has, and a missing or ambiguous name is refused without naming or guessing accounts. With an email, invite_to_organization true also invites them to the organization as a User, who must accept. Omitted or false shares only the app. organization_name needs true and lets an Owner name an unnamed one.

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": {
      "app_id": "<app_id>",
      "role": "<role>"
    },
    "name": "invite_to_app"
  }
}

Input Schema

NameRequiredDescriptionDefault
roleYesuser, or editor to let them change the app
app_idYesthe app to invite the person to, from a reply or list_apps
subject_nameNo1-200 characters; complete consecutive name words, ignoring case and repeated whitespace, or their handle before the @
subject_or_emailNotheir email address, or their account id as get_access lists it; give this or subject_name, not both
organization_nameNowith invite_to_organization: Owner-only name for an unnamed organization
invite_to_organizationNoemail only: true also invites membership, otherwise app-only

Output Schema

NameRequiredDescriptionDefault
roleNothe role applied to the resolved account

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • removedOutput schema / properties / account_id
      Removed value: -{
      -  "description": "the resolved account for a name invite, an internal id",
      -  "type": "string"
      -}
  2. Added

TDQS

A4.6/5.0
Behavior5/5

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

Annotations already flag destructive, open-world, and non-idempotent behavior. The description adds substantial context beyond them: new email addresses receive an invitation email, account id or name sends no mail, pending invitations are reused, existing members keep their role, ambiguous names are refused without guessing, and organization invites require acceptance.

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 core action is front-loaded and the description is organized around identifier modes and edge cases. It is dense and includes a confusing 'guest' clause, but the length is mostly justified by the tool's behavioral complexity.

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 six-parameter mutation with subtle invite semantics and an output schema, the description covers the important edge cases: existing members, pending invitations, ambiguous names, email delivery, and organization acceptance. Nothing critical for correct invocation 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 meaningful consequences for role choice, identifier choice, and invite_to_organization. However, the clause 'a guest is only a User' references a role that is not in the enum and muddies the role 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?

States a specific verb ('Invites') and resource ('one person to an app'), and enumerates the three identifier modes (email, account id, name). An agent can tell this is a per-person app invitation rather than link sharing or access revocation.

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?

Explains the exactly-one-of email/account-id/name selection, role implications, and organization-invite flag behavior. It gives clear invocation context but does not explicitly name an alternative tool (such as share_app_by_link) or state when not to use this invite path.

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.