Skip to main content
Glama

finance_pricing

Read-only

Pricing, margin vs markup + discount impact — Price and margin math for sellers: cost plus price, target_margin (%) or markup (%). Returns margin vs markup, unit profit, break-even price and a price ladder for 20-80% margins. Optional: discount (%) → new margin and how much unit sales must rise to keep the same gross profit; price_increase (%) → how far sales can fall before profit drops; fee_pct + fee_fixed (payment or marketplace fees per sale, e.g. 2.9 and 0.30) included in margins; tax_pct → price with tax; units → revenue, profit and units needed. Offline, instant. Price: $0.002 USDC (Base, via x402).

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": {
      "cost": "<cost>",
      "price": "<price>",
      "discount": "<discount>"
    },
    "name": "finance_pricing"
  }
}

Input Schema

NameRequiredDescriptionDefault
costYes60
priceYes100
discountYes10

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.6/5.0
Behavior4/5

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

Beyond the annotations (readOnlyHint=true, destructiveHint=false, openWorldHint=true), the description discloses that execution is offline and instant and that each call costs $0.002 USDC on Base via x402 — the payment/auth requirement is the kind of detail an agent needs before invoking. It does not contradict the read-only annotation, since the tool is pure computation.

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

Conciseness3/5

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

Purpose and outputs are front-loaded, which is good, but the body is a dense semicolon-and-em-dash run-on that mixes output description, optional-input behavior, and payment terms in one block. Every element is relevant, yet the lack of structure makes it harder to scan than it needs to be.

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 correctly takes on the burden of describing returns (margin vs markup, unit profit, break-even price, 20–80% price ladder, post-discount margin and required sales lift). It also states cost and latency. The main completeness defect is the mismatch between the promised optional parameters and the three-parameter schema.

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%, but the schema descriptions are only placeholder values ('60', '100', '10'), so the description does real work explaining cost, price, and discount and what each yields. However, it also advertises optional inputs (target_margin, markup, price_increase, fee_pct, fee_fixed, tax_pct, units) that do not exist in the schema, which risks an agent attempting unsupported arguments.

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 names a concrete domain (seller pricing) and enumerates the computations: margin vs markup, unit profit, break-even price, price ladder, discount impact. That is far more specific than the title alone. It does not, however, contrast itself with plausible siblings such as finance_break_even, which shares the break-even concept.

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?

Usage context is implied by 'for sellers' and by the conditional framing of each optional input ('Optional: discount (%) → ...', 'units → revenue, profit...'), which tells an agent which knobs to turn for which question. There is no explicit when-to-use/when-not guidance and no named alternative among the finance_* siblings.

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