Skip to main content
Glama

Create Invitation Tool

create-invitation-tool

Invite a person to join an organization by email. This sends an invitation email to the given address, outside Pineprompt. Requires admin or owner rights in the organization. The recipient may accept it within 14 days. Allowed roles are admin and member; owner cannot be invited. Pending invitations count toward the organization's plan seat quota.

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": {
      "organization_id": "<organization_id>",
      "email": "<email>",
      "role": "<role>"
    },
    "name": "create-invitation-tool"
  }
}

Input Schema

NameRequiredDescriptionDefault
roleYesThe role to grant the invited user. Allowed values: admin, member. Owner cannot be invited.
emailYesThe email address of the user to invite (max 254 characters).
organization_idYesThe numeric id of the organization to invite the user to.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior3/5

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

The annotations already declare readOnlyHint=false, destructiveHint=false, idempotentHint=false, and openWorldHint=true. The description adds genuine context beyond that — the email is delivered to the recipient outside Pineprompt, the invitation expires after 14 days, and pending invitations consume plan seat quota — but it says nothing about what happens on a duplicate invite, which is the key behavior implied by idempotentHint=false.

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?

Five short sentences, each carrying distinct information: action, external side effect, authorization requirement, expiry window, role constraint, and quota impact. The core action is front-loaded and nothing is redundant filler.

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 three-parameter mutation with no output schema, the description covers authorization, role limits, expiry, and quota side effects, which is enough to call it correctly. It is slightly incomplete in not indicating whether the created invitation (id or link) is returned or how a repeat invite behaves.

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 all three parameters are already documented, including the role enum values and the 254-character email limit. The description largely restates the role constraint and adds only the quota note, so it does not materially extend parameter meaning beyond the schema.

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?

Opens with a concrete verb and resource, "Invite a person to join an organization by email," which tells an agent exactly what is created and by what channel. It does not name a sibling such as delete-invitation-tool, but the create semantics are clear enough to distinguish it from the delete counterpart.

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 specifies the prerequisite (admin or owner rights) and the boundary conditions under which a call will fail or be rejected (owner role cannot be invited, only admin/member allowed). It does not discuss alternatives or re-inviting an already-pending address, so it falls short of fully explicit when/when-not guidance.

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