Skip to main content
Glama
AllanSJoseph

InventorySystem MCP Server

by AllanSJoseph

fetch_bill_records

Retrieves complete bill records from the inventory system, including invoice number, date, total price, and payment method. Identify unissued bills where total price and payment method are null.

Instructions

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.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior4/5

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

No annotations are provided, so the description carries the full burden. It goes beyond a basic fetch description by explaining the structure of each record (invoice_no, Date, total_price, paymethod) and the special meaning of NULL values indicating that a bill was not issued. It also notes the error return case, which is useful behavioral context.

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

Conciseness5/5

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

The description is appropriately sized: two short paragraphs covering purpose, data content, edge-case semantics, and return behavior. It is front-loaded with the main action and contains no fluff, though there is a minor typo ('it' instead of 'its').

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

Completeness5/5

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

Given the tool's simplicity (no parameters), lack of annotations, and lack of an output schema, the description adequately explains what is returned, the meaning of key fields, and the error condition. It is sufficient for an agent to confidently invoke the tool without needing additional details.

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?

The tool has zero parameters and the schema is empty, so the baseline applies as described. The description does not need to add parameter details, and it does not introduce any confusion about arguments.

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 uses a specific verb ('Fetches') and clearly identifies the resource ('all bill records') and the system ('inventory management system server'). The word 'all' distinguishes it from the sibling tool fetch_bill_records_by_cashier, making the scope explicit.

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 conveys the tool's role as fetching the complete list of bill records, but does not explicitly state when to use it over alternatives such as fetch_bill_records_by_cashier. There is no mention of exclusions or when-not-to-use, leaving this aspect implied rather than explicit.

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