Skip to main content
Glama

Smaregi MCP by usefulapi

Create product

smaregi_create_product

WRITE: create a product. categoryId, productName and price are required. Not idempotent. POST /products.

Input Schema

NameRequiredDescriptionDefault
tagNoTag.
urlNoProduct URL.
costNoUnit cost.
sizeNoSize.
colorNoColor.
priceYesSelling price.
divisionNoProduct division: 0 = normal (default), 1 = prepaid multi-use ticket (only contracts with that feature), 2 = option product.
catchCopyNoCatch copy.
groupCodeNoGroup code.
categoryIdYesCategory id (smaregi_list_categories).
descriptionNoDescription.
displayFlagNoShow on the register (0 = hidden, 1 = shown).
productCodeNoProduct code (unique per contract).
productKanaNoProduct name, kana.
productNameYesProduct name.
taxDivisionNoTax division code (0 = tax included, 1 = tax excluded, 2 = tax free).
customerPriceNoMember price.
salesDivisionNoSales accounting: 0 = counted in sales (default), 1 = excluded from sales totals. Does not control whether the product can be sold; use displayFlag to hide it from the register.
supplierProductNoNoSupplier's product number.
productPriceDivisionNoPrice division: 1 = standard price (default), 2 = open price.
stockControlDivisionNoStock control: 0 = stock is managed (default), 1 = stock is not managed.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.1/5.0
Behavior2/5

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

Annotations already declare readOnlyHint=false, idempotentHint=false and openWorldHint=true, so "WRITE" and "Not idempotent" restate structured data rather than adding to it. The description says nothing about error behavior on duplicate productCode, whether the created record can be rolled back, rate limits, or what the call 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?

Three short sentences, front-loaded with the operation type and its required inputs, then the idempotency caveat and the endpoint. Nothing extraneous.

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 21-parameter mutation with no output schema, the description leaves out what comes back (e.g., the new productId) and what happens on conflict. Interaction with smaregi_update_product and the category prerequisite are only discoverable inside the schema.

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 the schema already explains every field, including the localId-relevant categoryId reference to smaregi_list_categories and the enums-in-prose for division, taxDivision and displayFlag. The description only repeats the three required names, adding no semantics beyond the schema's own required array.

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?

"WRITE: create a product" gives a specific verb and resource, and the WRITE prefix cleanly separates it from the read siblings (smaregi_get_product, smaregi_list_products). It does not explicitly contrast with smaregi_update_product, so the distinction is inferable rather than stated.

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?

There is no guidance on when to create vs. update, what to do when a product with the same productCode already exists, or what preconditions apply (categoryId must come from smaregi_list_categories — that hint lives only in the schema). "Not idempotent" is a retry warning, not usage routing.

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.