Skip to main content
Glama

Add correction

correction_add

Record a correction on a task definition (definition: its id, or its type with workspaceId): one point a person stated about how that kind of work is done, which every later pickup of a task of the type carries after the instructions, whichever agent does it. Use it when the account's operator corrects how a type of work is done, beyond the piece in hand; a correction about this piece alone belongs in the work. It is in force at once, recorded as theirs with your why; they are told by email, as their corrections notice setting says (on by default), and can retire it on the definition's page. task (optional): the task it came up on, of the definition's workspace. text is 1 to 500 characters and at most 1500 bytes as sent (a plain character costs 2). The same text already in force (ignoring case) answers with that one, existing true, and records or posts nothing. A definition holds at most 20 in force: another is refused CORRECTIONS_FULL, with details.definition, inForce, limit and page. An archived definition is refused DEFINITION_ARCHIVED (restore it first, or add the correction to a live definition). A type with no definition, or one you cannot read, is UNAVAILABLE with details.reason correction_needs_definition: define the type first, or, for guidance that holds for the whole workspace, put it in the workspace's guide. Only the workspace's owner or a member of the team that owns it records corrections. Where you are a guest (any role), nothing is recorded and neither the definition's limit, its archive nor a type with no definition (named by its type with workspaceId) refuses it: the text is posted as your comment, on the named task's thread or, with no task, in the workspace's chat naming the type, with the hint correction-posted-as-comment. Returns the correction (its id, text, who, why, source) or null, existing, how many are in force of how many, personTold, the page where it is retired, and correctionPosted when it was posted.

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": {
      "definition": "<definition>",
      "text": "<text>"
    },
    "name": "correction_add"
  }
}

Input Schema

NameRequiredDescriptionDefault
whyNoRequired for workspace items: one sentence on the goal this change serves, not a description of this edit. Every edit to workspace files, rows, folders and settings takes one (task operations need none); sessions and summaries record themselves from it. At most 300 characters.
taskNoThe task the correction came up on, by its id or the first 8 or more characters of it: a task of the definition's workspace. It is recorded as the correction's source with the task's open round, else its latest decided one. Omit when it came up in chat.
textYesThe correction, as a person stated it: one point about how this kind of work is done, kept to what holds for every task of the type. 1 to 500 characters after trimming, and at most 1500 bytes as a pickup sends it (a plain character costs 2). Stored as sent, trimmed; one already in force with the same text (ignoring case) answers with that one and records nothing. From a guest in the workspace it is not recorded: it is posted as their comment (correctionPosted).
definitionYesThe task definition the correction is about: its id (definition_list returns it), or its type when workspaceId is sent. A correction belongs to one definition; one about another kind of work goes on that definition.
workspaceIdNoWith a type as definition: the workspace (its id or its slug).

Output Schema

NameRequiredDescriptionDefault
pageYesThe definition's page in the dashboard with this correction shown, where a person retires it; the definition's page when none was recorded; the workspace's Task definitions page when the type has no definition.
limitYesThe most it holds in force (20).
inForceYesHow many corrections the definition holds in force now.
existingYestrue: one in force already had this text; nothing was recorded.
correctionYesThe correction in force; null when you are a guest in the workspace and its text was posted as your comment instead (correctionPosted).
personToldYestrue: the account's operator is told by email, as their corrections notice setting says (on by default). false when existing, or when the text was posted as a comment: nothing was recorded, so nobody is told.
correctionPostedNoOnly when you are a guest in the workspace: the text was posted as your comment, on the named task's thread or in the workspace's chat, and no correction was recorded.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed16 schema fields changed
    • changedInput schema / properties / task / description
      Previous value: -"The task the correction came up on, by its id: a task of the definition's workspace. It is recorded as the correction's source with the task's open round, else its latest decided one. Omit when it came up in chat."New value: +"The task the correction came up on, by its id or the first 8 or more characters of it: a task of the definition's workspace. It is recorded as the correction's source with the task's open round, else its latest decided one. Omit when it came up in chat."
    • removedInput schema / properties / task / format
      Removed value: -"uuid"
    • addedInput schema / properties / task / maxLength
      Added value: +36
    • addedInput schema / properties / task / minLength
      Added value: +8
    • removedInput schema / properties / task / pattern
      Removed value: -"^([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)$"
    • changedInput schema / properties / text / description
      Previous value: -"The correction, as your person stated it: one point about how this kind of work is done, kept to what holds for every task of the type. 1 to 500 characters after trimming, and at most 1500 bytes as a pickup sends it (a plain character costs 2). Stored as sent, trimmed; one already in force with the same text (ignoring case) answers with that one and records nothing."New value: +"The correction, as a person stated it: one point about how this kind of work is done, kept to what holds for every task of the type. 1 to 500 characters after trimming, and at most 1500 bytes as a pickup sends it (a plain character costs 2). Stored as sent, trimmed; one already in force with the same text (ignoring case) answers with that one and records nothing. From a guest in the workspace it is not recorded: it is posted as their comment (correctionPosted)."
    • changedInput schema / properties / why / description
      Previous value: -"Required for workspace items: one sentence on what the person is trying to accomplish, in their terms, not a description of this edit. Every workspace write takes one; sessions and summaries record themselves from it. At most 300 characters."New value: +"Required for workspace items: one sentence on the goal this change serves, not a description of this edit. Every edit to workspace files, rows, folders and settings takes one (task operations need none); sessions and summaries record themselves from it. At most 300 characters."
    • removedOutput schema / properties / correction / additionalProperties
      Removed value: -false
    • addedOutput schema / properties / correction / anyOf
      Added value: +[
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "by": {
      +        "additionalProperties": false,
      +        "description": "Whose it is: the person, and the agent when an agent's key recorded it.",
      +        "properties": {
      +          "account": {
      +            "additionalProperties": false,
      +            "properties": {
      +              "alias": {
      +                "anyOf": [
      +                  {
      +                    "type": "string"
      +                  },
      +                  {
      +                    "type": "null"
      +                  }
      +                ]
      +              },
      +              "former": {
      +                "const": true,
      +                "type": "boolean"
      +              },
      +              "id": {
      +                "type": "string"
      +              }
      +            },
      +            "required": [
      +              "id",
      +              "alias"
      +            ],
      +            "type": "object"
      +          },
      +          "agent": {
      +            "anyOf": [
      +              {
      +                "additionalProperties": false,
      +                "properties": {
      +                  "harness": {
      +                    "anyOf": [
      +                      {
      +                        "type": "string"
      +                      },
      +                      {
      +                        "type": "null"
      +                      }
      +                    ]
      +                  },
      +                  "id": {
      +                    "anyOf": [
      +                      {
      +                        "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"
      +                      },
      +                      {
      +                        "type": "null"
      +                      }
      +                    ]
      +                  },
      +                  "name": {
      +                    "anyOf": [
      +                      {
      +                        "type": "string"
      +                      },
      +                      {
      +                        "type": "null"
      +                      }
      +                    ]
      +                  }
      +                },
      +                "required": [
      +                  "id",
      +                  "name",
      +                  "harness"
      +                ],
      +                "type": "object"
      +              },
      +              {
      +                "type": "null"
      +              }
      +            ]
      +          },
      +          "isCaller": {
      +            "type": "boolean"
      +          },
      +          "mine": {
      +            "type": "boolean"
      +          },
      +          "tokenrip": {
      +            "const": true,
      +            "description": "Present only when true: this is Tokenrip itself, doing a task definition's routine. It is a member of no workspace and never you.",
      +            "type": "boolean"
      +          }
      +        },
      +        "required": [
      +          "account",
      +          "agent",
      +          "mine",
      +          "isCaller"
      +        ],
      +        "type": "object"
      +      },
      +      "createdAt": {
      +        "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))$",
      +        "type": "string"
      +      },
      +      "id": {
      +        "description": "The correction's id: correction_retire takes it.",
      +        "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"
      +      },
      +      "retired": {
      +        "anyOf": [
      +          {
      +            "additionalProperties": false,
      +            "properties": {
      +              "at": {
      +                "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))$",
      +                "type": "string"
      +              },
      +              "by": {
      +                "additionalProperties": false,
      +                "properties": {
      +                  "account": {
      +                    "additionalProperties": false,
      +                    "properties": {
      +                      "alias": {
      +                        "anyOf": [
      +                          {
      +                            "type": "string"
      +                          },
      +                          {
      +                            "type": "null"
      +                          }
      +                        ]
      +                      },
      +                      "former": {
      +                        "const": true,
      +                        "type": "boolean"
      +                      },
      +                      "id": {
      +                        "type": "string"
      +                      }
      +                    },
      +                    "required": [
      +                      "id",
      +                      "alias"
      +                    ],
      +                    "type": "object"
      +                  },
      +                  "agent": {
      +                    "anyOf": [
      +                      {
      +                        "additionalProperties": false,
      +                        "properties": {
      +                          "harness": {
      +                            "anyOf": [
      +                              {
      +                                "type": "string"
      +                              },
      +                              {
      +                                "type": "null"
      +                              }
      +                            ]
      +                          },
      +                          "id": {
      +                            "anyOf": [
      +                              {
      +                                "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"
      +                              },
      +                              {
      +                                "type": "null"
      +                              }
      +                            ]
      +                          },
      +                          "name": {
      +                            "anyOf": [
      +                              {
      +                                "type": "string"
      +                              },
      +                              {
      +                                "type": "null"
      +                              }
      +                            ]
      +                          }
      +                        },
      +                        "required": [
      +                          "id",
      +                          "name",
      +                          "harness"
      +                        ],
      +                        "type": "object"
      +                      },
      +                      {
      +                        "type": "null"
      +                      }
      +                    ]
      +                  },
      +                  "isCaller": {
      +                    "type": "boolean"
      +                  },
      +                  "mine": {
      +                    "type": "boolean"
      +                  },
      +                  "tokenrip": {
      +                    "const": true,
      +                    "description": "Present only when true: this is Tokenrip itself, doing a task definition's routine. It is a member of no workspace and never you.",
      +                    "type": "boolean"
      +                  }
      +                },
      +                "required": [
      +                  "account",
      +                  "agent",
      +                  "mine",
      +                  "isCaller"
      +                ],
      +                "type": "object"
      +              },
      +              "includedIn": {
      +                "anyOf": [
      +                  {
      +                    "exclusiveMinimum": 0,
      +                    "maximum": 9007199254740991,
      +                    "type": "integer"
      +                  },
      +                  {
      +                    "type": "null"
      +                  }
      +                ],
      +                "description": "The instructions version it was included in; null when it was retired by hand."
      +              }
      +            },
      +            "required": [
      +              "at",
      +              "by",
      +              "includedIn"
      +            ],
      +            "type": "object"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ],
      +        "description": "null: in force, carried by every pickup of the type. Otherwise when it was retired, by whom, and the version that absorbed it."
      +      },
      +      "source": {
      +        "anyOf": [
      +          {
      +            "additionalProperties": false,
      +            "properties": {
      +              "round": {
      +                "anyOf": [
      +                  {
      +                    "exclusiveMinimum": 0,
      +                    "maximum": 9007199254740991,
      +                    "type": "integer"
      +                  },
      +                  {
      +                    "type": "null"
      +                  }
      +                ],
      +                "description": "The review round of that task it came from; null when none, or once gone."
      +              },
      +              "task": {
      +                "anyOf": [
      +                  {
      +                    "additionalProperties": false,
      +                    "properties": {
      +                      "id": {
      +                        "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"
      +                      },
      +                      "title": {
      +                        "type": "string"
      +                      }
      +                    },
      +                    "required": [
      +                      "id",
      +                      "title"
      +                    ],
      +                    "type": "object"
      +                  },
      +                  {
      +                    "type": "null"
      +                  }
      +                ],
      +                "description": "The task it came up on; null once that task is gone."
      +              }
      +            },
      +            "required": [
      +              "task",
      +              "round"
      +            ],
      +            "type": "object"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ],
      +        "description": "Where it came from; null when it came from no task (said in chat)."
      +      },
      +      "text": {
      +        "description": "The correction, in the words it was recorded with.",
      +        "type": "string"
      +      },
      +      "why": {
      +        "anyOf": [
      +          {
      +            "type": "string"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ],
      +        "description": "The why the agent that recorded it stated; null for a person's own."
      +      }
      +    },
      +    "required": [
      +      "id",
      +      "text",
      +      "by",
      +      "why",
      +      "source",
      +      "createdAt",
      +      "retired"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • addedOutput schema / properties / correction / description
      Added value: +"The correction in force; null when you are a guest in the workspace and its text was posted as your comment instead (correctionPosted)."
    • removedOutput schema / properties / correction / properties
      Removed value: -{
      -  "by": {
      -    "additionalProperties": false,
      -    "description": "Whose it is: the person, and the agent when an agent's key recorded it.",
      -    "properties": {
      -      "account": {
      -        "additionalProperties": false,
      -        "properties": {
      -          "alias": {
      -            "anyOf": [
      -              {
      -                "type": "string"
      -              },
      -              {
      -                "type": "null"
      -              }
      -            ]
      -          },
      -          "former": {
      -            "const": true,
      -            "type": "boolean"
      -          },
      -          "id": {
      -            "type": "string"
      -          }
      -        },
      -        "required": [
      -          "id",
      -          "alias"
      -        ],
      -        "type": "object"
      -      },
      -      "agent": {
      -        "anyOf": [
      -          {
      -            "additionalProperties": false,
      -            "properties": {
      -              "harness": {
      -                "anyOf": [
      -                  {
      -                    "type": "string"
      -                  },
      -                  {
      -                    "type": "null"
      -                  }
      -                ]
      -              },
      -              "id": {
      -                "anyOf": [
      -                  {
      -                    "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"
      -                  },
      -                  {
      -                    "type": "null"
      -                  }
      -                ]
      -              },
      -              "name": {
      -                "anyOf": [
      -                  {
      -                    "type": "string"
      -                  },
      -                  {
      -                    "type": "null"
      -                  }
      -                ]
      -              }
      -            },
      -            "required": [
      -              "id",
      -              "name",
      -              "harness"
      -            ],
      -            "type": "object"
      -          },
      -          {
      -            "type": "null"
      -          }
      -        ]
      -      },
      -      "isCaller": {
      -        "type": "boolean"
      -      },
      -      "mine": {
      -        "type": "boolean"
      -      },
      -      "tokenrip": {
      -        "const": true,
      -        "description": "Present only when true: this is Tokenrip itself, doing a task definition's routine. It is a member of no workspace and never you.",
      -        "type": "boolean"
      -      }
      -    },
      -    "required": [
      -      "account",
      -      "agent",
      -      "mine",
      -      "isCaller"
      -    ],
      -    "type": "object"
      -  },
      -  "createdAt": {
      -    "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))$",
      -    "type": "string"
      -  },
      -  "id": {
      -    "description": "The correction's id: correction_retire takes it.",
      -    "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"
      -  },
      -  "retired": {
      -    "anyOf": [
      -      {
      -        "additionalProperties": false,
      -        "properties": {
      -          "at": {
      -            "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))$",
      -            "type": "string"
      -          },
      -          "by": {
      -            "additionalProperties": false,
      -            "properties": {
      -              "account": {
      -                "additionalProperties": false,
      -                "properties": {
      -                  "alias": {
      -                    "anyOf": [
      -                      {
      -                        "type": "string"
      -                      },
      -                      {
      -                        "type": "null"
      -                      }
      -                    ]
      -                  },
      -                  "former": {
      -                    "const": true,
      -                    "type": "boolean"
      -                  },
      -                  "id": {
      -                    "type": "string"
      -                  }
      -                },
      -                "required": [
      -                  "id",
      -                  "alias"
      -                ],
      -                "type": "object"
      -              },
      -              "agent": {
      -                "anyOf": [
      -                  {
      -                    "additionalProperties": false,
      -                    "properties": {
      -                      "harness": {
      -                        "anyOf": [
      -                          {
      -                            "type": "string"
      -                          },
      -                          {
      -                            "type": "null"
      -                          }
      -                        ]
      -                      },
      -                      "id": {
      -                        "anyOf": [
      -                          {
      -                            "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"
      -                          },
      -                          {
      -                            "type": "null"
      -                          }
      -                        ]
      -                      },
      -                      "name": {
      -                        "anyOf": [
      -                          {
      -                            "type": "string"
      -                          },
      -                          {
      -                            "type": "null"
      -                          }
      -                        ]
      -                      }
      -                    },
      -                    "required": [
      -                      "id",
      -                      "name",
      -                      "harness"
      -                    ],
      -                    "type": "object"
      -                  },
      -                  {
      -                    "type": "null"
      -                  }
      -                ]
      -              },
      -              "isCaller": {
      -                "type": "boolean"
      -              },
      -              "mine": {
      -                "type": "boolean"
      -              },
      -              "tokenrip": {
      -                "const": true,
      -                "description": "Present only when true: this is Tokenrip itself, doing a task definition's routine. It is a member of no workspace and never you.",
      -                "type": "boolean"
      -              }
      -            },
      -            "required": [
      -              "account",
      -              "agent",
      -              "mine",
      -              "isCaller"
      -            ],
      -            "type": "object"
      -          },
      -          "includedIn": {
      -            "anyOf": [
      -              {
      -                "exclusiveMinimum": 0,
      -                "maximum": 9007199254740991,
      -                "type": "integer"
      -              },
      -              {
      -                "type": "null"
      -              }
      -            ],
      -            "description": "The instructions version it was included in; null when it was retired by hand."
      -          }
      -        },
      -        "required": [
      -          "at",
      -          "by",
      -          "includedIn"
      -        ],
      -        "type": "object"
      -      },
      -      {
      -        "type": "null"
      -      }
      -    ],
      -    "description": "null: in force, carried by every pickup of the type. Otherwise when it was retired, by whom, and the version that absorbed it."
      -  },
      -  "source": {
      -    "anyOf": [
      -      {
      -        "additionalProperties": false,
      -        "properties": {
      -          "round": {
      -            "anyOf": [
      -              {
      -                "exclusiveMinimum": 0,
      -                "maximum": 9007199254740991,
      -                "type": "integer"
      -              },
      -              {
      -                "type": "null"
      -              }
      -            ],
      -            "description": "The review round of that task it came from; null when none, or once gone."
      -          },
      -          "task": {
      -            "anyOf": [
      -              {
      -                "additionalProperties": false,
      -                "properties": {
      -                  "id": {
      -                    "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"
      -                  },
      -                  "title": {
      -                    "type": "string"
      -                  }
      -                },
      -                "required": [
      -                  "id",
      -                  "title"
      -                ],
      -                "type": "object"
      -              },
      -              {
      -                "type": "null"
      -              }
      -            ],
      -            "description": "The task it came up on; null once that task is gone."
      -          }
      -        },
      -        "required": [
      -          "task",
      -          "round"
      -        ],
      -        "type": "object"
      -      },
      -      {
      -        "type": "null"
      -      }
      -    ],
      -    "description": "Where it came from; null when it came from no task (said in chat)."
      -  },
      -  "text": {
      -    "description": "The correction, in the words it was recorded with.",
      -    "type": "string"
      -  },
      -  "why": {
      -    "anyOf": [
      -      {
      -        "type": "string"
      -      },
      -      {
      -        "type": "null"
      -      }
      -    ],
      -    "description": "The why the agent that recorded it stated; null for a person's own."
      -  }
      -}
    • removedOutput schema / properties / correction / required
      Removed value: -[
      -  "id",
      -  "text",
      -  "by",
      -  "why",
      -  "source",
      -  "createdAt",
      -  "retired"
      -]
    • removedOutput schema / properties / correction / type
      Removed value: -"object"
    • addedOutput schema / properties / correctionPosted
      Added value: +{
      +  "additionalProperties": false,
      +  "description": "Only when you are a guest in the workspace: the text was posted as your comment, on the named task's thread or in the workspace's chat, and no correction was recorded.",
      +  "properties": {
      +    "messageId": {
      +      "description": "Your message that holds the text.",
      +      "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"
      +    },
      +    "taskId": {
      +      "anyOf": [
      +        {
      +          "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"
      +        },
      +        {
      +          "type": "null"
      +        }
      +      ],
      +      "description": "The task whose thread it is on; null: the workspace's chat, where it names the type."
      +    }
      +  },
      +  "required": [
      +    "messageId",
      +    "taskId"
      +  ],
      +  "type": "object"
      +}
    • changedOutput schema / properties / page / description
      Previous value: -"The definition's page in the dashboard with this correction shown, where a person retires it."New value: +"The definition's page in the dashboard with this correction shown, where a person retires it; the definition's page when none was recorded; the workspace's Task definitions page when the type has no definition."
    • changedOutput schema / properties / personTold / description
      Previous value: -"true: your person is told by email, as their corrections notice setting says (on by default). false when existing: nothing was recorded, so nobody is told."New value: +"true: the account's operator is told by email, as their corrections notice setting says (on by default). false when existing, or when the text was posted as a comment: nothing was recorded, so nobody is told."
  2. Changed2 schema fields changed
    • addedOutput schema / properties / correction / properties / by / properties / tokenrip
      Added value: +{
      +  "const": true,
      +  "description": "Present only when true: this is Tokenrip itself, doing a task definition's routine. It is a member of no workspace and never you.",
      +  "type": "boolean"
      +}
    • changedOutput schema / properties / correction / properties / retired / anyOf
      Previous value: -[
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "at": {
      -        "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))$",
      -        "type": "string"
      -      },
      -      "by": {
      -        "additionalProperties": false,
      -        "properties": {
      -          "account": {
      -            "additionalProperties": false,
      -            "properties": {
      -              "alias": {
      -                "anyOf": [
      -                  {
      -                    "type": "string"
      -                  },
      -                  {
      -                    "type": "null"
      -                  }
      -                ]
      -              },
      -              "former": {
      -                "const": true,
      -                "type": "boolean"
      -              },
      -              "id": {
      -                "type": "string"
      -              }
      -            },
      -            "required": [
      -              "id",
      -              "alias"
      -            ],
      -            "type": "object"
      -          },
      -          "agent": {
      -            "anyOf": [
      -              {
      -                "additionalProperties": false,
      -                "properties": {
      -                  "harness": {
      -                    "anyOf": [
      -                      {
      -                        "type": "string"
      -                      },
      -                      {
      -                        "type": "null"
      -                      }
      -                    ]
      -                  },
      -                  "id": {
      -                    "anyOf": [
      -                      {
      -                        "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"
      -                      },
      -                      {
      -                        "type": "null"
      -                      }
      -                    ]
      -                  },
      -                  "name": {
      -                    "anyOf": [
      -                      {
      -                        "type": "string"
      -                      },
      -                      {
      -                        "type": "null"
      -                      }
      -                    ]
      -                  }
      -                },
      -                "required": [
      -                  "id",
      -                  "name",
      -                  "harness"
      -                ],
      -                "type": "object"
      -              },
      -              {
      -                "type": "null"
      -              }
      -            ]
      -          },
      -          "isCaller": {
      -            "type": "boolean"
      -          },
      -          "mine": {
      -            "type": "boolean"
      -          }
      -        },
      -        "required": [
      -          "account",
      -          "agent",
      -          "mine",
      -          "isCaller"
      -        ],
      -        "type": "object"
      -      },
      -      "includedIn": {
      -        "anyOf": [
      -          {
      -            "exclusiveMinimum": 0,
      -            "maximum": 9007199254740991,
      -            "type": "integer"
      -          },
      -          {
      -            "type": "null"
      -          }
      -        ],
      -        "description": "The instructions version it was included in; null when it was retired by hand."
      -      }
      -    },
      -    "required": [
      -      "at",
      -      "by",
      -      "includedIn"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]New value: +[
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "at": {
      +        "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))$",
      +        "type": "string"
      +      },
      +      "by": {
      +        "additionalProperties": false,
      +        "properties": {
      +          "account": {
      +            "additionalProperties": false,
      +            "properties": {
      +              "alias": {
      +                "anyOf": [
      +                  {
      +                    "type": "string"
      +                  },
      +                  {
      +                    "type": "null"
      +                  }
      +                ]
      +              },
      +              "former": {
      +                "const": true,
      +                "type": "boolean"
      +              },
      +              "id": {
      +                "type": "string"
      +              }
      +            },
      +            "required": [
      +              "id",
      +              "alias"
      +            ],
      +            "type": "object"
      +          },
      +          "agent": {
      +            "anyOf": [
      +              {
      +                "additionalProperties": false,
      +                "properties": {
      +                  "harness": {
      +                    "anyOf": [
      +                      {
      +                        "type": "string"
      +                      },
      +                      {
      +                        "type": "null"
      +                      }
      +                    ]
      +                  },
      +                  "id": {
      +                    "anyOf": [
      +                      {
      +                        "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"
      +                      },
      +                      {
      +                        "type": "null"
      +                      }
      +                    ]
      +                  },
      +                  "name": {
      +                    "anyOf": [
      +                      {
      +                        "type": "string"
      +                      },
      +                      {
      +                        "type": "null"
      +                      }
      +                    ]
      +                  }
      +                },
      +                "required": [
      +                  "id",
      +                  "name",
      +                  "harness"
      +                ],
      +                "type": "object"
      +              },
      +              {
      +                "type": "null"
      +              }
      +            ]
      +          },
      +          "isCaller": {
      +            "type": "boolean"
      +          },
      +          "mine": {
      +            "type": "boolean"
      +          },
      +          "tokenrip": {
      +            "const": true,
      +            "description": "Present only when true: this is Tokenrip itself, doing a task definition's routine. It is a member of no workspace and never you.",
      +            "type": "boolean"
      +          }
      +        },
      +        "required": [
      +          "account",
      +          "agent",
      +          "mine",
      +          "isCaller"
      +        ],
      +        "type": "object"
      +      },
      +      "includedIn": {
      +        "anyOf": [
      +          {
      +            "exclusiveMinimum": 0,
      +            "maximum": 9007199254740991,
      +            "type": "integer"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ],
      +        "description": "The instructions version it was included in; null when it was retired by hand."
      +      }
      +    },
      +    "required": [
      +      "at",
      +      "by",
      +      "includedIn"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
  3. Added

TDQS

A4.7/5.0
Behavior5/5

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

Goes far beyond the supplied annotations: immediate force, recorded under the caller's name with the why, email notification governed by the recipient's setting, retireable on the definition page, plus concrete failure modes (CORRECTIONS_FULL with details, DEFINITION_ARCHIVED, UNAVAILABLE with correction_needs_definition), the 20-in-force cap, the 1-500 char / 1500 byte limits, and the dedup path returning existing true while posting nothing. It even discloses the authorization rule (owner or owning-team member) and the exact guest fallback of posting as a comment, which the destructive/readOnly hints do not cover.

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

Conciseness3/5

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

The purpose is front-loaded, but the body is one dense run-on block of semicolon-chained clauses covering errors, permissions, guests and return values with no structure or line breaks. Nearly every clause earns its place informationally, yet the readability cost is real and an agent must parse a single wall of text to extract the guest fallback and error codes.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Complete for a high-stakes write tool: authorization, idempotency-by-text, capacity limits, archived/unavailable errors, notification behavior, guest degradation and the null-with-correctionPosted return case are all covered. The output schema makes some return-field enumeration in the text redundant, but nothing an agent needs to call this correctly is missing.

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% and the schema descriptions are already detailed, so the baseline is 3; the description earns an extra point by explaining cross-parameter coupling that the schema only implies — definition as an id, or as a type only when workspaceId is supplied — and by surfacing the text length and byte-cost rules inline rather than leaving them buried.

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 and resource ("Record a correction on a task definition") and then defines the artifact precisely: a point a person stated about how a kind of work is done, carried by every later pickup of that type after the instructions. The scope is dissected well enough that an agent can distinguish it from correction_retire and definition_update without opening another schema.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Explicit when-to-use and when-not: use it when the operator corrects how a type of work is done beyond the piece in hand, and "a correction about this piece alone belongs in the work." It also routes to alternatives for adjacent cases: put whole-workspace guidance in the workspace's guide, and define the type first when there is no definition.

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.