Skip to main content
Glama
BUSY MCP Server

BUSY MCP Server

stock-summary

Read-onlyIdempotent

Retrieve item-wise opening, inward, outward, and closing stock quantities; use the negative-stock filter to identify items with stock below zero.

Instructions

Item-wise opening, inward, outward and closing quantity; only_negative=true lists negative stock.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "stock-summary"
  }
}

Input Schema

NameRequiredDescriptionDefault
fyNoFY start year, e.g. 2024 = FY 2024-25 (default: selected year)
limitNoPage size
offsetNoPagination offset (use next_offset from the previous page)
searchNo
companyNoCompany code e.g. COMP0001 (default: selected company)
to_dateNoEnd date YYYY-MM-DD (default: FY end)
from_dateNoStart date YYYY-MM-DD (default: FY start)
item_groupNo
include_zeroNo
only_negativeNo

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.3/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, destructiveHint=false and openWorldHint=false, so the safety profile is fully covered structurally. The description adds value by spelling out the computed measures (opening, inward, outward, closing) and the meaning of the only_negative switch, which the schema leaves undocumented. It says nothing about row granularity assumptions, pagination behaviour or result ordering beyond what the schema covers.

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?

A single dense sentence with the core measures front-loaded and the flag clarification appended. Nothing is padded or redundant.

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?

An output schema exists, so return-shape explanation is unnecessary, and the safety profile is handled by annotations. However, for a 10-parameter reporting tool the definition is thin on the remaining filters (item_group, search, include_zero) and on how it differs from the other stock siblings. Adequate but with clear gaps.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 60%, so several parameters are documented externally, but search, item_group, include_zero and only_negative have no schema description. The description clarifies only one of these (only_negative), leaving include_zero and item_group semantics unexplained. This is a mid-range score reflecting partial compensation for the coverage gap.

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 names a specific resource and its measures: item-wise opening, inward, outward and closing quantity. That is more than a restatement of the name and lets an agent know it is a per-item stock rollup. It does not distinguish itself from siblings such as batch-stock or stock-by-location, so a 4 rather than a 5.

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?

There is no statement of when to use this tool versus alternatives, and no prerequisites or context given. The only usage-like content is the inline note that only_negative=true lists negative stock, which is a flag behaviour rather than when-to-use guidance.

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