Skip to main content
Glama
Commish MCP Server

Commish MCP Server

create_spiff

Create a new SPIFF to motivate sales reps with bonus payouts for qualifying deal activity, using per-deal, flat, tiered, or team pool bonuses.

Instructions

Create a new SPIFF (Sales Performance Incentive Fund Program) to motivate reps with bonus payouts for specific deal activity. Supports per-deal bonuses, flat bonuses, tiered bonuses, and team pool distributions. The criteria, caps, and eligibility fields are flexible JSON objects — pass whatever structure makes sense for the program. Use when launching a new sales contest, incentive program, or short-term promotion.

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": {
      "name": "<name>",
      "bonus_type": "<bonus_type>",
      "bonus_amount": "<bonus_amount>",
      "start_date": "<start_date>",
      "end_date": "<end_date>"
    },
    "name": "create_spiff"
  }
}

Input Schema

NameRequiredDescriptionDefault
capsNoJSON object defining payout caps. Common fields: per_rep (max payout per individual rep), total_budget (max total SPIFF spend). Example: { "per_rep": 5000, "total_budget": 50000 }
nameYesName of the SPIFF (e.g., 'Q1 New Business Blitz', 'Enterprise Deal Contest').
statusNoInitial status. 'draft' to save without activating, 'active' to launch immediately. Default: 'active'.
criteriaNoJSON object defining qualifying criteria for deals. Common fields: deal_type ('new_business'|'renewal'|'expansion'|'any'), min_arr (minimum ARR amount), min_deal_count (minimum deal count). Example: { "deal_type": "new_business", "min_arr": 25000 }
end_dateYesSPIFF end date in ISO 8601 format (YYYY-MM-DD). Deals must close on or before this date to qualify. Must be after start_date.
bonus_typeYesHow the bonus is structured. 'per_deal' = fixed amount per qualifying deal, 'flat' = one-time bonus for hitting a milestone, 'tiered' = different amounts at different thresholds, 'team_pool' = shared pool split among qualifying reps.
start_dateYesSPIFF start date in ISO 8601 format (YYYY-MM-DD). Deals closed on or after this date qualify.
descriptionNoHuman-readable description of the SPIFF rules and goals, shown to reps.
eligibilityNoJSON object defining which reps are eligible. Common fields: all_reps (boolean), rep_ids (array of user IDs). Example: { "all_reps": true } or { "all_reps": false, "rep_ids": ["uuid1", "uuid2"] }
bonus_amountYesBonus amount in dollars. For per_deal: dollars per deal. For flat/team_pool: total pool amount.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.6/5.0
Behavior3/5

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

With no annotations, the description carries the full behavioral burden. It does usefully disclose that criteria, caps, and eligibility are free-form JSON ("pass whatever structure makes sense"), which warns the agent that these are unvalidated shapes, but it says nothing about permissions, side effects, reversibility, or what happens when status defaults to 'active'.

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 sentences, front-loaded with the purpose, then supported structures, then usage. The bonus-type enumeration partially duplicates the schema enum descriptions, but everything else earns its place.

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?

For a 10-parameter mutation tool with no annotations and no output schema, the description omits what a successful call returns (e.g., the new SPIFF ID) and whether activation is reversible. The schema covers parameter detail well, so the gap is moderate rather than severe.

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% and the schema already documents every parameter, including enums with per-value explanations and JSON examples. The description's bonus-type sentence largely restates the bonus_type enum, adding only the notion that the nested objects are intentionally flexible — baseline 3 is appropriate.

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 uses a specific verb+resource ("Create a new SPIFF") and even expands the acronym plus states the domain purpose (bonus payouts for specific deal activity). It does not explicitly contrast with the nearest conceptual sibling, create_comp_plan, so it falls short of the 5-level sibling differentiation.

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?

It gives a clear when-to-use context: "launching a new sales contest, incentive program, or short-term promotion." There are no explicit exclusions or named alternatives (e.g., when to use create_comp_plan instead), which keeps it out of 5 territory.

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