Skip to main content
Glama
Commish MCP Server

Commish MCP Server

get_user_commissions

Retrieve a sales rep's commission history by user ID, with optional filters for month, comp plan, and pagination. Shows approved deals, close dates, and earned commission totals.

Instructions

Get commission history for a specific user/rep by filtering the commissions endpoint. Returns approved deal records showing opportunity name, close date, arr_commission, wnc_commission, and total_commission. Use when a user asks 'how much has [rep] earned?', 'show me [rep]'s commissions', or wants a rep's earnings history.

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": {
      "id": "<id>"
    },
    "name": "get_user_commissions"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesThe unique user ID to get commissions for.
pageNoPage number for pagination (default: 1).
periodNoOptional: filter by month in YYYY-MM format (e.g., '2025-03' for March 2025). Returns deals closed in that month.
per_pageNoNumber of results per page (default: 25, max: 100).
comp_plan_idNoOptional: filter commissions for a specific comp plan.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.9/5.0
Behavior4/5

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

With no annotations, the description carries the burden and does disclose meaningful behavior: results are limited to approved deal records and include opportunity name, close date, arr_commission, wnc_commission, and total_commission. It omits sorting order, what happens across pagination, and any permission scoping, which are secondary for a read tool but not covered elsewhere.

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 purpose and return shape, then usage triggers; nothing is padding. The field enumeration is long but earns its place as the only return-value documentation since there is no output schema.

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 5-parameter read-only lookup with full schema coverage and no output schema, the description covers purpose, returned fields, the approved-only filter, and usage triggers. The main remaining gap is not positioning itself against sibling tools such as list_commissions and get_commission_summary.

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%, so every parameter including period format, per_page limits, and comp_plan_id is already documented in the schema. The description only reinforces that the id is a user/rep and that results are historical, adding little beyond structured data; baseline 3 applies.

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 specific verb and resource ('Get commission history for a specific user/rep') and names the endpoint it filters, plus enumerates the returned fields. It does not explicitly distinguish itself from siblings like list_commissions or get_commission_summary, so the boundary with those tools must be inferred.

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?

Provides concrete trigger phrases ('how much has [rep] earned?', 'show me [rep]'s commissions') and the intent it serves (a rep's earnings history). It offers no exclusion guidance or named alternative for when a summary or full commission list is wanted instead.

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