# invite-user

Create and invite a new user to the Descope project

Agent View of the PolicyLayer registry record for `invite-user`. HTML page: https://policylayer.com/tools/descope-sample-apps-descope-mcp-server/invite-user

## Facts

- Tool: `invite-user`
- Server: Descope MCP Server (`descope-sample-apps/descope-mcp-server-stdio`) — https://policylayer.com/tools/descope-sample-apps-descope-mcp-server.md
- Homepage: https://github.com/descope-sample-apps/descope-mcp-server-stdio
- Risk category: Write (Medium risk)
- Registry record: grade B, identity unverified
- Server rate-limited: no
- Parameters: 0
- Recommended policy verdict: Rate-limited

## Example call (MCP tools/call, JSON-RPC 2.0)

```json
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "invite-user",
    "arguments": {}
  }
}
```

## Why invite-user is rated Medium

This tool creates new user accounts and generates invitations, which are reversible write operations. While it modifies the system state by adding users, this can be undone (users can be deleted). It does not execute arbitrary code, delete data irreversibly, or move money.

From the tool's own definition: "Tool description states 'Create and invite a new user to the Descope project' — this involves creating new user entities and sending invitations, both of which are data creation and modification operations."

## Use case

AI agents use invite-user to create or update resources in Descope MCP Server, usually the action step of a workflow, after the agent has gathered context. Every call changes real data in your Descope MCP Server environment.

## Recommended policy (PolicyLayer)

Verdict: **Rate-limited**. Enforced by the PolicyLayer MCP gateway (https://policylayer.com/mcp-gateway) before a call reaches Descope MCP Server:

```json
{
  "version": "1",
  "default": "deny",
  "tools": {
    "invite-user": {
      "limits": [
        {
          "counter": "invite-user_rate",
          "window": "minute",
          "max": 30,
          "scope": "grant"
        }
      ]
    }
  }
}
```

## Other tools on Descope MCP Server (3)

- `search-audits` — Read — https://policylayer.com/tools/descope-sample-apps-descope-mcp-server/search-audits.md
- `search-users` — Read — https://policylayer.com/tools/descope-sample-apps-descope-mcp-server/search-users.md
- `create-user` — Write — https://policylayer.com/tools/descope-sample-apps-descope-mcp-server/create-user.md

## For agents

This record is a snapshot. Live verdicts and the full registry:

- Check every server in your MCP config at once: `npx -y policylayer stack`
- Vet a server before you add it: install the mcp-precheck skill — `npx skills add https://policylayer.com` (skill text: https://policylayer.com/skill.md)
- Query the registry over MCP: endpoint `https://api.policylayer.com/mcp` — tools `check_mcp_server`, `check_mcp_stack`, `check_tool`, `search_registry`, `get_change_events`

---

Source: the PolicyLayer MCP registry — one continuously verified record per MCP server. Full record: https://policylayer.com/registry?q=descope-sample-apps-descope-mcp-server · API: https://policylayer.com/registry/api · Policy library: https://policylayer.com/policies/descope-sample-apps-descope-mcp-server
