Skip to main content
Glama

Retire correction

correction_retire
DestructiveIdempotent

Retire a correction by its id: no later pickup carries it, and it is kept with who retired it and when. Work already in hand is not recalled. There is no way to put it back in force: add it again. Retiring one already retired changes nothing and answers with it as it is. Only the workspace's owner or a member of the team that owns it retires one: a guest of any role is refused GUEST_FORBIDDEN, and a retry changes nothing. A correction you cannot read is UNAVAILABLE. Returns the correction as it is now, and how many the definition holds in force of how many.

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": {
      "id": "<id>"
    },
    "name": "correction_retire"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesThe correction, by its id (correction_add and definition_get return it).
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.

Output Schema

NameRequiredDescriptionDefault
limitYesThe most it holds in force (20).
inForceYesHow many corrections the definition holds in force now.
correctionYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • 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. 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.4/5.0
Behavior5/5

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

Beyond the annotations, the description discloses that later pickup will not carry the correction, that it is kept with who retired it and when, that work already in hand is not recalled, and that retirement is irreversible except by adding it again. It also documents idempotent behavior for already-retired corrections and permission failures including GUEST_FORBIDDEN and UNAVAILABLE.

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

Conciseness4/5

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

The description is front-loaded with the action and then covers consequences, idempotency, permissions, and return shape efficiently. A few phrases repeat the same idea, such as the already-retired behavior and the return value, but the density is justified for a destructive operation.

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?

Given that this is a destructive, permission-sensitive mutation with an output schema, the description covers the important behavioral edges: irreversibility, idempotency, permissions, error behavior, and what is returned. An agent has enough information to call it correctly and understand the consequences.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The schema has full description coverage for both parameters, including the correction id and the workspace-specific "why" sentence requirement. The description adds no parameter-specific meaning beyond saying the correction is identified by id, so the baseline score is appropriate.

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?

The description states a specific verb-resource pair, "Retire a correction by its id," and distinguishes the action from correction_add by explaining that re-adding is the way to restore it. An agent can identify the operation and its irreversible nature without opening the schema.

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?

The description gives clear operational context: it is for retiring a correction, not recalling work already in hand, and the only recovery path is adding it again. It also specifies who may invoke it and which error applies to guests, though it does not explicitly frame when to choose retirement over other correction operations.

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.