{
  "package": {
    "name": "@teamgrid/mcp-server",
    "sourceCommit": "b0e4b3dfa4afd74822a73b8b5e8b647236f273ce",
    "sourceRepository": "TeamGrid/developer-platform",
    "version": "1.2.2"
  },
  "annotations": {
    "readOnlyHint": false,
    "destructiveHint": false,
    "idempotentHint": true,
    "openWorldHint": false
  },
  "contract": {
    "domain": "catalog-write",
    "concurrency": "unconditional",
    "idempotency": true,
    "coreCas": false
  },
  "outputSchema": {
    "type": "object",
    "anyOf": [
      {
        "additionalProperties": false,
        "properties": {
          "data": {
            "$ref": "#/$defs/List"
          },
          "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"
        ],
        "type": "object"
      },
      {
        "additionalProperties": false,
        "properties": {
          "data": {
            "$ref": "#/$defs/List"
          },
          "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"
        ],
        "type": "object"
      }
    ],
    "$defs": {
      "List": {
        "additionalProperties": false,
        "properties": {
          "attributes": {
            "additionalProperties": false,
            "properties": {
              "archived": {
                "type": "boolean",
                "description": "Whether this resource is archived."
              },
              "createdAt": {
                "format": "date-time",
                "type": [
                  "string",
                  "null"
                ],
                "description": "Timestamp at which the resource was created."
              },
              "name": {
                "type": "string",
                "description": "Human-readable name of the resource."
              },
              "order": {
                "type": [
                  "number",
                  "null"
                ],
                "description": "The order associated with this list attributes."
              },
              "parentId": {
                "type": [
                  "string",
                  "null"
                ],
                "description": "Identifier of the parent resource, or null for a root resource."
              },
              "type": {
                "enum": [
                  "tasks",
                  "projects",
                  "personal"
                ],
                "type": "string",
                "description": "Canonical type discriminator for this resource."
              },
              "updatedAt": {
                "format": "date-time",
                "type": [
                  "string",
                  "null"
                ],
                "description": "Timestamp of the most recent successful update."
              }
            },
            "required": [
              "archived",
              "createdAt",
              "name",
              "order",
              "parentId",
              "type",
              "updatedAt"
            ],
            "type": "object",
            "description": "The attributes associated with this list."
          },
          "id": {
            "type": "string",
            "description": "Stable TeamGrid identifier for this resource."
          },
          "type": {
            "const": "list",
            "description": "Canonical type discriminator for this resource."
          }
        },
        "required": [
          "type",
          "id",
          "attributes"
        ],
        "type": "object",
        "description": "Public API representation of list."
      }
    }
  },
  "profileOutputSchemas": {},
  "exposure": "gated-write",
  "apiOperations": [
    {
      "href": "/api/v1/reference/operations/createlist/",
      "method": "POST",
      "operationId": "createList",
      "path": "/lists"
    }
  ],
  "availableIn": [
    "full",
    "catalog-write"
  ],
  "baseProfile": "full",
  "description": "Create a list. Changes the selected workspace under current API permissions. Reuse the same idempotencyKey and payload for the same intent.",
  "inputSchema": {
    "type": "object",
    "properties": {
      "workspaceId": {
        "type": "string",
        "minLength": 1,
        "maxLength": 128,
        "description": "Workspace returned by teamgrid_workspace_get and selected for this exact action."
      },
      "idempotencyKey": {
        "type": "string",
        "minLength": 1,
        "maxLength": 128,
        "pattern": "^[\\x21-\\x7e]+$",
        "description": "Stable key for this exact intent. Retain and reuse the same key and payload after a timeout; a timeout does not prove failure."
      },
      "data": {
        "additionalProperties": false,
        "properties": {
          "name": {
            "maxLength": 500,
            "minLength": 1,
            "type": "string",
            "description": "Human-readable name of the resource."
          },
          "parentId": {
            "maxLength": 128,
            "type": [
              "string",
              "null"
            ],
            "description": "Identifier of the parent resource, or null for a root resource."
          },
          "type": {
            "enum": [
              "tasks",
              "projects"
            ],
            "type": "string",
            "description": "Canonical type discriminator for this resource."
          }
        },
        "required": [
          "name",
          "type"
        ],
        "type": "object",
        "description": "Public API representation of list."
      }
    },
    "required": [
      "workspaceId",
      "idempotencyKey",
      "data"
    ],
    "additionalProperties": false
  },
  "profileInputSchemas": {},
  "name": "teamgrid_list_create",
  "scopes": {
    "optional": [],
    "conditional": [],
    "required": [
      "lists: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_list_create 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_list_create`.",
      "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 `lists: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."
    }
  ]
}
