Skip to main content
Glama
moneyan9
by moneyan9

Upsert variant inventory

rms_upsert_variant_inventory

Update inventory quantity for a specific product variant by setting an absolute value or adjusting relative to current stock. Specify manage number, variant ID, and quantity.

Instructions

バリアント在庫更新(単体)

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
modeNo
quantityYes
variant_idYes
manage_numberYes
Behavior1/5

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

No annotations are provided, so the description must fully disclose behavior. It only says 'update' without explaining upsert behavior (insert or update), the effect of the 'mode' parameter (ABSOLUTE vs RELATIVE), how quantity changes are applied, or any side effects. This is a serious gap for a mutation tool.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness2/5

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

The description is extremely short (one short phrase), but it under-specifies. It is not front-loaded with useful information; it is closer to a tautological label than a functional description. The brevity does not earn its place because it omits critical operational details.

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

Completeness1/5

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

Given the tool has 4 parameters with an enum, no output schema, and no annotations, the description is wholly insufficient. It doesn't explain the upsert semantics, parameter interactions, or expected results, making it impossible for an agent to invoke it correctly without external knowledge.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters1/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, and the description does not mention any parameter. It fails to clarify the meaning of 'manage_number', 'variant_id', 'quantity', or 'mode'. The schema provides only types and constraints, leaving the agent without understanding semantics like the difference between ABSOLUTE and RELATIVE modes.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description 'Variant inventory update (single)' states a specific verb and resource, but it is vague and does not capture the full 'upsert' semantics implied by the tool name and title. It does not distinguish this tool from sibling tools like rms_update_inventory or rms_get_variant_inventory beyond mentioning 'variant' and 'single'.

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 guidance on when to use this tool versus alternatives such as rms_update_inventory, rms_bulk_get_inventory, or rms_delete_variant_inventory. There is no mention of contexts, prerequisites, or exclusions.

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/moneyan9/rakuten-rms-mcp'

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