Skip to main content
Glama

Manifeste

Manifeste: margin and product verdict

calculate_margin
Read-only

Manifeste e-commerce margin calculator. From a selling price and a delivered cost, returns a GO / RISKY / NO-GO verdict, what the seller really keeps per sale after VAT, platform fees (TikTok Shop, Amazon, Etsy, eBay, own store/Shopify), affiliate commission, payment fees, returns and social contributions, plus the levers to reach GO (minimum price, maximum cost), break-even ROAS, maximum ad cost per sale, sales needed per month and points to check. Use it whenever someone asks if a product is profitable, what margin or fees they will have, or how to price it.

Input Schema

NameRequiredDescriptionDefault
costYesDelivered cost per unit: product + packaging + shipping to the customer.
priceYesSelling price paid by the customer, tax included (e.g. 24.90).
channelNoWhere it is sold: tiktok (TikTok Shop), amazon, etsy, ebay, boutique (own store, e.g. Shopify), physique (in person), autre (other).
countryNoStore country: FR, BE, DE, ES, IT, IE, UE (other EU), UK, US, XX (other). Sets currency, VAT and default fees.
languageNoLanguage of the answer (default en).
ships_fromNoWhere parcels ship from (matters for TikTok Shop in the EU).
vat_percentNoVAT rate % (default: standard rate of the country; 0 for VAT exemption).
delivery_daysNoBusiness days from order to delivery (optional, used for the verdict).
stock_quantityNoUnits in the first stock order (default 50).
returns_percentNoReturns provision % (default 5).
samples_percentNoFree samples as % of units sold.
ad_cost_per_saleNoAverage ad spend per sale.
discount_percentNoPromotion % off the price.
shipping_chargedNoShipping paid by the customer, if any.
fixed_fee_per_orderNoOverride the fixed fee per order.
monthly_fixed_costsNoMonthly fixed costs (tools, subscriptions).
monthly_profit_goalNoMonthly net profit goal (default 1000).
payment_fee_percentNoOverride payment fees %.
platform_fee_percentNoOverride the platform fee %.
affiliate_commission_percentNoAffiliate creator commission % (TikTok Shop default 15).
social_contributions_percentNoSocial contributions and taxes as % of revenue (France micro-entreprise default 12.3).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true and openWorldHint=false, and the description is consistent with a pure, read-only computation. It adds useful output context: the GO/RISKY/NO-GO verdict, the post-VAT/post-fee payout, and the levers (minimum price, max cost, break-even ROAS, max ad cost). It says nothing about how fee/VAT defaults are resolved or how confident the verdict is, which matters because the result depends heavily on those defaults.

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 purpose comes first, then the outputs, then the triggers. The three-sentence structure fits the tool's large input surface. A little redundancy from fixing the brand name and repeating 'margin', but it is still efficient.

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?

There is no output schema, yet the description spells out the return value well: a verdict tier, the per-sale take-home after VAT, fees, affiliate, payment, returns and social contributions, plus the specific levers and break-even ROAS. For a 21-parameter tool, that level of detail about what comes back is what an agent needs to choose it.

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 100%, so every parameter — channel, country, ships_from, returns, ad cost — is already documented. The description only echoes the two required inputs ('a selling price and a delivered cost') and does not explain how the 19 optional overrides interact with the country/channel defaults. Baseline 3 is the right call.

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?

Specific verb and resource: takes a price and delivered cost and returns a margin verdict plus breakdown. The stated scope is unmistakable. It never names the compare_channels sibling, so an agent must infer on its own that this tool evaluates one product while the sibling compares several — the only thing keeping it off 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 Guidelines4/5

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

The final sentence gives concrete triggers: 'if a product is profitable', 'what margin or fees they will have', or 'how to price it'. That covers most realistic intents. It gives no when-not-to-use rule and never points at compare_channels for multi-channel comparisons, so usage is clear but not fully routed.

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