Skip to main content
Glama
Commish MCP Server

Commish MCP Server

update_spiff

Update only supplied SPIFF fields such as bonus amount, criteria, eligibility, dates, or status; pause active SPIFFs, adjust payouts, or extend end dates. Completed SPIFFs cannot be updated.

Instructions

Update an existing SPIFF. Only provided fields will be changed. Can update name, description, bonus amount, criteria, caps, eligibility, dates, and status. Use to pause an active SPIFF (set status to 'paused'), adjust bonus amounts, or extend end dates. Cannot update completed SPIFFs (status: 'completed').

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

Input Schema

NameRequiredDescriptionDefault
idYesThe unique SPIFF ID to update.
capsNoUpdated payout caps JSON object.
nameNoUpdated SPIFF name.
statusNoUpdated status. Set to 'paused' to temporarily suspend the SPIFF.
criteriaNoUpdated qualifying criteria JSON object.
end_dateNoUpdated end date in ISO 8601 format (YYYY-MM-DD). Must be after start_date.
bonus_typeNoUpdated bonus type.
start_dateNoUpdated start date in ISO 8601 format (YYYY-MM-DD).
descriptionNoUpdated description.
eligibilityNoUpdated eligibility rules JSON object.
bonus_amountNoUpdated bonus amount in dollars.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A4.1/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the full disclosure burden. It usefully states partial-update semantics (only provided fields change) and one precondition (completed SPIFFs are immutable), but says nothing about permissions, whether status transitions like draft-to-active are constrained, or side effects on in-flight deals when criteria or bonus amounts change.

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?

Four short sentences, front-loaded with the core operation, then partial-update semantics, then concrete use cases, then the hard constraint. No filler and nothing repeated from the schema.

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 an 11-parameter mutation with three nested JSON objects (criteria, caps, eligibility), the description never hints at what those objects should contain, and with no annotations or output schema there is no safety or return-value signal elsewhere. It is solid on the scalar fields and constraints but leaves the most complex parameters opaque.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so baseline would be 3, but the description adds genuine meaning the schema does not encode: that unspecified fields are preserved, and that 'completed' is excluded from the status enum because those SPIFFs cannot be edited. This directly shapes how an agent should populate the optional parameters.

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 (update) and resource (an existing SPIFF) and enumerates the mutable surface: name, description, bonus amount, criteria, caps, eligibility, dates, and status. Against siblings like create_spiff, delete_spiff, and get_spiff, the operation is unambiguous without opening any schema.

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?

Gives concrete motivating scenarios (pause an active SPIFF, adjust bonus amounts, extend end dates) plus an explicit exclusion: completed SPIFFs cannot be updated. It does not route to named alternatives (e.g., delete_spiff vs. pausing), but the when and when-not conditions are clear.

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