Skip to main content
Glama

Ozon WB Helper - Seller Tools

OGL 利润计算器 / OGL profit calculator

calculate_ogl_profit
Read-onlyIdempotent

Calculate the OGL (Ozon Global Logistics) land-cost profit breakdown for one product: shipping, commission, FX-converted fees, profit and margin. Server owns all formulas and rates; present the returned breakdown without recomputing. ready=false with a 422 means inputs exceed supported limits and the payload still contains warnings and partial data.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "price": "<price>",
      "weightG": "<weightG>",
      "cost": "<cost>"
    },
    "name": "calculate_ogl_profit"
  }
}

Input Schema

NameRequiredDescriptionDefault
costYesProduct cost in CNY, may be 0.
priceYesSelling price in RUB, must be > 0.
adRateNoAdvertising rate as a 0..1 fraction.
weightGYesProduct weight in grams, must be > 0.
otherFeeNoOther fixed fee in RUB, defaults to 0 when omitted.
starRatioNoStar premium rate as a 0..1 fraction.
returnRateNoReturn allowance rate as a 0..1 fraction.
commissionRateNoOverride commission rate as a 0..1 fraction; omit to use the configured default.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior3/5

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

Annotations already declare readOnly, idempotent, non-destructive, and closed-world, so the safety profile is covered. The description usefully adds that the server owns all formulas and rates (no client-side recomputation) and that a 422 with ready=false still returns warnings and partial data — meaningful behavioral context beyond annotations. It does not state output units or the shape of the returned breakdown, leaving a gap for a numeric tool, hence a 3 rather than higher.

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?

Three tightly packed sentences, front-loaded with the computation and its components, then the no-recompute rule, then the error contract. Minor cost: 'ready=false' is referenced without explaining what field or condition produces it, which slightly slows parsing of the final sentence.

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?

With no output schema, the description steps in to enumerate the returned components and the partial-data error contract, and it clarifies where computation responsibility lies. Still missing are output units/currency and any note on how optional override rates change the result, which an agent calling an 8-parameter financial tool could reasonably want.

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 description coverage is 100%, so every parameter already carries meaning (units, ranges, defaults, override semantics for commissionRate). The description adds no per-parameter guidance such as how weight or FX affects the breakdown, so the baseline 3 applies.

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?

Specific verb plus resource: 'Calculate the OGL (Ozon Global Logistics) land-cost profit breakdown for one product', followed by the concrete components produced (shipping, commission, FX-converted fees, profit, margin). This is unambiguously a computation tool, clearly distinct from the sibling rate/dataset lookup tools without needing to name them.

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?

Scope is clear: one product, and the caller must present the returned breakdown rather than recomputing, plus what a 422/ready=false outcome means. It gives no explicit when-not guidance or pointer to the commission-rate siblings for supplying overrides, so it stops short of full routing 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.

Resources