Skip to main content
Glama
Commish MCP Server

Commish MCP Server

simulate_commission

Calculate projected commissions for hypothetical deals using a rep's active or specified comp plan and YTD attainment, showing quota impact, accelerator tiers, and additional earnings.

Instructions

Simulate commission calculations for hypothetical deals without creating real records. Uses the rep's current active comp plan (or a specified one) and their existing YTD approved deals as baseline attainment. Returns: current quota attainment, projected attainment after simulated deals, deal-by-deal commission breakdown showing which accelerator tier applies, and total projected additional commission. Powerful for: (1) Forecasting rep earnings, (2) Showing how close a rep is to an accelerator threshold, (3) Comparing commission under different comp plans, (4) Planning quota scenarios. The arr_variable_percentage and arr_quarterly/annual_accelerator from the comp plan drive the calculations.

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": {
      "user_id": "<user_id>",
      "deals": "<deals>"
    },
    "name": "simulate_commission"
  }
}

Input Schema

NameRequiredDescriptionDefault
dealsYesArray of hypothetical deals to simulate. Each deal needs an ARR amount.
user_idYesID of the sales rep to run the simulation for. Their current quota attainment (YTD approved deals) is used as the baseline.
comp_plan_idNoOptional: override which comp plan to use for simulation. If not provided, uses the rep's currently active plan. Use to compare what they'd earn under a different plan.
include_existingNoWhether to include the rep's existing approved YTD deals when calculating quota attainment for accelerator thresholds. Default: true. Set to false to simulate in isolation (as if starting from 0% attainment).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A4.1/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does well: it discloses non-persistence ('without creating real records'), the baseline behavior (existing YTD approved deals, overridable), and which comp-plan fields drive the math. It does not mention permission or plan-assignment prerequisites for the target rep, which is the main 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?

The non-persistence constraint and calculation basis are front-loaded, and the return-value list follows usefully. The 'Powerful for' enumeration and the closing sentence on accelerator fields are slightly redundant with the schema but still earn their space.

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 enumerates what comes back (attainment, projected attainment, per-deal accelerator tier, total projected commission). Combined with baseline and comp-plan sourcing details, an agent has enough to call it correctly; only error/edge behavior (e.g., invalid user or missing active plan) is unaddressed.

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 all four parameters are already documented in the input schema, including comp_plan_id's override purpose and include_existing's baseline semantics. The description restates rather than extends those meanings, 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?

States a specific verb and resource ('Simulate commission calculations') plus a critical scope guarantee: 'for hypothetical deals without creating real records.' That differentiates it from real-record siblings like get_commission_summary and list_commissions 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?

The numbered 'Powerful for' list gives four concrete usage contexts (forecasting, accelerator proximity, comp-plan comparison, quota scenarios), and case 3 maps directly onto the comp_plan_id parameter. There is no explicit when-not or named alternative for reading actual (non-simulated) commissions, which keeps it from a 5.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.