Skip to main content
Glama

List parts (inventory)

upkeep_list_parts
Read-only

List spare parts with quantity on hand, minimum quantity, cost, category, location and part number. Compare quantity with minimumQuantity to find parts to reorder. GET /parts.

Input Schema

NameRequiredDescriptionDefault
nameNoOnly parts with exactly this name.
limitNoRecords per page, 1-100 (default 25).
offsetNoRecords to skip (default 0). Pass the previous reply's next_offset.
categoryNoOnly parts in this category.
includesNoExpand referenced records inline instead of returning ids. Allowed: location, createdByUser.
locationNoOnly records for this location id.
order_byNoSort: "<field> ASC|DESC" with field one of createdAt, updatedAt (default "createdAt DESC").
part_numberNoOnly parts with this part number.
created_afterNoCreated at or after this time. ISO 8601.
updated_afterNoUpdated at or after this time. ISO 8601.
created_beforeNoCreated at or before this time. ISO 8601.
updated_beforeNoUpdated at or before this time. ISO 8601.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already establish readOnlyHint=true, destructiveHint=false, and openWorldHint=true. The description adds useful behavioral context by listing returned fields and explaining the reorder comparison, without contradicting 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.

Conciseness5/5

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

The description is front-loaded with the core action and returned fields, followed by a practical usage note and endpoint. There is no redundant or filler content.

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

Completeness4/5

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

Given the full schema coverage and existing annotations, the description is largely complete for a list tool: it explains purpose, returned fields, and one key use case. It could mention pagination or filtering more explicitly, but the schema already carries that detail.

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 100%, so all 12 parameters are already documented in the schema. The description names category, location, and part number but does not add filter semantics or explain limit, offset, includes, order_by, or date parameters beyond what the schema provides.

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?

States a specific verb and resource ("List spare parts") and identifies the returned attributes, making it clearly distinguishable from the singular sibling upkeep_get_part and from non-inventory list tools.

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?

Provides a clear usage context: compare quantity with minimumQuantity to find parts to reorder. It does not explicitly name alternatives such as upkeep_get_part or state when not to use this tool, so it stops short of the top score.

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.