Skip to main content
Glama

wariwari

Invite to a group

create_invitation

Use this to create an invitation link to a view-only or private group, as an admin, editor or read_only member, and give the user its url to share. A public_editable group needs no invitation: share its shareUrl from get_group, or make it private first with update_group. Admins 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": {
      "groupToken": "<groupToken>"
    },
    "name": "create_invitation"
  }
}

Input Schema

NameRequiredDescriptionDefault
expiresAtNoWhen the invitation stops working; a time in the past is a 400. Omit for one that never expires.
groupTokenYesThe group's token, from `listGroups` or `listSearchResults`.
idempotencyKeyNoA UUID you make up for this call. If the call fails or gets no answer and you try again, send the same UUID so nothing is added twice. Use a new one for each new thing you add.
membershipRoleNoRole granted to whoever accepts. Defaults to editor.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed4 schema fields changed
    • addedInput schema / properties / expiresAt
      Added value: +{
      +  "description": "When the invitation stops working; a time in the past is a 400. Omit for one that never expires.",
      +  "format": "date-time",
      +  "type": "string"
      +}
    • removedInput schema / properties / expiresIn
      Removed value: -{
      -  "description": "Expiry window. Omit for a non-expiring invitation.",
      -  "enum": [
      -    "24h",
      -    "7d",
      -    "30d"
      -  ],
      -  "type": "string"
      -}
    • addedInput schema / properties / groupToken / description
      Added value: +"The group's token, from `listGroups` or `listSearchResults`."
    • addedInput schema / properties / idempotencyKey
      Added value: +{
      +  "description": "A UUID you make up for this call. If the call fails or gets no answer and you try again, send the same UUID so nothing is added twice. Use a new one for each new thing you add.",
      +  "format": "uuid",
      +  "type": "string"
      +}
  2. First observed

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already establish a non-readOnly, non-destructive, closed-world write, and the description adds real context beyond that: the output is a shareable URL the caller must hand to a user, public_editable groups cannot be invited to, and there is a permission gate. It does not say whether re-inviting is idempotent or what happens on expiry, but the safety profile is already covered structurally.

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?

Two dense sentences that front-load the action and then the alternative path, with almost no filler. The trailing 'Admins only' duplicates and partly conflicts with the earlier role list, which is wasted and slightly confusing wording rather than a size problem.

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?

With no output schema, the description usefully signals that the result is a URL to share, and it covers the group-type precondition and permission requirements for a mutation tool. It stops short of describing the response object or expiry behavior, which leaves a small gap for a caller that needs the returned fields.

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 expiresAt, groupToken, idempotencyKey and membershipRole are all documented in the schema, setting the baseline at 3. The description touches roles only indirectly ('admin, editor or read_only member') and adds no format or default detail beyond what the schema already states.

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?

Names a specific verb and resource ('create an invitation link') plus the resource variants it applies to (view-only or private group), and differentiates itself from get_group and update_group by telling the agent when those are the right tools instead. An agent can distinguish this from revoke_invitation or add_member without opening any 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?

Gives explicit conditional guidance: for a public_editable group no invitation is needed, so either share the shareUrl from get_group or make the group private via update_group first. The only weakness is the eligibility sentence, which lists 'admin, editor or read_only member' and then closes with 'Admins only', leaving the caller unsure which condition actually governs.

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