Skip to main content
Glama

Xingdao Manufacturing Management Toolkit

cost_improvement

制造业成本改善与 J 成本论测算:由累计产量/累计成本数据算 J 成本、J 收益率,给出改善方向与敏感性分析。

Args:
    points: 累计点数据 JSON 字符串,至少 2 个点,格式 [[累计产量, 累计成本], ...],
            例如 '[[0,0],[5,12000],[40,20000]]'。
    profit: 单位利润(数字,可留空,例如 '8000')。
    payment_proof: 支付宝支付凭证。首次调用留空 → 返回付款信息;付款后带入此参数重试。
    license_key: 买断/年费客户的授权码(有授权码则免付款)。与 payment_proof 填其一。

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pointsYes
profitNo
license_keyNo
payment_proofNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

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 carries the full behavioral burden and discloses key traits: a monetization gate with a two-step payment retry pattern, an authorization-code bypass, and a minimum of 2 data points. It stops short of describing error handling for malformed points or any rate/state behavior, so it is strong but not complete.

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?

The core purpose is front-loaded in one sentence, followed by a structured Args block that maps cleanly to the four parameters. It is appropriately sized for a computational tool with a payment gate, though the payment instructions are slightly verbose.

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?

An output schema exists, so return values need not be explained, and the description covers inputs, the minimum-points constraint, and the payment/authorization flow. It is nearly complete for this complexity, missing only failure/error behavior and confirmation of units or output determinism.

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

Parameters4/5

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

Schema coverage is 0%, so the description must compensate and largely does: it defines the points JSON string format with a concrete example, explains profit, and details the payment_proof/license_key alternatives and their relationship. Minor gap: profit is described as a number yet the schema types it (and the example) as a string, and units are not stated.

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?

The description states a specific verb and resource: it computes J-cost and J-return rate from cumulative production/cost points and returns improvement directions plus sensitivity analysis. This is clearly distinct from siblings like device_management, quality_management, or manufacturing_analytics, so an agent can identify the tool without opening the schema.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

It gives a working flow for the payment gate (first call empty returns payment info, then retry with proof, or use a license_key), which is genuine when-to-use guidance. However, it says nothing about when to prefer this tool over manufacturing_analytics or other cost-related siblings, so usage relative to alternatives is only implied.

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