Skip to main content
Glama

Mango Inventory

Inventory overview

inventory_overview
Read-only

The shape of the whole inventory in one call: the category tree with an item count on every node (each count covers the node's whole subtree), statusCounts per condition (available | in_repair | defect | lost | retired), and assignedToMe, how many items the connected user holds, and the first few of them in assignedItems. It answers "what do we own?", "how many X do we have?" (the count on X's node, no paging through search_items) and "what is broken?". myPersonId is the person RECORD behind the connected login, which is what "me" means in search_items and assign_item. Every number is org-wide and counts published items only; the connected user's own unfinished captures are the separate draftCount. A categoryId from the tree is the search_items filter for the items behind a count.

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": "inventory_overview"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Output Schema

NameRequiredDescriptionDefault
listUrlNoLink to the full item list in the web app
categoriesNoThe category tree, top level first, with a subtree count on every node
draftCountNoThe connected user's own unreviewed captures (drafts are personal)
myPersonIdNoThe person record behind the connected user's login account — what "me" resolves to in search_items and assign_item. null when no person is linked
totalItemsNoPublished items in the org
assignedToMeNoHow many items the connected user holds. null when no person is linked
statusCountsNoItem count per condition, keyed by status: available | in_repair | defect | lost | retired. This answers "what's broken?"
assignedItemsNoThe first few items the connected user holds (search_items with currentHolderId "me" lists all)
incompleteCountNoItems missing a required field

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed6 schema fields changed
    • changedOutput schema / properties / assignedItems / description
      Previous value: -"The first few items you hold (use search_items for the rest)"New value: +"The first few items the connected user holds (search_items with currentHolderId \"me\" lists all)"
    • changedOutput schema / properties / assignedItems / items / properties / webUrl / description
      Previous value: -"Link to this item in the web app — give it to your user so they can look at the record themselves. Absent when the deployment has no public address configured"New value: +"Link to this item in the web app, for a person to open. Absent when the deployment has no public address configured"
    • changedOutput schema / properties / assignedToMe / description
      Previous value: -"How many items you hold. null when no person is linked"New value: +"How many items the connected user holds. null when no person is linked"
    • changedOutput schema / properties / categories / description
      Previous value: -"The category tree, top level first. This is how you answer \"what do we own?\" and \"how many X?\" without paging items"New value: +"The category tree, top level first, with a subtree count on every node"
    • changedOutput schema / properties / draftCount / description
      Previous value: -"YOUR own unreviewed captures (drafts are personal)"New value: +"The connected user's own unreviewed captures (drafts are personal)"
    • changedOutput schema / properties / myPersonId / description
      Previous value: -"The person record behind YOUR login account — what \"me\" resolves to in search_items and assign_item. null when no person is linked"New value: +"The person record behind the connected user's login account — what \"me\" resolves to in search_items and assign_item. null when no person is linked"
  2. First observed

TDQS

A4.8/5.0
Behavior5/5

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

Beyond the readOnly/non-destructive annotations, it discloses counting semantics that materially affect interpretation: every number is org-wide, counts are subtree-inclusive per node, only published items are counted, and the user's own unfinished captures live separately in `draftCount`. It also defines what 'me' means via `myPersonId`, which is essential for reconciling with search_items and assign_item.

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 content is front-loaded and almost every clause carries real semantics, with no marketing filler. It is dense for a zero-parameter tool, and 'the first few of them' is vague about how many items `assignedItems` actually contains.

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?

An output schema exists, so return structure needn't be spelled out, yet the description still covers the interpretive gaps that schema alone cannot: subtree counting, published-only scope, per-status taxonomy, and draft separation. Nothing an agent needs to call and correctly use this tool is missing.

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?

With zero input parameters there is nothing to disambiguate, so the baseline applies. The description does add conceptual meaning to output fields (`draftCount`, `myPersonId`, subtree counts) even though output semantics are not strictly required when an output schema exists.

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 names the specific resource and enumerates the four things returned: the category tree with per-node subtree counts, `statusCounts` per condition, `assignedToMe`/`assignedItems`, and `myPersonId`. It is unmistakably distinct from search_items and get_item, which return item lists and single records.

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

Usage Guidelines5/5

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

It states the exact questions this tool answers ('what do we own?', 'how many X do we have?', 'what is broken?') and explicitly rules out the wrong path ('no paging through search_items'). It also hands off correctly by noting that a `categoryId` from the tree is the search_items filter for drilling into the underlying items.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources