Skip to main content
Glama

create_user

Idempotent

Creates a new camera user account with a username and password when a free user slot is available, enabling access control.

Instructions

Create a new user account on the camera. Requires a free user slot (camera has a fixed number of slots).

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

Input Schema

NameRequiredDescriptionDefault
enabledNoEnable the user account (default true)
passwordYesPassword for the new account
usernameYesUsername for the new account

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.1

TDQS

B3.4/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=false, destructiveHint=false, idempotentHint=true and openWorldHint=true, so the safety profile is covered. The description adds one piece of real behavioral context — the fixed-slot capacity constraint — but does not say what happens if slots are exhausted (error? silent failure?), nor anything about authentication or password policy needed for the operation to succeed.

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 short sentences, front-loaded with the action and followed by the constraint. The parenthetical restates the slot idea slightly redundantly, but nothing here is wasted.

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 three-parameter mutation with no output schema, the description covers what it does and one precondition, which is adequate but thin. It omits the failure mode when slots are full and any password requirements, both of which an agent would need to call it correctly and interpret errors.

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% (username, password, enabled with default true), so the schema does the heavy lifting and the baseline is 3. The description adds no meaning beyond the schema, such as password complexity rules or whether 'enabled' affects slot consumption.

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?

Names a specific verb and resource: 'Create a new user account on the camera.' An agent can immediately tell this is the account-creation operation, and the sibling list (remove_user, update_user, get_users) makes the distinction natural. It stops short of explicitly naming or contrasting with those siblings.

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?

The prerequisite 'Requires a free user slot (camera has a fixed number of slots)' tells the agent a precondition that may block success, which is genuinely useful usage context. However, there is no guidance on when to choose this over update_user (e.g., for existing accounts) and no stated behavior when no slot is available.

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