Swatch Ledger

Fabric shrinkage from a swatch wash test, and how much fabric to buy before washing.

使うべきか

品質と安全性

A
説明の品質
85%
スキーマの完全性
100%
命名の品質
90%
ポイズニングのリスク
100%
権限の一致
100%
プロトコルへの準拠
100%

検出事項(1)

  • LOWTool 'plan_fabric_length' description lacks action verbplan_fabric_length 内

ツール定義とプロトコルへの準拠に関する自動分析に基づいています。

コンテキストコスト

~616トークン数(ツール定義)
~2.5 KB一般的なレスポンスサイズ
注意への影響は最小限(128k コンテキストの 0.48%)

これは、サーバーのツールがモデルのコンテキストに読み込まれるたびに消費されるおおよそのトークン数です。数が多いほど、ほかのタスクに使える注意が減ります。

インストール

ワンクリックインストール

これを `claude_desktop_config.json` ファイルに追加してください:

{
  "mcpServers": {
    "swatch-ledger-mcp": {
      "url": "https://swatch-ledger.pages.dev/mcp"
    }
  }
}

リモートエンドポイント

https://swatch-ledger.pages.dev/mcpstreamable-http

できること

ツール一覧

ツール(2)

🟢 読み取り専用🟡 書き込み🔴 削除⚪ 不明
🟢measure_fabric_shrinkage(length_before, length_after, width_before, width_after, unit)

Calculates fabric shrinkage (or growth) from a swatch measured before and after washing and drying: length change along the selvedge, width change across the fabric, and the change in area. Use the same marked distances before and after, in one unit (cm or inches). Positive percentages are shrinkage, negative are growth.

入力スキーマ

{
  "type": "object",
  "properties": {
    "length_before": {
      "type": "number",
      "description": "Marked length before washing (along the selvedge), greater than 0.",
      "exclusiveMinimum": 0
    },
    "length_after": {
      "type": "number",
      "description": "The same marked length after washing and drying.",
      "exclusiveMinimum": 0
    },
    "width_before": {
      "type": "number",
      "description": "Marked width before washing (across the fabric), greater than 0.",
      "exclusiveMinimum": 0
    },
    "width_after": {
      "type": "number",
      "description": "The same marked width after washing and drying.",
      "exclusiveMinimum": 0
    },
    "unit": {
      "type": "string",
      "enum": [
        "cm",
        "in"
      ],
      "description": "Unit of the four measurements (only used to label the answer). Default cm."
    }
  },
  "required": [
    "length_before",
    "length_after",
    "width_before",
    "width_after"
  ],
  "additionalProperties": false
}
🟢plan_fabric_length(usable_length, shrinkage_percent, extra_length, shop_increment, unit)

Works out how much fabric to buy before washing so that the usable length needed remains afterwards: required length = (usable length + extra) ÷ (1 − lengthwise shrinkage), then rounded up to the shop’s selling increment. Works in metres or yards (any one unit). A negative shrinkage rate means growth.

入力スキーマ

{
  "type": "object",
  "properties": {
    "usable_length": {
      "type": "number",
      "description": "Length needed after washing (check the pattern layout), greater than 0.",
      "exclusiveMinimum": 0
    },
    "shrinkage_percent": {
      "type": "number",
      "minimum": -100,
      "exclusiveMaximum": 100,
      "description": "Measured lengthwise shrinkage in percent, e.g. 5 for 5%. Negative means growth."
    },
    "extra_length": {
      "type": "number",
      "minimum": 0,
      "description": "Optional extra usable length after washing (default 0). Do not count an allowance the pattern already includes."
    },
    "shop_increment": {
      "type": "number",
      "minimum": 0,
      "description": "The shop’s selling increment to round up to, e.g. 0.25 for quarter metres or 0.125 for eighth yards. 0 for no rounding (default 0)."
    },
    "unit": {
      "type": "string",
      "enum": [
        "m",
        "yd"
      ],
      "description": "Unit of the lengths (only used to label the answer). Default m."
    }
  },
  "required": [
    "usable_length",
    "shrinkage_percent"
  ],
  "additionalProperties": false
}

コミュニティ

このサーバーを評価する

エビデンス

最近の観測

検証済みバージョンは記録されていませんツール 2 件