Skip to main content
Glama

Inventory

list_inventory
Read-onlyIdempotent

List the items and kits in an organization's inventory, or pass item_id to read one item with the gigs it is on, or one kit with its contents. A kit is a saved list of items: it holds no stock and is never on a gig itself, because adding it to a gig makes a group of item lines. Pass search to match name or category (substring, case-insensitive). Paginated with limit (max 100, default 20) and offset; item_id ignores search and pagination. organization_id defaults to your active organization. assigned_quantity and available_quantity are as of today in the org timezone. committed_quantity sums the gig lines covering today or future days; upcoming_quantity is the subset starting after today. These totals can exceed stock across gigs on different days; do not subtract them from quantity to calculate availability. For a gig's dates use check_inventory_availability with event_id, and for one gig's lines use list_gig_inventory.

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

Input Schema

NameRequiredDescriptionDefault
limitNorows per page, capped at 100; 20 when omitted
offsetNorows to skip before this page; omit to start at the first row
searchNocase-insensitive substring match on name or category
item_idNoread this one item or kit instead of listing
organization_idNoorganization to act in, an id from get_me; omit to use your active organization

Output Schema

NameRequiredDescriptionDefault
okYestrue on success (including confirmation_required prompts)
dataNotool payload (API/composite/confirmation object); object, array, or primitive JSON
errorNowhen ok is false

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed12 schema fields changed
    • changedInput schema / $schema
      Previous value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema"
    • removedInput schema / additionalProperties
      Removed value: -false
    • addedInput schema / properties / item_id
      Added value: +{
      +  "description": "read this one item or kit instead of listing",
      +  "type": "string"
      +}
    • changedInput schema / properties / limit / description
      Previous value: -"max 100, default 20"New value: +"rows per page, capped at 100; 20 when omitted"
    • addedInput schema / properties / limit / maximum
      Added value: +9007199254740991
    • addedInput schema / properties / limit / minimum
      Added value: +-9007199254740991
    • changedInput schema / properties / offset / description
      Previous value: -"default 0"New value: +"rows to skip before this page; omit to start at the first row"
    • addedInput schema / properties / offset / maximum
      Added value: +9007199254740991
    • addedInput schema / properties / offset / minimum
      Added value: +-9007199254740991
    • changedInput schema / properties / organization_id / description
      Previous value: -"defaults to your active organization"New value: +"organization to act in, an id from get_me; omit to use your active organization"
    • changedInput schema / properties / search / description
      Previous value: -"case-insensitive substring match on name, category, or location"New value: +"case-insensitive substring match on name or category"
    • changedOutput schema / $schema
      Previous value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema"
  2. Changed1 schema field changed
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "$schema": "http://json-schema.org/draft-07/schema#",
      +  "additionalProperties": false,
      +  "properties": {
      +    "data": {
      +      "description": "tool payload (API/composite/confirmation object); object, array, or primitive JSON"
      +    },
      +    "error": {
      +      "description": "when ok is false",
      +      "type": "string"
      +    },
      +    "ok": {
      +      "description": "true on success (including confirmation_required prompts)",
      +      "type": "boolean"
      +    }
      +  },
      +  "required": [
      +    "ok"
      +  ],
      +  "type": "object"
      +}
  3. First observed

TDQS

A4.9/5.0
Behavior5/5

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

Annotations already cover the safety profile (readOnly, idempotent, non-destructive, closed-world), so this is added value rather than repetition. The description discloses non-obvious semantics: quantities are as of today in the org timezone, committed_quantity covers today-plus-future gig lines while upcoming_quantity is the post-today subset, and totals may exceed stock across different-day gigs. The explicit warning 'do not subtract them from quantity to calculate availability' prevents a concrete and likely analytical error.

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?

Front-loaded with the primary action and the item_id alternative before any of the quantity semantics. Despite covering kits, search, pagination, quantity definitions, and sibling routing, nearly every sentence carries distinct semantic content, and the ordering roughly follows how an agent would reason about the call.

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-value shape need not be explained, yet the description still defines the ambiguous quantity fields that an output schema alone would leave interpretable-but-misusable. For a five-parameter read tool with 100% schema coverage, the remaining gaps (result ordering, empty-result behavior) are minor and inferable.

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?

Schema description coverage is 100%, so the baseline is 3 and all five parameters are already documented in the schema. The description adds genuine cross-parameter meaning not in the schema: item_id ignores search and pagination, and search matches only name or category as a case-insensitive substring. That interaction between parameters is the main increment, with limit/offset defaults simply restated.

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 opening sentence gives a specific verb (list) and resource (items and kits in the org inventory) and immediately defines the two call modes: list, or single-record via item_id. It goes further by defining what a kit is versus an item ('holds no stock and is never on a gig itself'), which lets an agent distinguish this from list_gig_inventory and check_inventory_availability without opening either schema.

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?

Explicit routing is present: use check_inventory_availability with event_id for a gig's dates, and list_gig_inventory for one gig's lines. It also states the condition that switches modes (pass item_id to read one record) and that item_id ignores search and pagination, so the agent knows the parameters are mutually exclusive in effect.

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.