Skip to main content
Glama

Moltline Dropship Economics

Price Ladder

price_ladder
Read-onlyIdempotent

Work backwards from the margin you want to the price you must charge. FREE.

Solves for price including the percentage fee, which is why it is not simply cost divided by one minus margin. Typical input {"supplier_cost": 12.4, "target_margins_pct": [30, 40, 50], "shipping_cost": 4.2} returns {"rows": [{"target_margin_pct": 30, "price": 25.99, "total_cost": 17.65, "profit": 8.34, "actual_margin_pct": 32.07}, ...]}.

Use when setting a price list. Not for checking one price you already have — that is margin_check. Errors: on invalid, missing, or malformed input this tool never raises a protocol error — it returns {"error": ""} (for example {"error": "target_margins_pct must contain at least one margin"}). Every call is read-only and idempotent, so after correcting the input it is always safe to retry.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
charm_endingNoForce prices to end in these cents, e.g. ".99". Pass an empty string for exact prices. Default ".99"..99
shipping_costNoShipping you absorb per order. Default 0.
supplier_costYesPer-unit cost from the supplier. Must be above 0.
payment_fee_pctNoProcessor percentage fee. Default 2.9.
payment_fee_fixedNoProcessor fixed fee. Default 0.30.
target_margins_pctYesMargins to solve for, e.g. [30, 40, 50]. Each must be above 0 and below 100.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

TDQS

A4.6/5.0
Behavior4/5

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

The description adds context beyond annotations: it notes the fee inclusion nuance, error-handling behavior ('never raises a protocol error — returns {error}'), and idempotent/read-only guarantee (though idempotent/readOnly are already in annotations). The error behavior and fee subtlety are extra value. No contradiction.

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 description is a single well-structured paragraph that front-loads the primary purpose as an imperative, then gives usage guidance, an example, and error behavior. No fluff—every sentence adds information. Slightly long but justified by complexity.

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?

Given the tool's complexity (6 params, some interdependent fee logic), the description covers the core formula, provides a concrete input/output example, explains the error behavior, and explicitly states the read-only/idempotent nature (authoritative even if annotations also mention it). With an output schema presentished, the example covers return structure. This is fully sufficient for an agent to invoke correctly.

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 100% with detailed descriptions, so baseline is 3. The description adds value by explaining the fee calculation nuance (not simply cost/(1-margin)) and providing a concrete example input that clarifies how parameters combine. This pushes it above baseline.

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 opens with an explicit purpose: 'Work backwards from the margin you want to the price you must charge. FREE.' It clearly names the tool's function and distinguishes it from sibling margin_check by saying 'Not for checking one price you already have — that is margin_check.' The verb-resource pairing is specific.

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?

Directly states when to use: 'setting a price list' and explicitly excludes when not to use: 'Not for checking one price you already have — that is margin_check.' This is the clearest form of usage guidance.

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.

TDQS

A4.5/5.0
Disambiguation5/5

Each tool targets a distinct economic decision: lead_time for delivery dates, margin_check for single-sale profitability, moq_planner for order quantity, price_ladder for price setting, returns_impact for return rate effects, and sku_map_check for SKU mapping validation. Cross-references explicitly point out which tool to use for adjacent concerns, eliminating ambiguity.

Naming Consistency4/5

All tool names follow a consistent noun-based pattern (lead_time, margin_check, moq_planner, price_ladder, returns_impact, sku_map_check) with descriptive suffixes. The naming is uniform and predictable, though the pattern is noun_verb rather than verb_noun, which is a minor deviation from the most common convention.

Tool Count5/5

Six tools is well-scoped for a dropship economics server. Each tool covers a distinct aspect of the domain (delivery, margin, ordering, pricing, returns, SKU mapping) without redundancy or bloat. The count is appropriate for the stated purpose.

Completeness4/5

The tool set covers the core economic decisions in dropshipping: delivery promises, margin analysis, order quantity planning, price laddering, returns impact, and SKU mapping validation. Minor gaps exist (e.g., no tool for supplier comparison or multi-product portfolio analysis), but the surface is largely complete for the stated domain.

Resources