Skip to main content
Glama
AllanSJoseph

InventorySystem MCP Server

by AllanSJoseph

add_inventory_item

Adds a new inventory item with specified name, price, stock, and description. Creates a product entry in the inventory management system for tracking.

Instructions

    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.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameYes
priceYes
stockYes
descriptionYes
Behavior3/5

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

With no annotations, the description carries full responsibility for behavioral disclosures. It mentions the return format ('confirmation message or an error message in json format'), but omits details about side effects, permissions, or failure conditions like duplicate names or invalid input. The mutation is implied by 'adds', but no further context is given.

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 concise with a clear structure: a one-sentence purpose, Args list, and Returns section. Each part serves a purpose, though the Args descriptions are redundant with the schema. Overall, it is well-organized and not overly verbose.

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?

The description provides a basic understanding of what the tool does and its return format, but lacks critical context for a mutation tool with no annotations. It does not explain when to use add versus update, what validation occurs, or any prerequisites. The presence of a Returns section partially compensates for the missing output schema, but the overall completeness is average.

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?

The Args section repeats parameter names with tautological descriptions ('name: The name of the inventory item'), offering no additional meaning beyond the schema. The phrase 'new_stock quantity' for stock is confusing and does not clarify units or constraints. Given 0% schema description coverage, the description fails to compensate with meaningful parameter semantics.

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 'Adds a new inventory item to the inventory management system' with a specific verb and resource. It distinguishes itself from siblings like add_user or update_inventory_item by clearly focusing on adding inventory items.

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

Usage Guidelines2/5

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

No guidance is provided on when to use this tool versus alternatives. The description only states what it does, leaving the agent to infer usage without explicit exclusions or mentions of sibling tools like update_inventory_item or update_inventory_item_stock.

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