Skip to main content
Glama

Moltline Dropship Economics

Margin Check

margin_check
Read-onlyIdempotent

Show what one sale actually leaves after every cost. FREE.

Subtracts supplier cost, shipping, payment fees, the ad spend that found the buyer, and anything else, then reports the break-even price so you know how much room there is. Typical input {"sell_price": 39.99, "supplier_cost": 12.4, "shipping_cost": 4.2, "ad_cost_per_order": 9} returns {"revenue": 39.99, "total_cost": 27.06, "profit": 12.93, "margin_pct": 32.33, "markup_pct": 222.5, "break_even_price": 27.06, "biggest_cost": "supplier_cost"}.

Use before listing a product. Not for a whole tiered price list (that is price_ladder) and not for the effect of returns, which is returns_impact. Errors: on invalid, missing, or malformed input this tool never raises a protocol error; it returns {"error": ""}. Every call is read-only and idempotent, so after correcting the input it is always safe to retry.

Input Schema

NameRequiredDescriptionDefault
other_costNoAnything else per order: packaging inserts, app fees, support time. Default 0.
sell_priceYesWhat the customer pays, excluding tax. Must be above 0.
shipping_costNoShipping you absorb per order. Default 0.
supplier_costYesWhat the supplier charges you per unit.
payment_fee_pctNoProcessor percentage fee. Default 2.9 (a common published rate, not a statement about your account).
ad_cost_per_orderNoBlended acquisition cost per order. Default 0, but leaving it at 0 is the most common way this maths lies.
payment_fee_fixedNoProcessor fixed fee per transaction. Default 0.30.

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / payment_fee_pct / description
      Previous value: -"Processor percentage fee. Default 2.9 — a common\npublished rate, not a statement about your account."New value: +"Processor percentage fee. Default 2.9 (a common\npublished rate, not a statement about your account)."
  2. First observed

TDQS

A4.7/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint and destructiveHint=false, so safety is covered structurally; the description still adds real value by specifying the error contract (never raises a protocol error, returns {"error": ...} with a fix hint) and that retrying after correction is safe. It slightly restates the annotations ('read-only and idempotent'), which is redundant but harmless; a 4 rather than 5.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Front-loaded with the core purpose, then cost breakdown, then a concrete example, then usage boundaries, then the error/retry contract — a logical ordering with no filler. The 'FREE.' fragment is mild marketing noise but costs a single token.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Seven parameters with two required, and the description covers what the tool computes, how inputs combine, the typical failure mode (ad_cost_per_order left at 0), the error shape, and the alternatives. An output schema exists, so the example return is redundant but not harmful; everything needed to invoke correctly is present.

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 description coverage is 100%, so the baseline is 3; the description goes beyond it with a worked input/output pair that shows units, typical magnitudes, and how payment fees and ad spend fold into total_cost, plus which output field reveals the dominant cost. It does not explain defaults or the payment_fee_pct/fixed split, so it is a modest lift over baseline rather than a full one.

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 and resource ('show what one sale actually leaves after every cost') and enumerates exactly which cost components are subtracted, plus the break-even output. It names the two closest siblings (price_ladder, returns_impact) and makes the boundary between them explicit, so an agent can pick it without opening a schema.

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

Usage Guidelines5/5

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

Gives positive guidance ('use before listing a product') and two explicit exclusions with named alternatives: whole tiered price lists go to price_ladder, returns effects go to returns_impact. This is the full when/when-not/alternative pattern.

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.