Skip to main content
Glama

Samuelz® Sales

Verkaufschance weiterführen

save_sales_pipeline
Idempotent

For an explicitly requested internal update, supply command. Enroll an existing contact, advance through a declared event, set next action/due date, or complete_next_action with resultRef and optional recordedMinutes (unknown if omitted). Completion clears the current action; only an explicitly selected declared event may advance the phase and install its configured action. Read get_sales_pipeline first; copy expectedPolicyVersion and expectedRevision (0 for enroll only). Retry with the same requestKey and exact fields. Stale state, changed policy, duplicate enrollment or revoked authority conflicts. Uses the existing pipeline, task table and atomic receipt. Reported results and minutes do not verify human work or delivery. Never creates customers, issues terms, sends, closes customer orders or records payment. To reconcile a historical open task use resolve_legacy_task only after explicit human confirmation: copy legacyTask reference from get_sales_pipeline(legacyTasks=open), supply nonempty nextAction, dueAt, reason and confirmedCovered=true. Retains the old task as cancelled with immutable original-state evidence in the same journal; preserves phase provenance. This is neither a completion nor reported work/minutes. For complete_next_action only, optional communicationSource copies the explicit reference from get_sales_pipeline(communicationSources=true). New imports require current communications:read and unchanged original evidence; stale evidence is rejected atomically. The receipt freezes channel, original timestamp and observed proof level, without content or recipient data. Old history and exact replays require no new communication read. It never sends, retries or proves a business outcome. Requires crm:read/write; no tenant selector.

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": {
      "command": "<command>"
    },
    "name": "save_sales_pipeline"
  }
}

Input Schema

NameRequiredDescriptionDefault
commandYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / command / oneOf
      Previous value: -[
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "action": {
      -        "const": "enroll",
      -        "type": "string"
      -      },
      -      "contactId": {
      -        "pattern": "^[a-zA-Z0-9_-]{1,100}$",
      -        "type": "string"
      -      },
      -      "dueAt": {
      -        "anyOf": [
      -          {
      -            "format": "date-time",
      -            "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
      -            "type": "string"
      -          },
      -          {
      -            "type": "null"
      -          }
      -        ]
      -      },
      -      "expectedPolicyVersion": {
      -        "exclusiveMinimum": 0,
      -        "maximum": 9007199254740991,
      -        "type": "integer"
      -      },
      -      "expectedRevision": {
      -        "const": 0,
      -        "type": "number"
      -      },
      -      "nextAction": {
      -        "anyOf": [
      -          {
      -            "maxLength": 240,
      -            "minLength": 1,
      -            "type": "string"
      -          },
      -          {
      -            "type": "null"
      -          }
      -        ]
      -      },
      -      "pipelineKey": {
      -        "maxLength": 80,
      -        "minLength": 1,
      -        "type": "string"
      -      },
      -      "requestKey": {
      -        "format": "uuid",
      -        "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
      -        "type": "string"
      -      }
      -    },
      -    "required": [
      -      "requestKey",
      -      "expectedPolicyVersion",
      -      "action",
      -      "contactId",
      -      "pipelineKey",
      -      "expectedRevision",
      -      "nextAction",
      -      "dueAt"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "action": {
      -        "const": "advance",
      -        "type": "string"
      -      },
      -      "event": {
      -        "maxLength": 80,
      -        "minLength": 1,
      -        "type": "string"
      -      },
      -      "expectedPolicyVersion": {
      -        "exclusiveMinimum": 0,
      -        "maximum": 9007199254740991,
      -        "type": "integer"
      -      },
      -      "expectedRevision": {
      -        "exclusiveMinimum": 0,
      -        "maximum": 9007199254740991,
      -        "type": "integer"
      -      },
      -      "id": {
      -        "pattern": "^[a-zA-Z0-9_-]{1,100}$",
      -        "type": "string"
      -      },
      -      "requestKey": {
      -        "format": "uuid",
      -        "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
      -        "type": "string"
      -      }
      -    },
      -    "required": [
      -      "requestKey",
      -      "expectedPolicyVersion",
      -      "action",
      -      "id",
      -      "expectedRevision",
      -      "event"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "action": {
      -        "const": "next_action",
      -        "type": "string"
      -      },
      -      "dueAt": {
      -        "anyOf": [
      -          {
      -            "format": "date-time",
      -            "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
      -            "type": "string"
      -          },
      -          {
      -            "type": "null"
      -          }
      -        ]
      -      },
      -      "expectedPolicyVersion": {
      -        "exclusiveMinimum": 0,
      -        "maximum": 9007199254740991,
      -        "type": "integer"
      -      },
      -      "expectedRevision": {
      -        "exclusiveMinimum": 0,
      -        "maximum": 9007199254740991,
      -        "type": "integer"
      -      },
      -      "id": {
      -        "pattern": "^[a-zA-Z0-9_-]{1,100}$",
      -        "type": "string"
      -      },
      -      "nextAction": {
      -        "anyOf": [
      -          {
      -            "maxLength": 240,
      -            "minLength": 1,
      -            "type": "string"
      -          },
      -          {
      -            "type": "null"
      -          }
      -        ]
      -      },
      -      "requestKey": {
      -        "format": "uuid",
      -        "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
      -        "type": "string"
      -      }
      -    },
      -    "required": [
      -      "requestKey",
      -      "expectedPolicyVersion",
      -      "action",
      -      "id",
      -      "expectedRevision",
      -      "nextAction",
      -      "dueAt"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "action": {
      -        "const": "resolve_legacy_task",
      -        "type": "string"
      -      },
      -      "confirmedCovered": {
      -        "const": true,
      -        "description": "Only true after the user explicitly confirms the original task is covered; no automatic migration, work report or external effect.",
      -        "type": "boolean"
      -      },
      -      "dueAt": {
      -        "anyOf": [
      -          {
      -            "format": "date-time",
      -            "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
      -            "type": "string"
      -          },
      -          {
      -            "type": "null"
      -          }
      -        ]
      -      },
      -      "expectedPolicyVersion": {
      -        "exclusiveMinimum": 0,
      -        "maximum": 9007199254740991,
      -        "type": "integer"
      -      },
      -      "expectedRevision": {
      -        "exclusiveMinimum": 0,
      -        "maximum": 9007199254740991,
      -        "type": "integer"
      -      },
      -      "id": {
      -        "pattern": "^[a-zA-Z0-9_-]{1,100}$",
      -        "type": "string"
      -      },
      -      "legacyTask": {
      -        "additionalProperties": false,
      -        "properties": {
      -          "fingerprint": {
      -            "description": "Copy the current tenant-bound original fingerprint unchanged; source changes conflict.",
      -            "pattern": "^[a-f0-9]{64}$",
      -            "type": "string"
      -          },
      -          "id": {
      -            "description": "Exact original open task ID returned by get_sales_pipeline with legacyTasks=open.",
      -            "maxLength": 200,
      -            "minLength": 1,
      -            "type": "string"
      -          }
      -        },
      -        "required": [
      -          "id",
      -          "fingerprint"
      -        ],
      -        "type": "object"
      -      },
      -      "nextAction": {
      -        "description": "The actual next action that explicitly covers this old task; never infer it from the task ID or timestamp.",
      -        "maxLength": 240,
      -        "minLength": 1,
      -        "type": "string"
      -      },
      -      "reason": {
      -        "description": "User-supplied reason why the original task is covered by this next action.",
      -        "maxLength": 240,
      -        "minLength": 1,
      -        "type": "string"
      -      },
      -      "requestKey": {
      -        "format": "uuid",
      -        "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
      -        "type": "string"
      -      }
      -    },
      -    "required": [
      -      "requestKey",
      -      "expectedPolicyVersion",
      -      "action",
      -      "id",
      -      "expectedRevision",
      -      "legacyTask",
      -      "nextAction",
      -      "dueAt",
      -      "reason",
      -      "confirmedCovered"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "action": {
      -        "const": "complete_next_action",
      -        "type": "string"
      -      },
      -      "event": {
      -        "description": "Optional exact currently declared event. Omit to retain the phase and clear the completed next action; this never sends or closes a customer order.",
      -        "maxLength": 80,
      -        "minLength": 1,
      -        "type": "string"
      -      },
      -      "expectedPolicyVersion": {
      -        "exclusiveMinimum": 0,
      -        "maximum": 9007199254740991,
      -        "type": "integer"
      -      },
      -      "expectedRevision": {
      -        "exclusiveMinimum": 0,
      -        "maximum": 9007199254740991,
      -        "type": "integer"
      -      },
      -      "id": {
      -        "pattern": "^[a-zA-Z0-9_-]{1,100}$",
      -        "type": "string"
      -      },
      -      "recordedMinutes": {
      -        "anyOf": [
      -          {
      -            "maximum": 10080,
      -            "minimum": 0,
      -            "type": "integer"
      -          },
      -          {
      -            "type": "null"
      -          }
      -        ],
      -        "default": null,
      -        "description": "Only minutes explicitly reported by the user; null when unknown. Never infer from timestamps or treat this as payroll cost or verified human work."
      -      },
      -      "requestKey": {
      -        "format": "uuid",
      -        "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
      -        "type": "string"
      -      },
      -      "resultRef": {
      -        "description": "The result or reference explicitly reported by the user. This is an internal report, not verified contact, delivery or payment evidence.",
      -        "maxLength": 240,
      -        "minLength": 1,
      -        "type": "string"
      -      }
      -    },
      -    "required": [
      -      "requestKey",
      -      "expectedPolicyVersion",
      -      "action",
      -      "id",
      -      "expectedRevision",
      -      "resultRef"
      -    ],
      -    "type": "object"
      -  }
      -]New value: +[
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "action": {
      +        "const": "enroll",
      +        "type": "string"
      +      },
      +      "contactId": {
      +        "pattern": "^[a-zA-Z0-9_-]{1,100}$",
      +        "type": "string"
      +      },
      +      "dueAt": {
      +        "anyOf": [
      +          {
      +            "format": "date-time",
      +            "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
      +            "type": "string"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ]
      +      },
      +      "expectedPolicyVersion": {
      +        "exclusiveMinimum": 0,
      +        "maximum": 9007199254740991,
      +        "type": "integer"
      +      },
      +      "expectedRevision": {
      +        "const": 0,
      +        "type": "number"
      +      },
      +      "nextAction": {
      +        "anyOf": [
      +          {
      +            "maxLength": 240,
      +            "minLength": 1,
      +            "type": "string"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ]
      +      },
      +      "pipelineKey": {
      +        "maxLength": 80,
      +        "minLength": 1,
      +        "type": "string"
      +      },
      +      "requestKey": {
      +        "format": "uuid",
      +        "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "requestKey",
      +      "expectedPolicyVersion",
      +      "action",
      +      "contactId",
      +      "pipelineKey",
      +      "expectedRevision",
      +      "nextAction",
      +      "dueAt"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "action": {
      +        "const": "advance",
      +        "type": "string"
      +      },
      +      "event": {
      +        "maxLength": 80,
      +        "minLength": 1,
      +        "type": "string"
      +      },
      +      "expectedPolicyVersion": {
      +        "exclusiveMinimum": 0,
      +        "maximum": 9007199254740991,
      +        "type": "integer"
      +      },
      +      "expectedRevision": {
      +        "exclusiveMinimum": 0,
      +        "maximum": 9007199254740991,
      +        "type": "integer"
      +      },
      +      "id": {
      +        "pattern": "^[a-zA-Z0-9_-]{1,100}$",
      +        "type": "string"
      +      },
      +      "requestKey": {
      +        "format": "uuid",
      +        "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "requestKey",
      +      "expectedPolicyVersion",
      +      "action",
      +      "id",
      +      "expectedRevision",
      +      "event"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "action": {
      +        "const": "next_action",
      +        "type": "string"
      +      },
      +      "dueAt": {
      +        "anyOf": [
      +          {
      +            "format": "date-time",
      +            "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
      +            "type": "string"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ]
      +      },
      +      "expectedPolicyVersion": {
      +        "exclusiveMinimum": 0,
      +        "maximum": 9007199254740991,
      +        "type": "integer"
      +      },
      +      "expectedRevision": {
      +        "exclusiveMinimum": 0,
      +        "maximum": 9007199254740991,
      +        "type": "integer"
      +      },
      +      "id": {
      +        "pattern": "^[a-zA-Z0-9_-]{1,100}$",
      +        "type": "string"
      +      },
      +      "nextAction": {
      +        "anyOf": [
      +          {
      +            "maxLength": 240,
      +            "minLength": 1,
      +            "type": "string"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ]
      +      },
      +      "requestKey": {
      +        "format": "uuid",
      +        "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "requestKey",
      +      "expectedPolicyVersion",
      +      "action",
      +      "id",
      +      "expectedRevision",
      +      "nextAction",
      +      "dueAt"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "action": {
      +        "const": "resolve_legacy_task",
      +        "type": "string"
      +      },
      +      "confirmedCovered": {
      +        "const": true,
      +        "description": "Only true after the user explicitly confirms the original task is covered; no automatic migration, work report or external effect.",
      +        "type": "boolean"
      +      },
      +      "dueAt": {
      +        "anyOf": [
      +          {
      +            "format": "date-time",
      +            "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
      +            "type": "string"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ]
      +      },
      +      "expectedPolicyVersion": {
      +        "exclusiveMinimum": 0,
      +        "maximum": 9007199254740991,
      +        "type": "integer"
      +      },
      +      "expectedRevision": {
      +        "exclusiveMinimum": 0,
      +        "maximum": 9007199254740991,
      +        "type": "integer"
      +      },
      +      "id": {
      +        "pattern": "^[a-zA-Z0-9_-]{1,100}$",
      +        "type": "string"
      +      },
      +      "legacyTask": {
      +        "additionalProperties": false,
      +        "properties": {
      +          "fingerprint": {
      +            "description": "Copy the current tenant-bound original fingerprint unchanged; source changes conflict.",
      +            "pattern": "^[a-f0-9]{64}$",
      +            "type": "string"
      +          },
      +          "id": {
      +            "description": "Exact original open task ID returned by get_sales_pipeline with legacyTasks=open.",
      +            "maxLength": 200,
      +            "minLength": 1,
      +            "type": "string"
      +          }
      +        },
      +        "required": [
      +          "id",
      +          "fingerprint"
      +        ],
      +        "type": "object"
      +      },
      +      "nextAction": {
      +        "description": "The actual next action that explicitly covers this old task; never infer it from the task ID or timestamp.",
      +        "maxLength": 240,
      +        "minLength": 1,
      +        "type": "string"
      +      },
      +      "reason": {
      +        "description": "User-supplied reason why the original task is covered by this next action.",
      +        "maxLength": 240,
      +        "minLength": 1,
      +        "type": "string"
      +      },
      +      "requestKey": {
      +        "format": "uuid",
      +        "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "requestKey",
      +      "expectedPolicyVersion",
      +      "action",
      +      "id",
      +      "expectedRevision",
      +      "legacyTask",
      +      "nextAction",
      +      "dueAt",
      +      "reason",
      +      "confirmedCovered"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "action": {
      +        "const": "complete_next_action",
      +        "type": "string"
      +      },
      +      "communicationSource": {
      +        "additionalProperties": false,
      +        "description": "Optional explicitly selected reference from get_sales_pipeline(communicationSources=true). New imports require current communications:read; this never sends or proves a business outcome.",
      +        "properties": {
      +          "fingerprint": {
      +            "pattern": "^[a-f0-9]{64}$",
      +            "type": "string"
      +          },
      +          "id": {
      +            "maxLength": 200,
      +            "minLength": 1,
      +            "type": "string"
      +          }
      +        },
      +        "required": [
      +          "id",
      +          "fingerprint"
      +        ],
      +        "type": "object"
      +      },
      +      "event": {
      +        "description": "Optional exact currently declared event. Omit to retain the phase and clear the completed next action; this never sends or closes a customer order.",
      +        "maxLength": 80,
      +        "minLength": 1,
      +        "type": "string"
      +      },
      +      "expectedPolicyVersion": {
      +        "exclusiveMinimum": 0,
      +        "maximum": 9007199254740991,
      +        "type": "integer"
      +      },
      +      "expectedRevision": {
      +        "exclusiveMinimum": 0,
      +        "maximum": 9007199254740991,
      +        "type": "integer"
      +      },
      +      "id": {
      +        "pattern": "^[a-zA-Z0-9_-]{1,100}$",
      +        "type": "string"
      +      },
      +      "recordedMinutes": {
      +        "anyOf": [
      +          {
      +            "maximum": 10080,
      +            "minimum": 0,
      +            "type": "integer"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ],
      +        "default": null,
      +        "description": "Only minutes explicitly reported by the user; null when unknown. Never infer from timestamps or treat this as payroll cost or verified human work."
      +      },
      +      "requestKey": {
      +        "format": "uuid",
      +        "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
      +        "type": "string"
      +      },
      +      "resultRef": {
      +        "description": "The result or reference explicitly reported by the user. This is an internal report, not verified contact, delivery or payment evidence.",
      +        "maxLength": 240,
      +        "minLength": 1,
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "requestKey",
      +      "expectedPolicyVersion",
      +      "action",
      +      "id",
      +      "expectedRevision",
      +      "resultRef"
      +    ],
      +    "type": "object"
      +  }
      +]
  2. First observed

TDQS

A4/5.0
Behavior5/5

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

Beyond the annotations (readOnly=false, idempotent=true), it discloses that completion clears the current action, that only an explicitly selected declared event advances the phase, that conflicts arise on stale state/changed policy/duplicate enrollment/revoked authority, and that the receipt is atomic and freezes channel, timestamp and proof level. It also bounds what results and minutes actually prove, and states permissions (crm:read/write) and the absence of a tenant selector. This is unusually rich behavioral context that the annotations alone would not convey.

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

Conciseness2/5

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

The content is valuable but the prose is dense and repetitive: 'never sends / does not prove a business outcome' and 'reported work/minutes are not verified' recur in several sentences, and the legacy-task procedure is interleaved with core guidance rather than separated. For a one-parameter tool the block is long and would benefit from branch-structured bullets.

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 five-branch mutation tool with no output schema, it covers prerequisites, conflict resolution, idempotent retry, permission requirements and safety limits thoroughly. The main gap is return-shape information — it mentions an 'atomic receipt' and journal evidence but does not describe what the caller receives (receipt fields, resulting revision), which matters given there is no output schema.

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 reported as 0% at the top level, so the description must carry meaning — and it largely does: it explains expectedPolicyVersion/expectedRevision sourcing, requestKey retry semantics, recordedMinutes as 'unknown if omitted', and that legacyTask/communicationSource must be copied from get_sales_pipeline with the corresponding flags. It under-explains the `command` discriminator itself and leaves some branch fields (e.g. pipelineKey, event validity) to the schema, so it is strong but not complete.

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 names the concrete operations (enroll a contact, advance via a declared event, set/reset next action, complete_next_action, resolve_legacy_task) and scopes them as an 'explicitly requested internal update' to an existing pipeline. It is clear this tool mutates sales-pipeline state and does not create customers, send messages, or record payment. The only wrinkle is the phrasing 'supply command', which is vaguer than the command union it is describing.

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 real preconditions: read get_sales_pipeline first, copy expectedPolicyVersion/expectedRevision (0 for enroll only), retry with the same requestKey, and use resolve_legacy_task only after explicit human confirmation with confirmedCovered=true. It also lists hard exclusions (never creates customers, issues terms, sends, closes customer orders, records payment). It stops short of a full routing statement for the non-obvious branches (e.g. when to prefer advance over next_action), so a 4 rather than 5.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources