Skip to main content
Glama

create_product

建材カタログ (products) に新しい製品 SKU を登録する。サッシ/窓/断熱材/照明/設備/家具/ドア等。Authorization: Bearer <APIキー> (/console で発行) が必須。登録後は /catalog と search_catalog に即反映。既存 SKU の上書きは不可 (insert-only)。

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": {
      "sku": "<sku>",
      "name": "<name>",
      "category": "<category>"
    },
    "name": "create_product"
  }
}

Input Schema

NameRequiredDescriptionDefault
skuYes一意な SKU (英数・- _ . 、64字以内)。例: YKK-APW330-W
urlNoメーカー公式ページ URL
nameYes製品名 (必須)
specNo追加スペック (任意の key/value オブジェクト)
tagsNoカンマ区切りタグ
brandNoブランド (例: YKK AP, LIXIL)
u_valueNo熱貫流率 U値 W/m²K
categoryYesカテゴリ (必須)。例: サッシ, 窓, 断熱材, 照明, 設備, 家具, ドア
jan_codeNoJAN コード
mfr_codeNoメーカー型番
eta_valueNo日射熱取得率 η値
ifc_classNoIFC クラス (省略時はカテゴリから推定。例: IFCWINDOW)
price_jpyNoメーカー希望小売 税抜 円
descriptionNo製品説明
install_jpyNo施工費の目安 円
stock_statusNo在庫 (in_stock/low_stock/order/made_to_order/discontinued。既定 in_stock)
lead_time_daysNo納期 (日)
warranty_yearsNo保証年数

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior4/5

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

With no annotations, the description does real work: it discloses the Bearer auth requirement, that changes are immediately reflected in /catalog and search_catalog, and the insert-only constraint. It omits what happens on a duplicate-SKU attempt (error type) and whether the call is idempotent, which keeps this below 5.

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?

Front-loaded with purpose, then auth, side effects, and the insert-only constraint in a compact sequence. The category enumeration (サッシ/窓/…) slightly duplicates the category parameter's own description, a minor redundancy.

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 an 18-param mutation tool with 100% schema coverage and no output schema, the description supplies the missing behavioral layer: auth, indexing side effects, and insert-only semantics. Error/duplicate behavior is the only notable gap.

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 documents all 18 params with examples and semantics. The description adds no param-level detail (defaults, constraints, nesting for spec) beyond naming categories, so the baseline 3 applies.

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?

States a specific verb+resource (新しい製品 SKU を登録する) plus the domain (建材カタログ/products) and category examples, so an agent knows exactly what it does. Together with the insert-only note, it is clearly distinguishable from update_product, retire_product, and get_product without opening any schema.

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?

Gives the essential context to use it: auth required, insert-only (no overwrite of existing SKU), and side effects on /catalog and search_catalog. It does not explicitly name update_product as the alternative for existing SKUs, which leaves the 'what do I do for an existing SKU' inference to the agent.

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