Skip to main content
Glama
AllanSJoseph

InventorySystem MCP Server

by AllanSJoseph

add_item_to_bill

Add an item to a bill using the invoice number, product ID, and quantity.

Instructions

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.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
prod_idYes
quantityYes
invoice_noYes
Behavior2/5

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

No annotations are provided, so the description must disclose behavioral characteristics. It only mentions the action and return value, but does not state side effects (e.g., inventory impact), preconditions (e.g., existing bill), or error causes. This is insufficient for a mutating operation.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is short and not overly verbose, but the Args section is empty shells, providing no useful information. The Returns section is generic. It is not well-structured for quick comprehension; a more concise and informative format would be better.

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

Completeness2/5

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

Given the simple schema (3 integers) and no annotations, the description is incomplete. It does not address usage context, error conditions, or the relationship to the bill lifecycle. An agent would likely struggle to determine when this tool is appropriate without additional information.

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 schema has 0% description coverage, and the description merely lists argument names without explanations. It does not clarify expected units, constraints, or relationships (e.g., prod_id must exist, quantity must be positive), so it adds no value beyond the schema.

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?

The description clearly states 'Adds an item to the bill with the provided invoice_no,' which is a specific action on a specific resource. While it doesn't explicitly contrast with sibling tools like edit_bill_item_quantity or delete_bill_item, the action is unambiguous.

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 does not mention prerequisites such as the bill being open, nor does it state when to prefer this over edit_bill_item_quantity.

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