Skip to main content
Glama
untitled-developers

Kockatoos Shopify MCP Server

set_inventory

Set an absolute inventory quantity for a specific item at a location, overwriting the current available stock.

Instructions

Set inventory to an absolute quantity at a given location. This overwrites the current available quantity.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
inventory_item_idYesThe inventory item ID.
location_idYesThe location ID.
availableYesThe absolute quantity to set.
Behavior3/5

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

With no annotations, the description reveals the key behavioral trait of overwriting the current available quantity. It does not disclose potential side effects, required permissions, or error handling, but for a simple set operation this is acceptable.

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 a single sentence that is direct and free of superfluous information. It front-loads the key action and result, making it easy to parse.

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?

For a straightforward set operation with no nested objects or output schema, the description adequately covers the core functionality. It could mention error conditions or confirmation of the operation, but the current text is sufficient for an AI agent.

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?

All three parameters are fully described in the input schema, achieving 100% coverage. The description adds no additional parameter information beyond what the schema provides, so the baseline score of 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 clearly states the tool sets inventory to an absolute quantity at a given location, using the verb 'Set' and resource 'inventory'. It distinguishes itself from the sibling tool 'adjust_inventory' by specifying it overwrites the current available quantity, implying a delta vs absolute operation.

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?

The description explicitly notes that this tool overwrites the current quantity, indicating it should be used when a precise absolute quantity is needed rather than an incremental adjustment. However, it does not explicitly contrast with the sibling 'adjust_inventory' tool, leaving some ambiguity.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/untitled-developers/shopify-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server