Skip to main content
Glama
AllanSJoseph

InventorySystem MCP Server

by AllanSJoseph

add_user

Add a new user to the inventory system by supplying username, password, email, phone, address, and role. Grants access based on user type such as admin, stocker, or cashier.

Instructions

    Adds a new user to the inventory management system.
    
    Args:
        username: The username of the new user.
        password: The password for the new user.
        email: The email address of the new user.
        phone: The phone number of the new user.
        address: The address of the new user.
        type: The type of user (e.g., Admin, Stocker, Cashier).
    
    Returns:
        A confirmation message or an error message in json format if the request fails.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
typeYes
emailYes
phoneYes
addressYes
passwordYes
usernameYes
Behavior3/5

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

With no annotations provided, the description carries the full burden. It discloses the return type ("a confirmation message or an error message in json format") but does not mention permissions, side effects, validation constraints, or failure scenarios. This is a minimal level of behavioral disclosure for a mutation tool.

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 description is well-structured with purpose, Args, and Returns sections. It is slightly verbose as it repeats the parameter names already present in the schema, but given the lack of schema descriptions, this duplication is acceptable and not wasteful.

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?

Given the tool's moderate complexity (6 required params, no output schema), the description covers all parameters and the return format. It lacks edge-case information such as duplicate username handling or permission requirements, but it is largely sufficient for an agent to invoke the tool correctly.

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 description coverage is 0%, so the description must compensate. It lists all six parameters with meaningful explanations, including examples for the 'type' field (e.g., Admin, Stocker, Cashier). However, it lacks constraint details such as format, length, or uniqueness requirements, though it suffices for basic invocation.

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 clearly states the action: "Adds a new user to the inventory management system." This uses a specific verb and resource, and the tool is distinct from siblings like fetch_users, making its purpose unambiguous.

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 description implies its use case (creating users) but does not provide explicit guidance on when to use it versus alternatives or any prerequisites. It also does not mention exclusions or when not to use the tool.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/AllanSJoseph/InventorySystem_MCP_Server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server