Skip to main content
Glama
Commish MCP Server

Commish MCP Server

reject_deal

Reject pending or draft deals to set status rejected and record the reason, excluding them from commission payout. Use for deals entered in error, not closed, or policy violations.

Instructions

Reject a deal in 'pending' or 'draft' status. Sets status to 'rejected' and records the rejection reason. No commission will be paid for rejected deals. This is an admin-level action. Use when a deal should not count toward commissions (e.g., entered in error, did not close, or violates policy).

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

Input Schema

NameRequiredDescriptionDefault
idYesThe unique deal ID to reject.
reasonNoReason for rejection. Stored as rejection_reason on the deal record. Optional but recommended.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A4/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 discloses the mutation side effects ('Sets status to rejected'), authorization level ('admin-level action'), and commission impact ('No commission will be paid'). It leaves out reversibility, failure behavior, and response details.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is front-loaded with the core action and status precondition, followed by effects, authorization context, and usage examples. Every sentence adds useful information without redundancy.

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 simple two-parameter mutation tool with no annotations or output schema, the description covers preconditions, effects, authorization, and usage rationale. It could be more complete by mentioning reversibility or what the caller receives after rejection.

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 the schema already explains both parameters. The description reinforces that a rejection reason is recorded but adds no syntax, format, or constraint details beyond the schema baseline.

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 states a specific verb and resource ('Reject a deal'), plus status preconditions and the resulting status change. It is clear, but it does not explicitly differentiate this tool from siblings such as approve_deal or update_deal.

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 clear when-to-use guidance with examples ('entered in error, did not close, or violates policy') and a status precondition ('pending' or 'draft'). It stops short of naming alternatives or explicitly stating when not to use it.

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