Skip to main content
Glama

AssetLab

Create part

create_part

Create a new part/inventory item. Requires parts:write scope.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
costNoUnit cost
nameYesPart name (required)
site_idNoSite ID
categoryNoCategory label
quantityNoCurrent stock quantity
supplierNoDEPRECATED - legacy free-text supplier name. Use supplier_id instead.
building_idNoBuilding ID
location_idNoLocation ID
part_numberNoPart number / SKU
supplier_idNoVendor ID (resolve via list_vendors)
desired_quantityNoTarget / reorder quantity
specific_locationNoStorage location description

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.3/5.0
Behavior3/5

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

Annotations already declare this is a non-read-only, non-destructive, non-idempotent, closed-world write, so the safety profile is covered. The description adds one piece of genuinely useful context the annotations lack -- the required parts:write scope -- but says nothing about duplicate handling, side effects, or what a successful creation returns.

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?

Two short sentences, zero filler, with the core action front-loaded before the permission prerequisite. Nothing here could be trimmed without losing information.

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?

For a 12-parameter creation tool with no output schema, the description is thin: it omits what a returned part looks like and any post-creation behavior. The rich schema (100% coverage) and annotations carry most of the load, making this minimally adequate rather than complete.

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 each of the 12 parameters is already documented in the schema (including the DEPRECATED supplier field and the list_vendors hint for supplier_id). The description adds no parameter meaning at all, so the baseline 3 applies.

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?

States a specific verb and resource ("Create a new part/inventory item"), which an agent can distinguish from sibling creators like create_asset_part or create_part_category. However, it does not explicitly differentiate itself from those close siblings, so it falls short of 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?

The description provides no when-to-use guidance or alternatives, e.g. it does not say whether to use create_part vs create_asset_part to link an existing part to an asset, or that list_parts should be checked first to avoid duplicates. Only the permission requirement is stated.

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