Skip to main content
Glama
Commish MCP Server

Commish MCP Server

approve_deal

Approves pending or draft deals as an admin action, sets status to approved with a timestamp, and includes commission amounts in rep attainment and accelerator calculations.

Instructions

Approve a deal in 'pending' or 'draft' status. Sets status to 'approved' and records the approval timestamp. This is an admin-level action. After approval, the deal's commission amounts (arr_commission, wnc_commission, total_commission) factor into the rep's attainment and accelerator calculations. Use when a manager approves a submitted deal.

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": "approve_deal"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesThe unique deal ID to approve.

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 the state mutation, timestamp recording, admin-level authorization requirement, and the downstream effect on commission, attainment, and accelerator calculations. It omits failure behavior for deals not in the eligible statuses and whether the action is idempotent or reversible.

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 precondition and effect come first, followed by authorization and downstream consequences, so the important routing information is front-loaded. Four sentences are mostly justified, though the commission-field enumeration is slightly verbose for what it conveys.

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 single-parameter mutation with no output schema and no annotations, the description covers the state transition, side effects, and authorization level, which is enough to invoke it correctly. It could say more about what happens on an ineligible status or an unknown ID, but the core is complete.

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?

There is only one parameter and schema description coverage is 100%, so the schema already explains 'id' as the unique deal ID. The description adds no format, sourcing, or lookup guidance beyond that, which is the expected baseline for a fully documented single parameter.

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 ('Approve a deal'), the precondition ('in pending or draft status'), and the resulting state ('Sets status to approved'). An agent can distinguish this from siblings like reject_deal or update_deal purely from the description.

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?

'Use when a manager approves a submitted deal' gives clear triggering context, and the status precondition narrows applicability. It stops short of explicit exclusions (e.g., what to do instead if the deal is already approved or in another status), so it is not a full when/when-not statement.

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