Skip to main content
Glama

Create task definition

definition_create

Create a task definition: for one task type in a workspace (draft-article, weekly-numbers), its one-line purpose, its instructions (markdown, at most 64000 characters, saved whole as version 1 and counted toward the workspace's storage), who does tasks of that type (doer) and whether a person reviews their work. Only the workspace's owner or a member of the team that owns it writes task definitions (directWork): a guest of any role is refused GUEST_FORBIDDEN, and a retry changes nothing. Sent without review or reviewer, the type is reviewed by the account's operator. The reviewer is a person, never an agent; review none is a workspace admin's, in their own browser (anyone else is refused REVIEW_OFF_FORBIDDEN, with details.page, the place where the admin can). A type that already has a definition here, an archived one included, is refused DEFINITION_TYPE_TAKEN naming it. Returns the definition with its corrections counted (definition_get lists them): its revision, its current instructions version and its page in the dashboard. A receipt too large for one tool reply carries its instructions text cut to 512 bytes, with instructionsCut; definition_get reads it whole. Instructions longer than a task_start answer always carries whole (14000 bytes as sent; a plain ASCII character is 2) still save, and a hint (instructions-too-long-for-pickup) says so: a pickup too large for one reply names them with their size instead.

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": {
      "workspaceId": "<workspaceId>",
      "type": "<type>"
    },
    "name": "definition_create"
  }
}

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.
doerNoWho does tasks of this type: me (you), a person (account id, alias or @alias), or one agent (agent:me, agent:<its name> for your own, agent:<its key id> or agent:<its handle from workspace_load agents>), who must be able to edit tasks here. A new task of the type with no assignee is theirs. @tokenrip (Tokenrip itself) is accepted only on a definition that carries a routine (routine is not null: an add-on made it), and Tokenrip then does the work; anywhere else it is refused with reason tokenrip.
typeYesThe task type this definition says how to do (draft-article, weekly-numbers): letters in any case (kept lowercase), digits, - and _, starting with a letter or a digit, at most 64 characters. Unique in the workspace, archived definitions included; fixed once created. Every task of this type in the workspace follows it.
reviewNorequired: a person reviews this type's work before it is finished. none: it needs no review; only a workspace admin in their own browser sets it (anyone else is REVIEW_OFF_FORBIDDEN, naming the page where the admin does it). Omit on create for required, reviewed by the account's operator.
purposeNoOne line on what the type is for, at most 280 characters, shown wherever definitions are listed. Empty is none.
reviewerNoWho reviews work of this type: one person (me, an account id, alias or @alias) who can edit tasks here, never an agent. null: any person who can edit tasks. Naming a reviewer requires review.
workspaceIdYesThe workspace (its id or its slug).
instructionsNoHow a task of this type is done, in markdown, at most 64000 characters, saved whole: a text that differs from the current one is the next version (the earlier ones are kept), the same text writes nothing. It counts toward the workspace's storage. Empty is allowed.

Output Schema

NameRequiredDescriptionDefault
definitionYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed4 schema fields changed
    • changedInput schema / properties / review / description
      Previous value: -"required: a person reviews this type's work before it is finished. none: it needs no review; only a workspace admin in their own browser sets it (anyone else is REVIEW_OFF_FORBIDDEN, naming the page where the admin does it). Omit on create for required, reviewed by your own person."New value: +"required: a person reviews this type's work before it is finished. none: it needs no review; only a workspace admin in their own browser sets it (anyone else is REVIEW_OFF_FORBIDDEN, naming the page where the admin does it). Omit on create for required, reviewed by the account's operator."
    • changedInput schema / properties / type / description
      Previous value: -"The task type this definition says how to do (draft-article, weekly-numbers): lowercase letters, digits, - and _, starting with a letter or a digit, at most 64 characters. Unique in the workspace, archived definitions included; fixed once created. Every task of this type in the workspace follows it."New value: +"The task type this definition says how to do (draft-article, weekly-numbers): letters in any case (kept lowercase), digits, - and _, starting with a letter or a digit, at most 64 characters. Unique in the workspace, archived definitions included; fixed once created. Every task of this type in the workspace follows it."
    • changedInput schema / properties / type / pattern
      Previous value: -"^[a-z0-9][a-z0-9-_]{0,63}$"New value: +"^[a-zA-Z0-9][a-zA-Z0-9-_]{0,63}$"
    • 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."
  2. Changed11 schema fields changed
    • changedInput schema / properties / doer / description
      Previous value: -"Who does tasks of this type: me (you), a person (account id, alias or @alias), or one agent (agent:me, agent:<its name> for your own, agent:<its key id> or agent:<its handle from workspace_load agents>), who must be able to edit tasks here. A new task of the type with no assignee is theirs."New value: +"Who does tasks of this type: me (you), a person (account id, alias or @alias), or one agent (agent:me, agent:<its name> for your own, agent:<its key id> or agent:<its handle from workspace_load agents>), who must be able to edit tasks here. A new task of the type with no assignee is theirs. @tokenrip (Tokenrip itself) is accepted only on a definition that carries a routine (routine is not null: an add-on made it), and Tokenrip then does the work; anywhere else it is refused with reason tokenrip."
    • addedOutput schema / properties / definition / properties / cleanup
      Added value: +{
      +  "anyOf": [
      +    {
      +      "additionalProperties": false,
      +      "properties": {
      +        "maxImportance": {
      +          "description": "The highest importance a file may be rated and be considered: none (files rated None), low (Low or None), medium (Medium or lower) or high (any).",
      +          "enum": [
      +            "high",
      +            "medium",
      +            "low",
      +            "none"
      +          ],
      +          "type": "string"
      +        },
      +        "unchangedDays": {
      +          "description": "Only files that have not changed for at least this many whole days; 0: no limit on it.",
      +          "maximum": 3650,
      +          "minimum": 0,
      +          "type": "integer"
      +        },
      +        "unreadDays": {
      +          "description": "Only files nobody has read for at least this many whole days; 0: no limit on it.",
      +          "maximum": 3650,
      +          "minimum": 0,
      +          "type": "integer"
      +        }
      +      },
      +      "required": [
      +        "maxImportance",
      +        "unreadDays",
      +        "unchangedDays"
      +      ],
      +      "type": "object"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "description": "The files Tokenrip considers when it suggests files to clean up, applied exactly before its model sees a file, so a list names only files that meet them: on a definition whose routine is suggest_cleanup (whoever its doer is), null on every other. definition_update changes them with cleanup."
      +}
    • addedOutput schema / properties / definition / properties / createdBy / 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 / definition / properties / doer / anyOf
      Previous value: -[
      -  {
      -    "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"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]New value: +[
      +  {
      +    "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"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • changedOutput schema / properties / definition / properties / doer / description
      Previous value: -"Who does tasks of this type; null: nobody named."New value: +"Who does tasks of this type; null: nobody named. Tokenrip itself (tokenrip: true) only where routine is set."
    • changedOutput schema / properties / definition / properties / instructions / anyOf
      Previous value: -[
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "savedAt": {
      -        "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"
      -      },
      -      "savedBy": {
      -        "additionalProperties": false,
      -        "description": "Who saved this version: a person, or a person's agent.",
      -        "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"
      -      },
      -      "text": {
      -        "description": "The instructions, markdown, saved whole; may be empty.",
      -        "type": "string"
      -      },
      -      "version": {
      -        "exclusiveMinimum": 0,
      -        "maximum": 9007199254740991,
      -        "type": "integer"
      -      },
      -      "why": {
      -        "anyOf": [
      -          {
      -            "type": "string"
      -          },
      -          {
      -            "type": "null"
      -          }
      -        ],
      -        "description": "The why the agent that saved it stated; null for a person's save."
      -      }
      -    },
      -    "required": [
      -      "version",
      -      "text",
      -      "savedBy",
      -      "savedAt",
      -      "why"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]New value: +[
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "savedAt": {
      +        "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"
      +      },
      +      "savedBy": {
      +        "additionalProperties": false,
      +        "description": "Who saved this version: a person, or a person's agent.",
      +        "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"
      +      },
      +      "text": {
      +        "description": "The instructions, markdown, saved whole; may be empty.",
      +        "type": "string"
      +      },
      +      "version": {
      +        "exclusiveMinimum": 0,
      +        "maximum": 9007199254740991,
      +        "type": "integer"
      +      },
      +      "why": {
      +        "anyOf": [
      +          {
      +            "type": "string"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ],
      +        "description": "The why the agent that saved it stated; null for a person's save."
      +      }
      +    },
      +    "required": [
      +      "version",
      +      "text",
      +      "savedBy",
      +      "savedAt",
      +      "why"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • addedOutput schema / properties / definition / properties / madeFrom
      Added value: +{
      +  "anyOf": [
      +    {
      +      "additionalProperties": false,
      +      "properties": {
      +        "addOn": {
      +          "description": "The add-on's id.",
      +          "type": "string"
      +        },
      +        "version": {
      +          "description": "The add-on's version it was made from.",
      +          "exclusiveMinimum": 0,
      +          "maximum": 9007199254740991,
      +          "type": "integer"
      +        }
      +      },
      +      "required": [
      +        "addOn",
      +        "version"
      +      ],
      +      "type": "object"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "description": "The add-on and version this definition was made from; null: made by hand. Never changed."
      +}
    • changedOutput schema / properties / definition / properties / review / properties / offBy / anyOf
      Previous value: -[
      -  {
      -    "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"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]New value: +[
      +  {
      +    "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"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • changedOutput schema / properties / definition / properties / review / properties / reviewer / anyOf
      Previous value: -[
      -  {
      -    "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"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]New value: +[
      +  {
      +    "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"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • addedOutput schema / properties / definition / properties / routine
      Added value: +{
      +  "anyOf": [
      +    {
      +      "additionalProperties": false,
      +      "properties": {
      +        "kind": {
      +          "description": "proposes: it hands its result in for a person to decide; carries_out: it acts only on what a person approved.",
      +          "enum": [
      +            "proposes",
      +            "carries_out"
      +          ],
      +          "type": "string"
      +        },
      +        "name": {
      +          "description": "Which routine: suggest_cleanup (reads the workspace's files and submits the files it suggests removing for a person to review) or trash_approved (moves the files of an approved cleanup list to the trash).",
      +          "enum": [
      +            "suggest_cleanup",
      +            "trash_approved"
      +          ],
      +          "type": "string"
      +        }
      +      },
      +      "required": [
      +        "name",
      +        "kind"
      +      ],
      +      "type": "object"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "description": "The work Tokenrip does for this type while Tokenrip is its doer; null: none. Set when an add-on added the definition, and never changed."
      +}
    • changedOutput schema / properties / definition / required
      Previous value: -[
      -  "id",
      -  "workspaceId",
      -  "type",
      -  "purpose",
      -  "doer",
      -  "review",
      -  "archived",
      -  "archivedAt",
      -  "revision",
      -  "instructionsVersion",
      -  "instructions",
      -  "createdBy",
      -  "createdAt",
      -  "updatedAt",
      -  "corrections",
      -  "page",
      -  "instructionsUpdate"
      -]New value: +[
      +  "id",
      +  "workspaceId",
      +  "type",
      +  "purpose",
      +  "doer",
      +  "routine",
      +  "madeFrom",
      +  "cleanup",
      +  "review",
      +  "archived",
      +  "archivedAt",
      +  "revision",
      +  "instructionsVersion",
      +  "instructions",
      +  "createdBy",
      +  "createdAt",
      +  "updatedAt",
      +  "corrections",
      +  "page",
      +  "instructionsUpdate"
      +]
  3. Added

TDQS

A4.2/5.0
Behavior5/5

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

Goes far beyond the annotations: named refusal codes (GUEST_FORBIDDEN, REVIEW_OFF_FORBIDDEN, DEFINITION_TYPE_TAKEN), the fact that retries of a refusal change nothing, version-1 creation semantics, storage accounting, and receipt truncation at 512 bytes with an instructionsCut flag. The annotations only declare non-read-only, non-destructive; the description supplies the permission, idempotency and payload-size behavior the annotations do not.

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?

Front-loaded with purpose, but it then unrolls into a single dense block mixing permissions, defaults, error codes, storage accounting and reply-truncation edge cases. The receipt/pickup truncation material is useful but buried mid-paragraph, and the structure gives an agent no clear separation between what to send and what can go wrong.

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?

An output schema exists, yet the description goes further by explaining that corrections are counted and readable via definition_get, and how oversized receipts and oversized instructions behave. For an eight-parameter create with permissions and defaults, essentially nothing an agent needs 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%, so the schema already documents all eight parameters; the description nevertheless adds genuinely new meaning, notably the reviewer default when review and reviewer are omitted, that a reviewer must be a person and never an agent, and that instructions are versioned and count toward storage. The defaulting behavior is the key addition the schema does not state.

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?

Specific verb and resource ('Create a task definition') immediately followed by the scope ('for one task type in a workspace') and the fields it carries (purpose, instructions, doer, review). It distinguishes itself from definition_get and task_start by naming them, but never explicitly positions itself against definition_update, so the create-vs-modify split is inferred.

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

Usage Guidelines4/5

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

Gives real conditions: only the workspace owner or owning-team member writes definitions, guests are refused, and review=none is restricted to a workspace admin in their own browser. It also states defaults for omitted fields (review defaults to required, reviewed by the account operator) and points to definition_get when instructions are truncated, but never says when to prefer definition_update over creating.

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.