Skip to main content
Glama

create_new_inventory_item

Create a new inventory item by name, and return the object with the id of the new inventory item. Pass an optional unit of measure (e.g. "kg", "lb", "g", "ml", "L") for items tracked by weight or volume; leave it null for items counted in pieces.

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": {
      "newItemName": "<newItemName>"
    },
    "name": "create_new_inventory_item"
  }
}

Input Schema

NameRequiredDescriptionDefault
unitNo
newItemNameYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.5/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the full behavioral burden. It does disclose the useful bit that the call returns the created object including its id, but for a mutation tool it omits what an agent would want: behavior on duplicate names, required permissions, and whether failure is an error or a silent no-op.

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?

Two sentences, front-loaded with the action and result, with no filler. The example list in the second sentence is slightly heavy but each example earns its place by disambiguating the unit format.

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?

There is no output schema, and the description partly compensates by describing the returned object. For a two-parameter create tool with zero annotation coverage, though, it leaves out duplicate-name handling and permission requirements, so it is adequate rather than complete.

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 0%, so the description must compensate, and it does so well for `unit` — giving concrete example values (kg, lb, g, ml, L) and the null semantics that the schema lacks. `newItemName` is only implicitly covered by "by name", which keeps it short of a 5.

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 inventory item by name") and adds the return shape (object with the new id). The verb itself separates it from the edit_/delete_/list_ siblings, but it never names an alternative so differentiation is left implicit.

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

Usage Guidelines3/5

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

The description gives clear guidance on the optional unit parameter (pass for weight/volume, null for piece-counted items), which is effectively a when-to-use rule for that argument. It gives no guidance on when this tool is appropriate versus adjacent tools such as add_inventory_unit or set_inventory_item_custom_field, nor any prerequisite context.

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