Skip to main content
Glama
AllanSJoseph

InventorySystem MCP Server

by AllanSJoseph

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault

No arguments

Instructions

Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.

This server publishes no instructions, or was last inspected before Glama recorded them.

Capabilities

Features and capabilities supported by this server

Protocol revision2025-11-25

CapabilityDetails
tools
{
  "listChanged": false
}
prompts
{
  "listChanged": false
}
resources
{
  "subscribe": false,
  "listChanged": false
}
experimental
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
fetch_usersA
    Gets the list of all users from the inventory management system server in json format.
    There are three types of users: Admin, Stocker and Cashier.

    Returns:
        A list of users in json format, or an error message if the request fails.
add_userA
    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.
fetch_inventory_itemsA
    Fetches the list of all inventory items from the inventory management system server in json format.
    
    Returns:
        A list of inventory items in json format, or an error message if the request fails.
add_inventory_itemB
    Adds a new inventory item to the inventory management system.
    
    Args:
        name: The name of the inventory item.
        price: The price of the inventory item.
        stock: The new_stock quantity of the inventory item.
        description: A description of the inventory item.
    
    Returns:
        A confirmation message or an error message in json format if the request fails.
update_inventory_itemB
    Updates an existing inventory item in the inventory management system.
    
    Args:
        prod_id: The ID of the inventory item to update.
        name: The new name of the inventory item.
        price: The new price of the inventory item.
        stock: The new new_stock quantity of the inventory item.
        description: The new description of the inventory item.
    
    Returns:
        A confirmation message or an error message in json format if the request fails.
update_inventory_item_stockA
    Updates the new_stock quantity of an existing inventory item in the inventory management system.
    
    Args:
        prod_id: The ID of the inventory item to update.
        stock: The new new_stock quantity of the inventory item.
    
    Returns:
        A confirmation message or an error message in json format if the request fails.
fetch_bill_recordsA
Fetches the list of all bill records from the inventory management system server in json format.
Each bill record contains it invoice_no, Date, total_price and paymethod.
If total_price and paymethod are NULL then that bill is not issued (Products inside the bill are not sold).


Returns:
    A list of bill records in json format, or an error message if the request fails.
fetch_bill_records_by_cashierA
Fetches the list of all bill records from the inventory management system server in json format.

Args:
    cashier_id: Unique id of the cashier.

Returns:
    A list of bill records created by this cashier in json format, or an error message if the request fails.
open_billA
Reads the products inside a bill with the provided invoice_no.

Args:
    invoice_no: The Invoice No of the bill

Returns:
    A list of products inside a bill with the provided invoice_no in a json format.
create_draft_billA
Creates a draft bill and adds the provided products to it.

Args:
    products: A list of products, each element of this list should be a python dictionary of the format:
            - prod_id: int, a unique identifier for the product (must be a positive value)
            - quantity: int, quantity of the product (must be a positive value and cannot be zero)

Example Usage for LLM:
User: "Create a bill for 2 units of product 101 and 5 units of product 102"
LLM Input:
{
    "products": [
        {"prod_id": 101, "quantity": 2},
        {"prod_id": 102, "quantity": 5}
    ]
}

Returns:
    A confirmation message or an error message in json format if the request fails.
add_item_to_billC
Adds an item to the bill with the provided invoice_no.

Args:
    invoice_no:
    prod_id:
    quantity:

Returns:
    A confirmation message or an error message in json format if the request fails.
edit_bill_item_quantityA
Updates the quantity of an existing unpaid/unissued bill item in the inventory management system.
Args:
    invoice_no: Invoice Number of the bill
    prod_id: int, a unique identifier for the product (must be a positive value)
    quantity: int, quantity of the product (must be a positive value and cannot be zero)

Returns:
    A confirmation message or an error message in json format if the request fails.
delete_bill_itemA
Deletes an existing item from an unpaid/unissued bill.

Args:
    invoice_no: Invoice Number of the bill
    prod_id: Id of the product (must be a positive value)

Returns:
    A confirmation message or an error message in json format if the request fails.
issue_billA
Issues a draft bill i.e. The bill is finalised and considered paid.
After calling this tool, the bill cannot be edited or deleted.

Args:
    invoice_no: Invoice Number of the bill
    pay_method: Payment Method in uppercase letters (e.g. Cash, Card, UPI)

Returns:
    A confirmation message or an error message in json format if the request fails.
discard_billA
Discards a draft Bill.

Args:
    invoice_no: Invoice Number of the bill

Returns:
    A confirmation message or an error message in json format if the request fails.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

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