Skip to main content
Glama

Add a part to my inventory

add_inventory_part

Adds a part the user owns to their inventory so designs use it.

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

Input Schema

NameRequiredDescriptionDefault
nameYesThe part's name.
packageNoThe package, for example SOT-23-5 or QFN-32 (optional).
categoryNoFor example Microcontroller, Sensor, Passive, Connector.
quantityNoHow many the user has.
descriptionNoOptional notes.
part_numberNoThe manufacturer part number.

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?

Annotations already declare readOnlyHint=false, destructiveHint=false, and idempotentHint=false, so the safety profile is covered structurally. The description adds useful intent (inventory parts feed into designs), but says nothing about what happens when the same part name is added twice — a meaningful omission given idempotentHint=false.

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?

A single front-loaded sentence with zero filler; the verb and resource lead and the downstream benefit follows. Nothing is padded or repeated from the title.

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?

With no output schema, the description needn't explain return values, and parameters are fully documented in the schema. However, for a non-idempotent mutation it leaves open whether duplicates are rejected, merged, or duplicated, and whether name must match an existing catalog part — gaps an agent would want closed.

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% and all six properties carry their own descriptions and constraints, so the schema does the heavy lifting. The description adds no parameter-level meaning beyond what is already documented, which is the baseline case.

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 ("Adds a part ... to their inventory") and adds the downstream rationale ("so designs use it"), which separates it from read-only inventory siblings like list_inventory and get_part. It doesn't name sibling tools explicitly, but the create-vs-read distinction is clear.

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 phrase "a part the user owns" implies this is for parts the user already has, as opposed to search_parts or get_part which concern catalog lookups — but this contrast is never stated. No exclusions, prerequisites, or when-not-to-use guidance is given.

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.