Skip to main content
Glama

Truvana Tech Card Processing and POS Database

Delivery app commission calculator

delivery_commission_calculator
Read-onlyIdempotent

What delivery apps keep from a restaurant's orders per order, month and year; the menu markup that keeps the same take; and what moving some app orders to the restaurant's own ordering page saves. Common commission tiers: 15%, 25%, 30% of the subtotal. Interactive version: https://truvanatech.com/tools/delivery-app-commission-calculator

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": {
      "orderValue": "<orderValue>",
      "ordersPerMonth": "<ordersPerMonth>",
      "commissionPercent": "<commissionPercent>"
    },
    "name": "delivery_commission_calculator"
  }
}

Input Schema

NameRequiredDescriptionDefault
orderValueYesAverage order subtotal, $
cardPercentNoCard cost on the restaurant's own page, %
movedPercentNoShare of app orders moved to the restaurant's own page, %
ordersPerMonthYesApp orders per month
commissionPercentYesApp commission, % of subtotal

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already establish that this is a safe, idempotent, closed-world read calculation, so the description's burden is lighter. It adds real context beyond that: it discloses the shape of the results (per order, per month, per year) and the two extra analyses produced (required menu markup and own-page savings). It does not state that results are estimates or how the three outputs are structured, which is the remaining gap.

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?

A single dense sentence front-loads the three things the tool returns, followed by one short line of tier guidance and a reference link. Every element earns its place, though the phrasing is packed into one long clause chain rather than broken into scannable parts.

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

Completeness3/5

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

With five parameters and no output schema, the description needs to carry the return-value burden, and it does so only at a conceptual level — it says what is compared but not how results are presented. The link to the interactive calculator is useful context but not a substitute for describing the computed outputs an agent will receive.

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, but the description adds meaning beyond the schema by quoting realistic commission tiers (15%, 25%, 30% of subtotal) that guide how to set commissionPercent. It also implicitly frames movedPercent as the share of app orders shifted to the restaurant's own page, which is more actionable than the schema's phrasing.

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 states specifically what is computed: app commission retained per order, month and year, plus a menu-markup equivalent and savings from moving orders to the restaurant's own page. It clearly separates this from a pure card-fee calculation by naming the commission tiers, but it never names or contrasts the closest sibling (card_fee_calculator), leaving that distinction to inference.

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 is only implied by the topic — an agent must infer that this tool applies to questions about delivery-app commission take, not card processing fees or surcharges. There is no stated when-to-use condition, no exclusions, and no pointer to an alternative tool for adjacent questions.

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.