Skip to main content
Glama

Unison & Federal $15k GPC Micro-Purchase Margin Calculator

govcon_calculate_gpc_unison_margin

Read-onlyIdempotent

Calculates Unison Marketplace (<= 3.93% GSA GS-35F-131GA fee) and Federal Government Purchase Card (FAR 13.2 $15,000 micro-purchase + Stripe 2.9% + $0.30 on gross award) net profit, FOB Destination margin, and floor-safe seller bid.

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": {
      "sellerBidUsd": "<sellerBidUsd>",
      "supplierCogsUsd": "<supplierCogsUsd>"
    },
    "name": "govcon_calculate_gpc_unison_margin"
  }
}

Input Schema

NameRequiredDescriptionDefault
minProfitUsdNoMinimum cleared net profit floor in USD (default 1500).
sellerBidUsdYesSeller bid in USD before Unison buyer-funded fee.
unisonFeePctNoUnison Marketplace fee percentage 0 to 3.93 (default 3.0; 0 for direct SAM.gov/State P-Card).
paymentMethodNoSettlement rail (default GPC_CARD).
supplierCogsUsdYesWholesale distributor COGS in USD (0 for digital/508 services).
targetMarginPctNoMinimum target net margin percentage (default 20).
shippingFobDestUsdNoFOB Destination freight and liftgate cost in USD (default 0).

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 declare readOnlyHint, idempotentHint, non-destructive, and closed-world, and the description is consistent with a pure deterministic computation. Beyond that, it adds real behavioral context the annotations cannot express: the 3.93% GSA GS-35F-131GA fee ceiling, the FAR 13.2 $15,000 micro-purchase threshold, and the Stripe 2.9% + $0.30 gross-award model, which is the fee logic an agent needs to trust the result.

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 sentence with no filler and the verb front-loaded; every clause carries distinct information about fees or outputs. It loses a point only because the parenthetical stacking of FAR citations, fee percentages, and Stripe rates makes it harder to scan than a two-sentence structure would.

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?

For a deterministic 7-parameter calculator with full schema coverage and no output schema, the definition supplies enough to call it correctly and even names the three computed results. The remaining gap is that it does not describe the shape of the returned figures (breakdown object vs. scalars) or how the margin floor and target margin are reconciled.

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% and every one of the 7 parameters carries its own description with defaults, so the schema already carries the burden and baseline 3 applies. The description reinforces the fee semantics (Unison fee on buyer-funded side, Stripe on gross award) and names the computed outputs, but it adds no per-parameter meaning such as how targetMarginPct interacts with minProfitUsd.

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?

States a concrete verb (Calculates) plus the exact quantities produced: net profit, FOB Destination margin, and floor-safe seller bid, scoped to Unison Marketplace and GPC/FAR 13.2 transactions. It is clearly distinct from the listed siblings (EPA 608, ADA, bid search, context tools), though the purpose is buried in a dense run of acronyms and fee citations that an agent must already understand.

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: the fee cap and the '0 for direct SAM.gov/State P-Card' note hint at the scenarios covered, but the description never says when to call this versus not calling it, nor what prerequisites apply. There is no explicit routing guidance for the agent beyond the domain labels in the sentence.

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.