← Market

Calc · Required Price

原価要素から総原価・必要売価・値上げ必要額を計算し、9つの原価要素のうち未入力の要素と確認質問を返す(判定は返さない)

POST https://ismec-agent-tools.ismec.workers.dev/v1/calc/required-price

0.01 0x036C… on eip155:84532 · payTo 0xd1391cA1b052690e8Ed434cd9ddB01662AC0F940

Status: verified · payable

Operator badge: embed this endpoint's live status badge — it reads "Verified Payable" only while the probe record backs it.

Settlement: direct to the seller's payTo — 0% HIVE402 take

Payment routes

eip155:84532 · 0.01 0x036C… · payTo 0xd1391cA1b052690e8Ed434cd9ddB01662AC0F940 · via cdp · settles direct
{
  "costs": {
    "material": 120000,
    "outsourcing": 30000,
    "processing": {
      "hourlyRate": 6000,
      "hours": 8
    },
    "transport": 5000
  },
  "currentQuote": 250000,
  "includedElements": [],
  "targetGrossMarginRatio": 0.3
}
{
  "assumptions": [
    "粗利率は売価に対する比率((売価 − 総原価) ÷ 売価)",
    "入力されていない原価要素は0円として合計している。実際に発生する要素があるかは missingElements の確認質問で確かめる",
    "missingElements は入力との差分であり、原価に含めるべきかの評価ではない。含めるかどうかは利用者が決める",
    "円未満は切り上げ。整数演算で計算し、浮動小数点の誤差を含まない"
  ],
  "disclaimer": "本結果は入力値に基づく計算結果の提供であり、経営・融資・税務・会計・投資・申請等の判断や助言ではありません。可否・合否・推奨は返しません。判断の基準は利用者が定め、必要に応じて専門家に確認してください。",
  "result": {
    "costBreakdown": [
      {
        "amount": 120000,
        "key": "material",
        "label": "材料"
      },
      {
        "amount": 48000,
        "key": "processing",
        "label": "加工"
      },
      {
        "amount": 5000,
        "key": "transport",
        "label": "運搬"
      },
      {
        "amount": 30000,
        "key": "outsourcing",
        "label": "外注"
      }
    ],
    "currentGrossMarginRatio": 0.188,
    "currentQuote": 250000,
    "missingElements": [
      {
        "key": "setup",
        "label": "段取り",
        "question": "治具の取り付けや試し加工の時間は入っていますか?",
        "whyOftenMissed": "1回ごとの準備時間を加工時間に含めていない"
      },
      {
        "key": "inspection",
        "label": "検査",
        "question": "寸法確認・外観検査の時間は入っていますか?",
        "whyOftenMissed": "「ついで」にやる検査が0円になる"
      },
      {
        "key": "packing",
        "label": "梱包",
        "question": "梱包の時間と資材の費用は入っていますか?",
        "whyOftenMissed": "梱包材と作業時間の両方が漏れる"
      },
      {
        "key": "drawing",
        "label": "図面",
        "question": "図面の作成・修正の時間は入っていますか?",
        "whyOftenMissed": "図面起こし・確認の時間を見積に入れない"
      },
      {
        "key": "tooling",
        "label": "工具",
        "question": "この案件のためだけに買う刃物・治具はありますか?",
        "whyOftenMissed": "案件専用の刃物・治具の費用を固定費扱いにする"
      }
    ],
    "priceGap": 40000,
    "requiredPrice": 290000,
    "totalCost": 203000
  },
  "source": "https://ismec.jp/cost-management/",
  "tool": "required_price",
  "trace": [
    "加工費 = 8時間 × 6000円 → 円未満切り上げ 48000",
    "総原価 = 入力された原価要素の合計 = 203000",
    "必要売価 = 総原価 ÷ (1 − 目標粗利率) = 203000 ÷ (1 − 0.3) → 円未満切り上げ 290000",
    "値上げ必要額 = max(必要売価 − 現在の見積額, 0) = max(290000 − 250000, 0) = 40000",
    "現在の見積額での粗利率 = (見積額 − 総原価) ÷ 見積額 = (250000 − 203000) ÷ 250000 = 0.188"
  ]
}

Script Master Labs LLC · SDVOSB · Kinston, NC · Terms · Refunds · Privacy · Contact

SML network: ScriptMasterLabs — the main site · SML Dual Market — the human storefront · VA Ratings — VA disability ratings, free for veterans

Agent intel trust badge

Trust score64 / 100 · breakdown
Probe uptime (30d)100.0% over 1 probes · daily
Avg 402 latency235 ms
Paid calls (30d, on-chain)0 calls · 0 buyers
Facilitator-reported (30d)1 calls · 1 payers (CDP Bazaar)

How to call

POST https://ismec-agent-tools.ismec.workers.dev/v1/calc/required-price · input in body · spec from live-challenge

Input schema
{
  "type": "object",
  "properties": {
    "costs": {
      "type": "object",
      "properties": {
        "material": {
          "type": "integer",
          "minimum": 0,
          "maximum": 1000000000000
        },
        "setup": {
          "type": "integer",
          "minimum": 0,
          "maximum": 1000000000000
        },
        "inspection": {
          "type": "integer",
          "minimum": 0,
          "maximum": 1000000000000
        },
        "packing": {
          "type": "integer",
          "minimum": 0,
          "maximum": 1000000000000
        },
        "transport": {
          "type": "integer",
          "minimum": 0,
          "maximum": 1000000000000
        },
        "outsourcing": {
          "type": "integer",
          "minimum": 0,
          "maximum": 1000000000000
        },
        "drawing": {
          "type": "integer",
          "minimum": 0,
          "maximum": 1000000000000
        },
        "tooling": {
          "type": "integer",
          "minimum": 0,
          "maximum": 1000000000000
        },
        "processing": {
          "type": "object",
          "properties": {
            "hours": {
              "type": "number",
              "minimum": 0,
              "maximum": 1000000,
              "description": "加工時間(時間・小数第2位まで)"
            },
            "hourlyRate": {
              "type": "integer",
              "minimum": 0,
              "maximum": 10000000,
              "description": "時間単価(円・整数)"
            }
          },
          "required": [
            "hours",
            "hourlyRate"
          ],
          "additionalProperties": false
        },
        "other": {
          "description": "9要素に当たらない原価(円)",
          "type": "integer",
          "minimum": 0,
          "maximum": 1000000000000
        }
      },
      "additionalProperties": false,
      "description": "原価要素ごとの金額(円)。入力した要素は入力済みとして扱う(0円も入力済み)"
    },
    "includedElements": {
      "description": "金額欄は別に持たないが、他の項目に含めて入力済みの要素",
      "maxItems": 9,
      "type": "array",
      "items": {
        "type": "string",
        "enum": [
          "material",
          "processing",
          "setup",
          "inspection",
          "packing",
          "transport",
          "outsourcing",
          "drawing",
          "tooling"
        ]
      }
    },
    "targetGrossMarginRatio": {
      "type": "number",
      "minimum": 0,
      "exclusiveMaximum": 0.95,
      "description": "目標粗利率 0以上0.95未満(小数第6位まで)。売価に対する比率"
    },
    "currentQuote": {
      "description": "現在の見積額(円・整数)",
      "type": "integer",
      "minimum": 1,
      "maximum": 1000000000000
    }
  },
  "required": [
    "costs",
    "targetGrossMarginRatio"
  ],
  "additionalProperties": false
}
Output schema
{
  "type": "object"
}
curl -i -X POST 'https://ismec-agent-tools.ismec.workers.dev/v1/calc/required-price' \
  -H 'content-type: application/json' -d '{"costs":{"material":120000,"processing":{"hours":8,"hourlyRate":6000},"outsourcing":30000,"transport":5000},"includedElements":[],"targetGrossMarginRatio":0.3,"currentQuote":250000}'

Agents: POST https://hive402.scriptmasterlabs.com/mcp → route_task / proxy_call · SDK /sdk/hive402.mjs

Try-it needs an exact USDC-on-Base route that is verified payable; use your own x402 client or proxy_call.