{
  "package": {
    "name": "@teamgrid/mcp-server",
    "sourceCommit": "b0e4b3dfa4afd74822a73b8b5e8b647236f273ce",
    "sourceRepository": "TeamGrid/developer-platform",
    "version": "1.2.2"
  },
  "annotations": {
    "readOnlyHint": false,
    "destructiveHint": true,
    "idempotentHint": true,
    "openWorldHint": false
  },
  "contract": {
    "domain": "tasks-write",
    "concurrency": "conditional",
    "idempotency": false,
    "coreCas": false
  },
  "outputSchema": {
    "type": "object",
    "properties": {
      "data": {
        "$ref": "#/$defs/TaskRecurrenceOccurrence"
      },
      "meta": {
        "additionalProperties": false,
        "properties": {
          "requestId": {
            "type": "string",
            "description": "Unique identifier assigned to the API request for tracing and support."
          },
          "privateResource": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "uri",
              "maxBytes",
              "readMethod"
            ],
            "properties": {
              "uri": {
                "type": "string",
                "pattern": "^teamgrid://(?:files|exports)/[A-Za-z0-9_.:%-]+$"
              },
              "maxBytes": {
                "const": 1048576
              },
              "readMethod": {
                "const": "resources/read"
              }
            }
          },
          "etag": {
            "type": "string",
            "pattern": "^\"[\\x21\\x23-\\x7e]{1,256}\"$"
          },
          "resume": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "tool",
              "arguments"
            ],
            "properties": {
              "tool": {
                "enum": [
                  "teamgrid_project_lifecycle_operation_get",
                  "teamgrid_planned_work_operation_get",
                  "teamgrid_task_recurrence_operation_get",
                  "teamgrid_export_get"
                ]
              },
              "arguments": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "id"
                ],
                "properties": {
                  "id": {
                    "type": "string",
                    "minLength": 1,
                    "maxLength": 128
                  }
                }
              }
            }
          },
          "outcome": {
            "enum": [
              "completed",
              "accepted",
              "partial",
              "unknown",
              "failed"
            ]
          },
          "omittedFields": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "contentReadTool": {
            "const": "teamgrid_document_get"
          },
          "contentPage": {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "unit": {
                "const": "utf16"
              },
              "offset": {
                "type": "integer",
                "minimum": 0
              },
              "nextOffset": {
                "type": [
                  "integer",
                  "null"
                ],
                "minimum": 0
              },
              "totalLength": {
                "type": "integer",
                "minimum": 0
              },
              "complete": {
                "type": "boolean"
              },
              "revision": {
                "type": [
                  "string",
                  "null"
                ]
              }
            },
            "required": [
              "unit",
              "offset",
              "nextOffset",
              "totalLength",
              "complete",
              "revision"
            ]
          },
          "search": {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "complete": {
                "const": false
              },
              "indexed": {
                "const": true
              },
              "returned": {
                "type": "integer",
                "minimum": 0
              },
              "limit": {
                "type": "integer",
                "minimum": 1,
                "maximum": 50
              },
              "continuation": {
                "const": "narrow-query-or-list"
              },
              "verification": {
                "const": "read-by-id"
              }
            },
            "required": [
              "complete",
              "indexed",
              "returned",
              "limit",
              "continuation",
              "verification"
            ]
          }
        },
        "required": [
          "requestId"
        ],
        "type": "object",
        "description": "Public API representation of meta."
      }
    },
    "required": [
      "data",
      "meta"
    ],
    "additionalProperties": false,
    "$defs": {
      "TaskRecurrenceOccurrence": {
        "additionalProperties": false,
        "properties": {
          "attributes": {
            "additionalProperties": false,
            "properties": {
              "attempts": {
                "minimum": 0,
                "type": "integer",
                "description": "The attempts associated with this task recurrence occurrence attributes."
              },
              "cardId": {
                "maxLength": 128,
                "type": [
                  "string",
                  "null"
                ],
                "description": "The card id associated with this task recurrence occurrence attributes."
              },
              "decision": {
                "anyOf": [
                  {
                    "additionalProperties": true,
                    "maxProperties": 256,
                    "type": "object"
                  },
                  {
                    "type": "null"
                  }
                ],
                "description": "The decision associated with this task recurrence occurrence attributes."
              },
              "definitionVersionId": {
                "maxLength": 128,
                "minLength": 1,
                "type": "string",
                "description": "The definition version id associated with this task recurrence occurrence attributes."
              },
              "detachedAt": {
                "format": "date-time",
                "type": [
                  "string",
                  "null"
                ],
                "description": "ISO 8601 timestamp for detached at."
              },
              "detachedBy": {
                "maxLength": 128,
                "type": [
                  "string",
                  "null"
                ],
                "description": "The detached by associated with this task recurrence occurrence attributes."
              },
              "detachedCardId": {
                "maxLength": 128,
                "type": [
                  "string",
                  "null"
                ],
                "description": "The detached card id associated with this task recurrence occurrence attributes."
              },
              "lastErrorCode": {
                "type": [
                  "string",
                  "null"
                ],
                "description": "The last error code associated with this task recurrence occurrence attributes."
              },
              "materializeAt": {
                "format": "date-time",
                "type": "string",
                "description": "ISO 8601 timestamp for materialize at."
              },
              "materializedAt": {
                "format": "date-time",
                "type": [
                  "string",
                  "null"
                ],
                "description": "ISO 8601 timestamp for materialized at."
              },
              "occurrenceKey": {
                "maxLength": 256,
                "minLength": 1,
                "type": "string",
                "description": "The occurrence key associated with this task recurrence occurrence attributes."
              },
              "override": {
                "anyOf": [
                  {
                    "$ref": "#/$defs/TaskRecurrenceOccurrenceOverride"
                  },
                  {
                    "type": "null"
                  }
                ],
                "description": "The override associated with this task recurrence occurrence attributes."
              },
              "revision": {
                "pattern": "^[a-f0-9]{64}$",
                "type": "string",
                "description": "Strong resource revision used for optimistic concurrency control."
              },
              "scheduledFor": {
                "format": "date-time",
                "type": "string",
                "description": "ISO 8601 timestamp for scheduled for."
              },
              "scheduledForLocal": {
                "maxLength": 32,
                "minLength": 16,
                "type": "string",
                "description": "The scheduled for local associated with this task recurrence occurrence attributes."
              },
              "seriesId": {
                "maxLength": 128,
                "minLength": 1,
                "type": "string",
                "description": "The series id associated with this task recurrence occurrence attributes."
              },
              "state": {
                "enum": [
                  "planned",
                  "claimed",
                  "materialized",
                  "skipped",
                  "blocked",
                  "failed"
                ],
                "type": "string",
                "description": "Canonical lifecycle state of the resource or operation."
              },
              "timeZone": {
                "maxLength": 128,
                "minLength": 1,
                "type": "string",
                "description": "The time zone associated with this task recurrence occurrence attributes."
              },
              "updatedAt": {
                "format": "date-time",
                "type": "string",
                "description": "Timestamp of the most recent successful update."
              }
            },
            "required": [
              "attempts",
              "cardId",
              "decision",
              "definitionVersionId",
              "detachedAt",
              "detachedBy",
              "detachedCardId",
              "lastErrorCode",
              "materializeAt",
              "materializedAt",
              "occurrenceKey",
              "override",
              "revision",
              "scheduledFor",
              "scheduledForLocal",
              "seriesId",
              "state",
              "timeZone",
              "updatedAt"
            ],
            "type": "object",
            "description": "The attributes associated with this task recurrence occurrence."
          },
          "id": {
            "type": "string",
            "description": "Stable TeamGrid identifier for this resource."
          },
          "type": {
            "const": "taskRecurrenceOccurrence",
            "description": "Canonical type discriminator for this resource."
          }
        },
        "required": [
          "type",
          "id",
          "attributes"
        ],
        "type": "object",
        "description": "Public API representation of task recurrence occurrence."
      },
      "TaskRecurrenceOccurrenceOverride": {
        "additionalProperties": false,
        "properties": {
          "action": {
            "enum": [
              "materialize",
              "skip"
            ],
            "type": "string",
            "description": "Canonical action represented by this record."
          },
          "placeholderToken": {
            "maxLength": 32768,
            "pattern": "^trp1\\.[A-Za-z0-9_-]+$",
            "type": "string",
            "description": "The placeholder token associated with this task recurrence occurrence override."
          },
          "scheduledForLocal": {
            "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}(?::\\d{2})?$",
            "type": "string",
            "description": "The scheduled for local associated with this task recurrence occurrence override."
          },
          "templatePatch": {
            "description": "The template patch associated with this task recurrence occurrence override.",
            "$ref": "#/$defs/TaskRecurrenceTemplatePatch"
          }
        },
        "required": [
          "action"
        ],
        "type": "object",
        "description": "Public API representation of task recurrence occurrence override."
      },
      "TaskRecurrenceTemplatePatch": {
        "additionalProperties": false,
        "properties": {
          "billable": {
            "type": "boolean",
            "description": "Whether this time or service can be billed."
          },
          "contactId": {
            "maxLength": 256,
            "minLength": 1,
            "pattern": "^[A-Za-z0-9_.:-]+$",
            "type": "string",
            "description": "Identifier of the related contact."
          },
          "customFieldValues": {
            "additionalProperties": {
              "oneOf": [
                {
                  "type": [
                    "boolean",
                    "number",
                    "string",
                    "null"
                  ]
                },
                {
                  "items": {
                    "type": [
                      "boolean",
                      "number",
                      "string",
                      "null"
                    ]
                  },
                  "maxItems": 250,
                  "type": "array"
                }
              ]
            },
            "maxProperties": 256,
            "type": "object",
            "description": "The custom field values associated with this task recurrence template patch."
          },
          "description": {
            "maxLength": 200000,
            "type": "string",
            "description": "Human-readable description of the resource."
          },
          "descriptionFormat": {
            "enum": [
              "markdown-v1",
              "plain-text"
            ],
            "type": "string",
            "description": "How to interpret the task description. Legacy and unmarked descriptions are plain-text; markdown-v1 enables TeamGrid Markdown."
          },
          "groupId": {
            "maxLength": 256,
            "minLength": 1,
            "pattern": "^[A-Za-z0-9_.:-]+$",
            "type": "string",
            "description": "Identifier of the related workspace group."
          },
          "listId": {
            "maxLength": 256,
            "minLength": 1,
            "pattern": "^[A-Za-z0-9_.:-]+$",
            "type": "string",
            "description": "Identifier of the related task list."
          },
          "name": {
            "maxLength": 1000,
            "minLength": 1,
            "type": "string",
            "description": "Human-readable name of the resource."
          },
          "personalListId": {
            "maxLength": 256,
            "minLength": 1,
            "pattern": "^[A-Za-z0-9_.:-]+$",
            "type": "string",
            "description": "The personal list id associated with this task recurrence template patch."
          },
          "plannedTime": {
            "maximum": 100000000,
            "minimum": 0,
            "type": "number",
            "description": "Planned effort in minutes."
          },
          "projectId": {
            "maxLength": 256,
            "minLength": 1,
            "pattern": "^[A-Za-z0-9_.:-]+$",
            "type": "string",
            "description": "Identifier of the related project."
          },
          "serviceId": {
            "maxLength": 256,
            "minLength": 1,
            "pattern": "^[A-Za-z0-9_.:-]+$",
            "type": "string",
            "description": "Identifier of the related service."
          },
          "subscriberIds": {
            "items": {
              "maxLength": 256,
              "minLength": 1,
              "pattern": "^[A-Za-z0-9_.:-]+$",
              "type": "string"
            },
            "maxItems": 250,
            "type": "array",
            "description": "Ordered set of subscriber identifiers associated with this task recurrence template patch."
          },
          "subTasks": {
            "items": {
              "additionalProperties": false,
              "properties": {
                "order": {
                  "maximum": 100000000,
                  "minimum": -100000000,
                  "type": "number",
                  "description": "The order associated with this task recurrence template patch sub tasks."
                },
                "title": {
                  "maxLength": 5000,
                  "minLength": 1,
                  "type": "string",
                  "description": "Human-readable title of the resource."
                }
              },
              "required": [
                "title"
              ],
              "type": "object"
            },
            "maxItems": 500,
            "type": "array",
            "description": "The sub tasks associated with this task recurrence template patch."
          },
          "tagIds": {
            "items": {
              "maxLength": 256,
              "minLength": 1,
              "pattern": "^[A-Za-z0-9_.:-]+$",
              "type": "string"
            },
            "maxItems": 250,
            "type": "array",
            "description": "Ordered set of tag identifiers associated with this task recurrence template patch."
          },
          "userId": {
            "maxLength": 256,
            "minLength": 1,
            "pattern": "^[A-Za-z0-9_.:-]+$",
            "type": "string",
            "description": "Identifier of the related workspace user."
          }
        },
        "type": "object",
        "description": "Public API representation of task recurrence template patch."
      }
    }
  },
  "profileOutputSchemas": {},
  "exposure": "gated-write",
  "apiOperations": [
    {
      "href": "/api/v1/reference/operations/cleartaskrecurrenceoccurrenceoverride/",
      "method": "DELETE",
      "operationId": "clearTaskRecurrenceOccurrenceOverride",
      "path": "/task-recurrences/{id}/occurrences/{occurrenceKey}/override"
    }
  ],
  "availableIn": [
    "full",
    "tasks-write"
  ],
  "baseProfile": "full",
  "description": "Clear a task recurrence occurrence override. Changes the selected workspace under current API permissions. Read the target first; submit its exact ETag. On conflict, review the current state before making a new decision. Changes can affect future automated actions; inspect the definition and schedule first.",
  "inputSchema": {
    "type": "object",
    "properties": {
      "workspaceId": {
        "type": "string",
        "minLength": 1,
        "maxLength": 128,
        "description": "Workspace returned by teamgrid_workspace_get and selected for this exact action."
      },
      "seriesId": {
        "maxLength": 128,
        "minLength": 1,
        "type": "string"
      },
      "occurrenceKey": {
        "maxLength": 256,
        "minLength": 1,
        "pattern": "^(occ1-[a-f0-9]{64}|seed:[A-Za-z0-9_-]{1,128})$",
        "type": "string"
      },
      "expectedRevision": {
        "pattern": "^\"tro1-[a-f0-9]{64}\"$",
        "type": "string",
        "description": "Exact strong ETag (including quotes) from the read reviewed for this action. Never replace it automatically after a conflict."
      }
    },
    "required": [
      "workspaceId",
      "seriesId",
      "occurrenceKey",
      "expectedRevision"
    ],
    "additionalProperties": false
  },
  "profileInputSchemas": {},
  "name": "teamgrid_task_recurrence_occurrence_override_clear",
  "scopes": {
    "optional": [],
    "conditional": [],
    "required": [
      "task-recurrences:write",
      "tasks:read",
      "tasks:write",
      "workspace:read"
    ]
  },
  "security": {
    "classification": "workspace-mutation",
    "summary": "This changes workspace state and may trigger business or external effects. Use its exact scope, revision and idempotency contract; profile selection grants no authority."
  },
  "output": {
    "format": "A compact mutation receipt includes target and revision when available; outcome metadata distinguishes accepted, complete, partial and uncertain results.",
    "kind": "mutation-receipt",
    "maxSerializedBytes": 262144,
    "pagination": null,
    "redactions": [],
    "searchLimit": null
  },
  "examplePrompt": "Prepare a teamgrid_task_recurrence_occurrence_override_clear operation for my chosen target. Resolve IDs, read current state and revisions, show the intended change, then report its confirmed or uncertain outcome without automatic retries.",
  "typicalErrors": [
    {
      "condition": "The selected tool profile or allow/deny filter excludes `teamgrid_task_recurrence_occurrence_override_clear`.",
      "result": "The tool is not advertised to the host. Select the narrowest profile that contains it and restart the host."
    },
    {
      "condition": "An argument violates this tool’s input schema: required field, type, enum, pattern, length, or range.",
      "result": "MCP input validation rejects the call before an API request is made."
    },
    {
      "condition": "The credential lacks `task-recurrences:write` and `tasks:read` and `tasks:write` and `workspace:read` or cannot access the requested resource.",
      "result": "The tool preserves a safe API error code such as `insufficient_scope`, with redacted detail and available status/request metadata."
    },
    {
      "condition": "The connection ends while awaiting the write result.",
      "result": "Inspect the outcome and status/resume information. An interrupted wait does not prove rollback; never blindly repeat the write."
    },
    {
      "condition": "An unknown input property is supplied.",
      "result": "The strict input schema rejects the call before an API request is made."
    }
  ]
}
