Skip to main content
Glama

create_tenant_user

Destructive

Create a user in THIS tenant (admins only). No invitation or activation email is sent; the password is random and unknown to anyone — set one on the Team page if the person needs web login. Required: email. Optional: first_name, last_name, role (admin|planner|viewer|caller, default planner), phone (WhatsApp number WITH country code, e.g. +41 78 123 45 67), access_web / access_mcp (default true), access_whatsapp (default false; needs phone). A WhatsApp message from that phone to the tenant's WhatsApp number is then recognised as this user.

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": {
      "email": "<email>"
    },
    "name": "create_tenant_user"
  }
}

Input Schema

NameRequiredDescriptionDefault
roleNoTenant role: admin, planner (default), viewer or caller
emailYesEmail address
phoneNoPhone number
last_nameNoLast name
access_mcpNoAllow API keys and MCP clients (default true)
access_webNoAllow app login (default true)
first_nameNoFirst name
access_whatsappNoAllow talking to the agent via WhatsApp (default false; needs phone)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed8 schema fields changed
    • addedInput schema / properties / access_mcp / description
      Added value: +"Allow API keys and MCP clients (default true)"
    • addedInput schema / properties / access_web / description
      Added value: +"Allow app login (default true)"
    • addedInput schema / properties / access_whatsapp / description
      Added value: +"Allow talking to the agent via WhatsApp (default false; needs phone)"
    • addedInput schema / properties / email / description
      Added value: +"Email address"
    • addedInput schema / properties / first_name / description
      Added value: +"First name"
    • addedInput schema / properties / last_name / description
      Added value: +"Last name"
    • addedInput schema / properties / phone / description
      Added value: +"Phone number"
    • addedInput schema / properties / role / description
      Added value: +"Tenant role: admin, planner (default), viewer or caller"
  2. First observed

TDQS

A4.6/5.0
Behavior5/5

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

Beyond the annotations (destructiveHint=true, idempotentHint=false), the description discloses non-obvious side effects: no invitation email, a random password unknown to anyone, and the consequence that a WhatsApp message from the registered phone will thereafter be recognized as this user. It also documents the default values for role and the access flags, which materially change what the created account can do.

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 scope and admin restriction are front-loaded, followed by the important side-effect caveat and then the parameter facts. It is dense and slightly run-on in the parameter clause, but nearly every clause carries operational information.

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 an eight-parameter creation tool with no output schema, the description covers the required field, every optional field's default, the phone dependency, the admin gate, and the post-creation side effects. An agent has enough to invoke it correctly without further exploration.

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 already 100%, but the description adds real meaning the schema lacks: the default role (planner), the phone format requirement with a concrete example ('+41 78 123 45 67'), and the dependency that access_whatsapp needs phone. These constraints prevent plausible mis-invocations.

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 ('Create a user in THIS tenant'), scopes it to the current tenant, and flags the admin-only restriction. This clearly separates it from siblings like list_tenant_users or set_user_access, which operate on existing users.

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 a clear context for use (admins creating a new user in this tenant) and a critical when-not/remediation hint: no invite or activation email is sent, so the password must be set separately on the Team page if web login is needed. It stops short of naming the specific sibling tool for that follow-up.

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.