Skip to main content
Glama

網紅開團合規工具箱

calc_group_buy_profit

團購、網紅直購定價利潤試算:扣除平台抽成(蝦皮等)、金流費、運費、分潤、營業稅,回傳每件淨利、毛利率、保本價與目標毛利售價。

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
qtyNo
taxNo
costYes
shipNo每單運費
priceYes
targetNo目標毛利率 %
platformNo
commissionNo分潤 %

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.4/5.0
Behavior3/5

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

No annotations are provided, so the description carries the full burden. It does disclose the computation model (which fees are deducted) and the returned metrics, but never states that this is a stateless, non-mutating calculation, nor how defaults are applied for the many optional parameters. Adequate but incomplete for an unannotated tool.

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?

A single front-loaded sentence that packs the deduction list and the return values without filler. Slightly dense, but every clause contributes and nothing is wasted.

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?

With no output schema, the description usefully names the return values (net profit per unit, gross margin, break-even price, target-margin price), which is a real contribution. However, for an 8-parameter tool with 38% schema coverage and no annotations, the meaning of qty, price and cost and the default behavior for optional fees remain unaddressed.

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 coverage is only 38% (ship, target, commission documented), so the description must compensate. It adds meaning for tax (營業稅), platform commission (蝦皮等), shipping, and 分潤, but says nothing about qty, price, cost semantics, or the missing 金流費 input, leaving several parameters ambiguous.

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?

The description states a specific verb and resource (pricing/profit simulation for group-buy and influencer direct-purchase scenarios) and enumerates the cost components deducted, which clearly separates it from lookup-style siblings like platform_fees or calc_creator_withholding. It does not name those siblings explicitly, so it falls short of a 5.

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?

The scenario scope (團購、網紅直購) implies when the tool applies, but there is no explicit when-to-use/when-not-to-use guidance and no mention of any alternative tool such as platform_fees or calc_creator_withholding. Usage is inferable but not directed.

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