Skip to main content
Glama

Create a user

create_user

Creates a new user with a required name and optional email, then returns the new user's ID for follow-up operations.

Instructions

Add a new user. Name is required; email is optional. Returns the new user's id.

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

Input Schema

NameRequiredDescriptionDefault
nameYesThe user's name, up to 30 characters
emailNoThe user's email address, up to 30 characters

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already declare the non-read-only, non-destructive, non-idempotent, closed-world profile, so the bar is lower. The description does add useful context by promising the new user's id is returned, but it says nothing about duplicate-name/email behavior, error cases, or reversibility for a non-idempotent write.

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?

Three short sentences with no filler, and the key facts (required vs optional, return value) are front-loaded. It is efficient, though it is skeletal rather than deliberately structured.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a simple two-parameter create tool with full schema coverage and annotations, the essentials are covered, and the return value is disclosed despite there being no output schema. What is missing is failure behavior and duplicate handling, which matters for a non-idempotent write.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100% and both fields carry their own maxLength/length constraints, so the schema does all the work. "Name is required; email is optional" only restates the schema's required array and adds no format, uniqueness, or validation meaning.

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?

"Add a new user" states a specific verb and resource, and the required/optional framing makes it clearly the creation counterpart to get_user, update_user, delete_user and list_users. It stops short of explicitly naming a sibling it is distinguished from, so it lands just below the top.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Usage is only implied by the verb "add"; the description never says when to reach for this versus update_user (existing user) or whether to check get_user/list_users first for duplicates. An agent can infer the create-vs-update split from the names, but nothing is stated.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Deploy Server

Other Tools