Skip to main content
Glama

Mango Inventory

Get item

get_item
Read-only

Get one inventory item by id: name, description, status, category and its four relations (home location, current location, current holder, responsible person) with resolved names, plus photoUrl, the item's main photo (absent when it has none). Hosts that render widgets draw the result as an item card; show_items draws several items. status is the item's CONDITION (available = not defect/lost/retired), so an available item may still be borrowed (currentHolder; check_item_availability has the full picture). Packed items (see pack_item) also carry container plus effectiveLocation/effectiveHolder, the position followed from the container while the item's own currentLocation/currentHolder are empty, and compartment { id, name } when they sit in one of the container's compartments (a named spot inside it, e.g. a vehicle's «GR4»; absent = directly in the container). Container items carry holdsItems: true, compartments [{ id, name }] in their order when they have any (the names pack_item's compartment takes), contentsCount, and packedStock when quantity-tracked stock sits inside them: [{ itemId, name, primaryCode?, quantity, compartmentName? }]. A quantity-tracked item whose units sit inside containers carries packed: one row per container and compartment { containerId, containerName, containerPath?, compartmentName?, quantity, effectiveLocationName?, effectiveHolderName? }; its quantity total counts them. This is the only tool that returns the item's custom field values (serial number, warranty, purchase price, whatever the organization defined): customFields, one entry per stored value with the org's own label, its type, the value, and fieldDefId, which joins it to the definitions get_item_requirements returns; a date value carries valueIso, the plain calendar day, and a currency value its currencyCode (absent = CHF). Values the connected user may not see are absent, not redacted. Drafts (unreviewed captures) are personal: another user's draft is not found even by id (standard not-found) until it is published.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "itemId": "<itemId>"
    },
    "name": "get_item"
  }
}

Input Schema

NameRequiredDescriptionDefault
itemIdYesItem id

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.3/5.0
Behavior5/5

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

Beyond the annotations (readOnlyHint, openWorldHint, destructiveHint), the description discloses many behavioral details: photoUrl absence, widget rendering as an item card, status meaning CONDITION rather than availability, container/packed item semantics, custom field visibility rules ('Values the connected user may not see are absent, not redacted'), and draft privacy ('another user's draft is not found even by id'). This is rich context that goes far beyond the annotations.

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 purpose is front-loaded, which is good, but the rest is a single massive paragraph densely packed with semicolons. While most content is relevant given the lack of an output schema, the wall-of-text structure makes it hard to parse and could be improved with bullets or section breaks.

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?

For a tool with no output schema, the description thoroughly explains return values, edge cases (containers, packed stock, quantity tracking), custom fields, and permission-limited visibility. It covers everything an agent needs to interpret the response correctly.

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?

There is only one parameter (itemId) with 100% schema description coverage ('Item id'). The description adds no format or syntax details beyond what the schema already provides, so a baseline 3 is appropriate.

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 states a specific verb and resource: 'Get one inventory item by id' and lists the fields returned. It explicitly distinguishes from show_items for multiple items, so an agent can tell the tools apart without opening schemas.

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

Usage Guidelines4/5

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

It names alternatives for specific needs: show_items for several items, check_item_availability for the full availability picture, and get_item_requirements for field definitions. It lacks an explicit 'use this when you need full details of one item' statement, but the context is clear.

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