Skip to main content
Glama
Commish MCP Server

Commish MCP Server

delete_spiff

Permanently delete an unwanted SPIFF in draft, active, or paused status to remove errors or outdated records; completed SPIFFs are protected to preserve payout records.

Instructions

Delete a SPIFF permanently. Only SPIFFs in 'draft' or 'active'/'paused' status (i.e., not 'completed') can be deleted. Completed SPIFFs cannot be deleted to preserve payout records. Use when a SPIFF was created in error or is no longer needed.

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

Input Schema

NameRequiredDescriptionDefault
idYesThe unique SPIFF ID to delete.

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 supplied, the description carries the full behavioral burden and does well: it discloses irreversibility ('permanently'), the eligibility gate by status, and the business reason for that gate (preserving payout records). It does not state what an attempted delete of a completed SPIFF returns or whether any auth/scope is required, so a 4 rather than 5.

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?

Three short sentences: the action first, the eligibility constraint second, the motivating use case last. Every sentence carries distinct information and nothing is repeated from the schema or title.

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 one-parameter destructive tool with no output schema, the description covers the essentials: what is destroyed, what is protected, and why. Only the failure behavior for ineligible statuses is left implicit, which is a minor gap given the constraint is already stated.

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 a single required parameter with 100% schema description coverage, so the schema already explains 'id'. The description adds no format, source, or lookup guidance for obtaining a SPIFF ID, so it neither helps nor harms 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 opens with a specific verb and resource ('Delete a SPIFF permanently'), which unambiguously separates it from update_spiff or get_spiff in the sibling list. It also scopes the operation with a status precondition. It stops short of explicitly naming an alternative tool, but none is needed for a delete.

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 an explicit use case ('created in error or is no longer needed') and an explicit exclusion ('Completed SPIFFs cannot be deleted'). This tells the agent both when to call it and when the call will fail, which is stronger than most. No pointer to a remediation path (e.g., what to do instead for completed SPIFFs) keeps it below a 5.

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