Skip to main content
Glama
research-workflow-studio

research-workflow-studio

by BorgDiven

rws_artifact_register

Idempotent

Register immutable research artifacts with their actual producer and configuration, or mark legacy outputs unresolved using source evidence. Prevents invented provenance; never reads arbitrary files.

Instructions

Register an immutable output with its actual producer and configuration. For a legacy output with unresolved provenance, explicitly set provenance=unresolved with source evidence and a description; never invent a producer run. Does not read arbitrary files.

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": {
      "requestId": "<requestId>",
      "projectId": "<projectId>",
      "expectedRevision": "<expectedRevision>",
      "record": "<record>"
    },
    "name": "rws_artifact_register"
  }
}

Input Schema

NameRequiredDescriptionDefault
recordYes
projectIdYes
requestIdYes
expectedRevisionYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed4 schema fields changedv0.4.2
    • changedInput schema / properties / record / properties / content / oneOf
      Previous value: -[
      -  {
      -    "additionalProperties": false,
      -    "anyOf": [
      -      {
      -        "required": [
      -          "name"
      -        ]
      -      },
      -      {
      -        "required": [
      -          "metricId"
      -        ]
      -      }
      -    ],
      -    "properties": {
      -      "aggregation": {
      -        "type": "string"
      -      },
      -      "direction": {
      -        "enum": [
      -          "higher",
      -          "lower",
      -          "higher-is-better",
      -          "lower-is-better",
      -          "none",
      -          "target"
      -        ]
      -      },
      -      "kind": {
      -        "const": "metric"
      -      },
      -      "label": {
      -        "type": "string"
      -      },
      -      "metricId": {
      -        "type": "string"
      -      },
      -      "name": {
      -        "type": "string"
      -      },
      -      "reason": {
      -        "type": "string"
      -      },
      -      "sampleId": {
      -        "type": "string"
      -      },
      -      "sampleIds": {
      -        "items": {
      -          "type": "string"
      -        },
      -        "type": "array",
      -        "uniqueItems": true
      -      },
      -      "sourceRef": {
      -        "additionalProperties": false,
      -        "properties": {
      -          "id": {
      -            "type": "string"
      -          },
      -          "projectId": {
      -            "type": "string"
      -          },
      -          "type": {
      -            "enum": [
      -              "research",
      -              "experiment",
      -              "code",
      -              "run",
      -              "artifact",
      -              "protocol",
      -              "dataset",
      -              "evaluation",
      -              "comparison",
      -              "analysis",
      -              "report",
      -              "conversation",
      -              "proposal",
      -              "usage",
      -              "spec",
      -              "amendment"
      -            ],
      -            "type": "string"
      -          },
      -          "version": {
      -            "minimum": 1,
      -            "type": "integer"
      -          }
      -        },
      -        "required": [
      -          "projectId",
      -          "type",
      -          "id"
      -        ],
      -        "type": "object"
      -      },
      -      "status": {
      -        "enum": [
      -          "completed",
      -          "missing",
      -          "failed",
      -          "undefined"
      -        ]
      -      },
      -      "unit": {
      -        "type": "string"
      -      },
      -      "value": {
      -        "type": [
      -          "number",
      -          "null"
      -        ]
      -      }
      -    },
      -    "required": [
      -      "kind",
      -      "value"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "additionalProperties": false,
      -    "anyOf": [
      -      {
      -        "required": [
      -          "xAxis",
      -          "yAxis"
      -        ]
      -      },
      -      {
      -        "required": [
      -          "x",
      -          "y"
      -        ]
      -      }
      -    ],
      -    "properties": {
      -      "kind": {
      -        "const": "series"
      -      },
      -      "label": {
      -        "type": "string"
      -      },
      -      "name": {
      -        "type": "string"
      -      },
      -      "points": {
      -        "items": {
      -          "anyOf": [
      -            {
      -              "additionalProperties": false,
      -              "properties": {
      -                "x": {
      -                  "type": "number"
      -                },
      -                "y": {
      -                  "type": "number"
      -                }
      -              },
      -              "required": [
      -                "x",
      -                "y"
      -              ],
      -              "type": "object"
      -            },
      -            {
      -              "items": {
      -                "type": "number"
      -              },
      -              "maxItems": 2,
      -              "minItems": 2,
      -              "type": "array"
      -            }
      -          ]
      -        },
      -        "type": "array"
      -      },
      -      "sampleId": {
      -        "type": "string"
      -      },
      -      "sourceRef": {
      -        "additionalProperties": false,
      -        "properties": {
      -          "id": {
      -            "type": "string"
      -          },
      -          "projectId": {
      -            "type": "string"
      -          },
      -          "type": {
      -            "enum": [
      -              "research",
      -              "experiment",
      -              "code",
      -              "run",
      -              "artifact",
      -              "protocol",
      -              "dataset",
      -              "evaluation",
      -              "comparison",
      -              "analysis",
      -              "report",
      -              "conversation",
      -              "proposal",
      -              "usage",
      -              "spec",
      -              "amendment"
      -            ],
      -            "type": "string"
      -          },
      -          "version": {
      -            "minimum": 1,
      -            "type": "integer"
      -          }
      -        },
      -        "required": [
      -          "projectId",
      -          "type",
      -          "id"
      -        ],
      -        "type": "object"
      -      },
      -      "x": {
      -        "additionalProperties": false,
      -        "properties": {
      -          "label": {
      -            "minLength": 1,
      -            "type": "string"
      -          },
      -          "unit": {
      -            "type": "string"
      -          }
      -        },
      -        "required": [
      -          "label",
      -          "unit"
      -        ],
      -        "type": "object"
      -      },
      -      "xAxis": {
      -        "additionalProperties": false,
      -        "properties": {
      -          "label": {
      -            "minLength": 1,
      -            "type": "string"
      -          },
      -          "unit": {
      -            "type": "string"
      -          }
      -        },
      -        "required": [
      -          "label",
      -          "unit"
      -        ],
      -        "type": "object"
      -      },
      -      "y": {
      -        "additionalProperties": false,
      -        "properties": {
      -          "label": {
      -            "minLength": 1,
      -            "type": "string"
      -          },
      -          "unit": {
      -            "type": "string"
      -          }
      -        },
      -        "required": [
      -          "label",
      -          "unit"
      -        ],
      -        "type": "object"
      -      },
      -      "yAxis": {
      -        "additionalProperties": false,
      -        "properties": {
      -          "label": {
      -            "minLength": 1,
      -            "type": "string"
      -          },
      -          "unit": {
      -            "type": "string"
      -          }
      -        },
      -        "required": [
      -          "label",
      -          "unit"
      -        ],
      -        "type": "object"
      -      }
      -    },
      -    "required": [
      -      "kind",
      -      "points"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "items": {
      -        "items": {
      -          "additionalProperties": false,
      -          "anyOf": [
      -            {
      -              "required": [
      -                "artifactRef"
      -              ]
      -            },
      -            {
      -              "required": [
      -                "uri"
      -              ]
      -            }
      -          ],
      -          "properties": {
      -            "artifactRef": {
      -              "additionalProperties": false,
      -              "properties": {
      -                "id": {
      -                  "type": "string"
      -                },
      -                "projectId": {
      -                  "type": "string"
      -                },
      -                "type": {
      -                  "enum": [
      -                    "artifact"
      -                  ],
      -                  "type": "string"
      -                },
      -                "version": {
      -                  "minimum": 1,
      -                  "type": "integer"
      -                }
      -              },
      -              "required": [
      -                "projectId",
      -                "type",
      -                "id"
      -              ],
      -              "type": "object"
      -            },
      -            "caption": {
      -              "type": "string"
      -            },
      -            "config": {
      -              "additionalProperties": true,
      -              "type": "object"
      -            },
      -            "sampleId": {
      -              "type": "string"
      -            },
      -            "uri": {
      -              "type": "string"
      -            }
      -          },
      -          "type": "object"
      -        },
      -        "type": "array"
      -      },
      -      "kind": {
      -        "const": "image-set"
      -      },
      -      "label": {
      -        "type": "string"
      -      },
      -      "name": {
      -        "type": "string"
      -      },
      -      "sampleId": {
      -        "type": "string"
      -      },
      -      "sourceRef": {
      -        "additionalProperties": false,
      -        "properties": {
      -          "id": {
      -            "type": "string"
      -          },
      -          "projectId": {
      -            "type": "string"
      -          },
      -          "type": {
      -            "enum": [
      -              "research",
      -              "experiment",
      -              "code",
      -              "run",
      -              "artifact",
      -              "protocol",
      -              "dataset",
      -              "evaluation",
      -              "comparison",
      -              "analysis",
      -              "report",
      -              "conversation",
      -              "proposal",
      -              "usage",
      -              "spec",
      -              "amendment"
      -            ],
      -            "type": "string"
      -          },
      -          "version": {
      -            "minimum": 1,
      -            "type": "integer"
      -          }
      -        },
      -        "required": [
      -          "projectId",
      -          "type",
      -          "id"
      -        ],
      -        "type": "object"
      -      }
      -    },
      -    "required": [
      -      "kind",
      -      "items"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "columns": {
      -        "items": {
      -          "additionalProperties": false,
      -          "anyOf": [
      -            {
      -              "required": [
      -                "key"
      -              ]
      -            },
      -            {
      -              "required": [
      -                "name"
      -              ]
      -            }
      -          ],
      -          "properties": {
      -            "key": {
      -              "type": "string"
      -            },
      -            "label": {
      -              "type": "string"
      -            },
      -            "metricId": {
      -              "type": "string"
      -            },
      -            "name": {
      -              "type": "string"
      -            },
      -            "type": {
      -              "enum": [
      -                "string",
      -                "number",
      -                "boolean"
      -              ]
      -            },
      -            "unit": {
      -              "type": "string"
      -            }
      -          },
      -          "required": [
      -            "type"
      -          ],
      -          "type": "object"
      -        },
      -        "type": "array"
      -      },
      -      "kind": {
      -        "const": "table"
      -      },
      -      "label": {
      -        "type": "string"
      -      },
      -      "name": {
      -        "type": "string"
      -      },
      -      "rows": {
      -        "items": {
      -          "additionalProperties": {
      -            "type": [
      -              "string",
      -              "number",
      -              "boolean",
      -              "null"
      -            ]
      -          },
      -          "type": "object"
      -        },
      -        "type": "array"
      -      },
      -      "sampleId": {
      -        "type": "string"
      -      },
      -      "sourceRef": {
      -        "additionalProperties": false,
      -        "properties": {
      -          "id": {
      -            "type": "string"
      -          },
      -          "projectId": {
      -            "type": "string"
      -          },
      -          "type": {
      -            "enum": [
      -              "research",
      -              "experiment",
      -              "code",
      -              "run",
      -              "artifact",
      -              "protocol",
      -              "dataset",
      -              "evaluation",
      -              "comparison",
      -              "analysis",
      -              "report",
      -              "conversation",
      -              "proposal",
      -              "usage",
      -              "spec",
      -              "amendment"
      -            ],
      -            "type": "string"
      -          },
      -          "version": {
      -            "minimum": 1,
      -            "type": "integer"
      -          }
      -        },
      -        "required": [
      -          "projectId",
      -          "type",
      -          "id"
      -        ],
      -        "type": "object"
      -      }
      -    },
      -    "required": [
      -      "kind",
      -      "columns",
      -      "rows"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "additionalProperties": false,
      -    "anyOf": [
      -      {
      -        "required": [
      -          "mimeType"
      -        ]
      -      },
      -      {
      -        "required": [
      -          "mediaType"
      -        ]
      -      }
      -    ],
      -    "properties": {
      -      "availability": {
      -        "enum": [
      -          "available",
      -          "unavailable",
      -          "unknown"
      -        ]
      -      },
      -      "description": {
      -        "type": "string"
      -      },
      -      "kind": {
      -        "const": "attachment"
      -      },
      -      "label": {
      -        "type": "string"
      -      },
      -      "mediaType": {
      -        "type": "string"
      -      },
      -      "mimeType": {
      -        "type": "string"
      -      },
      -      "name": {
      -        "type": "string"
      -      },
      -      "sampleId": {
      -        "type": "string"
      -      },
      -      "sourceRef": {
      -        "additionalProperties": false,
      -        "properties": {
      -          "id": {
      -            "type": "string"
      -          },
      -          "projectId": {
      -            "type": "string"
      -          },
      -          "type": {
      -            "enum": [
      -              "research",
      -              "experiment",
      -              "code",
      -              "run",
      -              "artifact",
      -              "protocol",
      -              "dataset",
      -              "evaluation",
      -              "comparison",
      -              "analysis",
      -              "report",
      -              "conversation",
      -              "proposal",
      -              "usage",
      -              "spec",
      -              "amendment"
      -            ],
      -            "type": "string"
      -          },
      -          "version": {
      -            "minimum": 1,
      -            "type": "integer"
      -          }
      -        },
      -        "required": [
      -          "projectId",
      -          "type",
      -          "id"
      -        ],
      -        "type": "object"
      -      },
      -      "uri": {
      -        "type": "string"
      -      }
      -    },
      -    "required": [
      -      "kind",
      -      "uri"
      -    ],
      -    "type": "object"
      -  }
      -]New value: +[
      +  {
      +    "additionalProperties": false,
      +    "anyOf": [
      +      {
      +        "required": [
      +          "name"
      +        ]
      +      },
      +      {
      +        "required": [
      +          "metricId"
      +        ]
      +      }
      +    ],
      +    "properties": {
      +      "aggregation": {
      +        "type": "string"
      +      },
      +      "direction": {
      +        "enum": [
      +          "higher",
      +          "lower",
      +          "higher-is-better",
      +          "lower-is-better",
      +          "none",
      +          "target"
      +        ]
      +      },
      +      "kind": {
      +        "const": "metric"
      +      },
      +      "label": {
      +        "type": "string"
      +      },
      +      "metricId": {
      +        "type": "string"
      +      },
      +      "name": {
      +        "type": "string"
      +      },
      +      "reason": {
      +        "type": "string"
      +      },
      +      "sampleId": {
      +        "type": "string"
      +      },
      +      "sampleIds": {
      +        "items": {
      +          "type": "string"
      +        },
      +        "type": "array",
      +        "uniqueItems": true
      +      },
      +      "sourceRef": {
      +        "additionalProperties": false,
      +        "properties": {
      +          "id": {
      +            "type": "string"
      +          },
      +          "projectId": {
      +            "type": "string"
      +          },
      +          "type": {
      +            "enum": [
      +              "research",
      +              "experiment",
      +              "code",
      +              "run",
      +              "artifact",
      +              "protocol",
      +              "dataset",
      +              "evaluation",
      +              "comparison",
      +              "analysis",
      +              "report",
      +              "conversation",
      +              "proposal",
      +              "usage",
      +              "spec",
      +              "amendment",
      +              "server",
      +              "repository",
      +              "environment",
      +              "operation"
      +            ],
      +            "type": "string"
      +          },
      +          "version": {
      +            "minimum": 1,
      +            "type": "integer"
      +          }
      +        },
      +        "required": [
      +          "projectId",
      +          "type",
      +          "id"
      +        ],
      +        "type": "object"
      +      },
      +      "status": {
      +        "enum": [
      +          "completed",
      +          "missing",
      +          "failed",
      +          "undefined"
      +        ]
      +      },
      +      "unit": {
      +        "type": "string"
      +      },
      +      "value": {
      +        "type": [
      +          "number",
      +          "null"
      +        ]
      +      }
      +    },
      +    "required": [
      +      "kind",
      +      "value"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "additionalProperties": false,
      +    "anyOf": [
      +      {
      +        "required": [
      +          "xAxis",
      +          "yAxis"
      +        ]
      +      },
      +      {
      +        "required": [
      +          "x",
      +          "y"
      +        ]
      +      }
      +    ],
      +    "properties": {
      +      "kind": {
      +        "const": "series"
      +      },
      +      "label": {
      +        "type": "string"
      +      },
      +      "name": {
      +        "type": "string"
      +      },
      +      "points": {
      +        "items": {
      +          "anyOf": [
      +            {
      +              "additionalProperties": false,
      +              "properties": {
      +                "x": {
      +                  "type": "number"
      +                },
      +                "y": {
      +                  "type": "number"
      +                }
      +              },
      +              "required": [
      +                "x",
      +                "y"
      +              ],
      +              "type": "object"
      +            },
      +            {
      +              "items": {
      +                "type": "number"
      +              },
      +              "maxItems": 2,
      +              "minItems": 2,
      +              "type": "array"
      +            }
      +          ]
      +        },
      +        "type": "array"
      +      },
      +      "sampleId": {
      +        "type": "string"
      +      },
      +      "sourceRef": {
      +        "additionalProperties": false,
      +        "properties": {
      +          "id": {
      +            "type": "string"
      +          },
      +          "projectId": {
      +            "type": "string"
      +          },
      +          "type": {
      +            "enum": [
      +              "research",
      +              "experiment",
      +              "code",
      +              "run",
      +              "artifact",
      +              "protocol",
      +              "dataset",
      +              "evaluation",
      +              "comparison",
      +              "analysis",
      +              "report",
      +              "conversation",
      +              "proposal",
      +              "usage",
      +              "spec",
      +              "amendment",
      +              "server",
      +              "repository",
      +              "environment",
      +              "operation"
      +            ],
      +            "type": "string"
      +          },
      +          "version": {
      +            "minimum": 1,
      +            "type": "integer"
      +          }
      +        },
      +        "required": [
      +          "projectId",
      +          "type",
      +          "id"
      +        ],
      +        "type": "object"
      +      },
      +      "x": {
      +        "additionalProperties": false,
      +        "properties": {
      +          "label": {
      +            "minLength": 1,
      +            "type": "string"
      +          },
      +          "unit": {
      +            "type": "string"
      +          }
      +        },
      +        "required": [
      +          "label",
      +          "unit"
      +        ],
      +        "type": "object"
      +      },
      +      "xAxis": {
      +        "additionalProperties": false,
      +        "properties": {
      +          "label": {
      +            "minLength": 1,
      +            "type": "string"
      +          },
      +          "unit": {
      +            "type": "string"
      +          }
      +        },
      +        "required": [
      +          "label",
      +          "unit"
      +        ],
      +        "type": "object"
      +      },
      +      "y": {
      +        "additionalProperties": false,
      +        "properties": {
      +          "label": {
      +            "minLength": 1,
      +            "type": "string"
      +          },
      +          "unit": {
      +            "type": "string"
      +          }
      +        },
      +        "required": [
      +          "label",
      +          "unit"
      +        ],
      +        "type": "object"
      +      },
      +      "yAxis": {
      +        "additionalProperties": false,
      +        "properties": {
      +          "label": {
      +            "minLength": 1,
      +            "type": "string"
      +          },
      +          "unit": {
      +            "type": "string"
      +          }
      +        },
      +        "required": [
      +          "label",
      +          "unit"
      +        ],
      +        "type": "object"
      +      }
      +    },
      +    "required": [
      +      "kind",
      +      "points"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "items": {
      +        "items": {
      +          "additionalProperties": false,
      +          "anyOf": [
      +            {
      +              "required": [
      +                "artifactRef"
      +              ]
      +            },
      +            {
      +              "required": [
      +                "uri"
      +              ]
      +            }
      +          ],
      +          "properties": {
      +            "artifactRef": {
      +              "additionalProperties": false,
      +              "properties": {
      +                "id": {
      +                  "type": "string"
      +                },
      +                "projectId": {
      +                  "type": "string"
      +                },
      +                "type": {
      +                  "enum": [
      +                    "artifact"
      +                  ],
      +                  "type": "string"
      +                },
      +                "version": {
      +                  "minimum": 1,
      +                  "type": "integer"
      +                }
      +              },
      +              "required": [
      +                "projectId",
      +                "type",
      +                "id"
      +              ],
      +              "type": "object"
      +            },
      +            "caption": {
      +              "type": "string"
      +            },
      +            "config": {
      +              "additionalProperties": true,
      +              "type": "object"
      +            },
      +            "sampleId": {
      +              "type": "string"
      +            },
      +            "uri": {
      +              "type": "string"
      +            }
      +          },
      +          "type": "object"
      +        },
      +        "type": "array"
      +      },
      +      "kind": {
      +        "const": "image-set"
      +      },
      +      "label": {
      +        "type": "string"
      +      },
      +      "name": {
      +        "type": "string"
      +      },
      +      "sampleId": {
      +        "type": "string"
      +      },
      +      "sourceRef": {
      +        "additionalProperties": false,
      +        "properties": {
      +          "id": {
      +            "type": "string"
      +          },
      +          "projectId": {
      +            "type": "string"
      +          },
      +          "type": {
      +            "enum": [
      +              "research",
      +              "experiment",
      +              "code",
      +              "run",
      +              "artifact",
      +              "protocol",
      +              "dataset",
      +              "evaluation",
      +              "comparison",
      +              "analysis",
      +              "report",
      +              "conversation",
      +              "proposal",
      +              "usage",
      +              "spec",
      +              "amendment",
      +              "server",
      +              "repository",
      +              "environment",
      +              "operation"
      +            ],
      +            "type": "string"
      +          },
      +          "version": {
      +            "minimum": 1,
      +            "type": "integer"
      +          }
      +        },
      +        "required": [
      +          "projectId",
      +          "type",
      +          "id"
      +        ],
      +        "type": "object"
      +      }
      +    },
      +    "required": [
      +      "kind",
      +      "items"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "columns": {
      +        "items": {
      +          "additionalProperties": false,
      +          "anyOf": [
      +            {
      +              "required": [
      +                "key"
      +              ]
      +            },
      +            {
      +              "required": [
      +                "name"
      +              ]
      +            }
      +          ],
      +          "properties": {
      +            "key": {
      +              "type": "string"
      +            },
      +            "label": {
      +              "type": "string"
      +            },
      +            "metricId": {
      +              "type": "string"
      +            },
      +            "name": {
      +              "type": "string"
      +            },
      +            "type": {
      +              "enum": [
      +                "string",
      +                "number",
      +                "boolean"
      +              ]
      +            },
      +            "unit": {
      +              "type": "string"
      +            }
      +          },
      +          "required": [
      +            "type"
      +          ],
      +          "type": "object"
      +        },
      +        "type": "array"
      +      },
      +      "kind": {
      +        "const": "table"
      +      },
      +      "label": {
      +        "type": "string"
      +      },
      +      "name": {
      +        "type": "string"
      +      },
      +      "rows": {
      +        "items": {
      +          "additionalProperties": {
      +            "type": [
      +              "string",
      +              "number",
      +              "boolean",
      +              "null"
      +            ]
      +          },
      +          "type": "object"
      +        },
      +        "type": "array"
      +      },
      +      "sampleId": {
      +        "type": "string"
      +      },
      +      "sourceRef": {
      +        "additionalProperties": false,
      +        "properties": {
      +          "id": {
      +            "type": "string"
      +          },
      +          "projectId": {
      +            "type": "string"
      +          },
      +          "type": {
      +            "enum": [
      +              "research",
      +              "experiment",
      +              "code",
      +              "run",
      +              "artifact",
      +              "protocol",
      +              "dataset",
      +              "evaluation",
      +              "comparison",
      +              "analysis",
      +              "report",
      +              "conversation",
      +              "proposal",
      +              "usage",
      +              "spec",
      +              "amendment",
      +              "server",
      +              "repository",
      +              "environment",
      +              "operation"
      +            ],
      +            "type": "string"
      +          },
      +          "version": {
      +            "minimum": 1,
      +            "type": "integer"
      +          }
      +        },
      +        "required": [
      +          "projectId",
      +          "type",
      +          "id"
      +        ],
      +        "type": "object"
      +      }
      +    },
      +    "required": [
      +      "kind",
      +      "columns",
      +      "rows"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "additionalProperties": false,
      +    "anyOf": [
      +      {
      +        "required": [
      +          "mimeType"
      +        ]
      +      },
      +      {
      +        "required": [
      +          "mediaType"
      +        ]
      +      }
      +    ],
      +    "properties": {
      +      "availability": {
      +        "enum": [
      +          "available",
      +          "unavailable",
      +          "unknown"
      +        ]
      +      },
      +      "description": {
      +        "type": "string"
      +      },
      +      "kind": {
      +        "const": "attachment"
      +      },
      +      "label": {
      +        "type": "string"
      +      },
      +      "mediaType": {
      +        "type": "string"
      +      },
      +      "mimeType": {
      +        "type": "string"
      +      },
      +      "name": {
      +        "type": "string"
      +      },
      +      "sampleId": {
      +        "type": "string"
      +      },
      +      "sourceRef": {
      +        "additionalProperties": false,
      +        "properties": {
      +          "id": {
      +            "type": "string"
      +          },
      +          "projectId": {
      +            "type": "string"
      +          },
      +          "type": {
      +            "enum": [
      +              "research",
      +              "experiment",
      +              "code",
      +              "run",
      +              "artifact",
      +              "protocol",
      +              "dataset",
      +              "evaluation",
      +              "comparison",
      +              "analysis",
      +              "report",
      +              "conversation",
      +              "proposal",
      +              "usage",
      +              "spec",
      +              "amendment",
      +              "server",
      +              "repository",
      +              "environment",
      +              "operation"
      +            ],
      +            "type": "string"
      +          },
      +          "version": {
      +            "minimum": 1,
      +            "type": "integer"
      +          }
      +        },
      +        "required": [
      +          "projectId",
      +          "type",
      +          "id"
      +        ],
      +        "type": "object"
      +      },
      +      "uri": {
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "kind",
      +      "uri"
      +    ],
      +    "type": "object"
      +  }
      +]
    • changedInput schema / properties / record / properties / datasetRef / properties / type / enum
      Previous value: -[
      -  "research",
      -  "experiment",
      -  "code",
      -  "run",
      -  "artifact",
      -  "protocol",
      -  "dataset",
      -  "evaluation",
      -  "comparison",
      -  "analysis",
      -  "report",
      -  "conversation",
      -  "proposal",
      -  "usage",
      -  "spec",
      -  "amendment"
      -]New value: +[
      +  "research",
      +  "experiment",
      +  "code",
      +  "run",
      +  "artifact",
      +  "protocol",
      +  "dataset",
      +  "evaluation",
      +  "comparison",
      +  "analysis",
      +  "report",
      +  "conversation",
      +  "proposal",
      +  "usage",
      +  "spec",
      +  "amendment",
      +  "server",
      +  "repository",
      +  "environment",
      +  "operation"
      +]
    • changedInput schema / properties / record / properties / inputRefs / items / properties / type / enum
      Previous value: -[
      -  "research",
      -  "experiment",
      -  "code",
      -  "run",
      -  "artifact",
      -  "protocol",
      -  "dataset",
      -  "evaluation",
      -  "comparison",
      -  "analysis",
      -  "report",
      -  "conversation",
      -  "proposal",
      -  "usage",
      -  "spec",
      -  "amendment"
      -]New value: +[
      +  "research",
      +  "experiment",
      +  "code",
      +  "run",
      +  "artifact",
      +  "protocol",
      +  "dataset",
      +  "evaluation",
      +  "comparison",
      +  "analysis",
      +  "report",
      +  "conversation",
      +  "proposal",
      +  "usage",
      +  "spec",
      +  "amendment",
      +  "server",
      +  "repository",
      +  "environment",
      +  "operation"
      +]
    • changedInput schema / properties / record / properties / producerRef / properties / type / enum
      Previous value: -[
      -  "research",
      -  "experiment",
      -  "code",
      -  "run",
      -  "artifact",
      -  "protocol",
      -  "dataset",
      -  "evaluation",
      -  "comparison",
      -  "analysis",
      -  "report",
      -  "conversation",
      -  "proposal",
      -  "usage",
      -  "spec",
      -  "amendment"
      -]New value: +[
      +  "research",
      +  "experiment",
      +  "code",
      +  "run",
      +  "artifact",
      +  "protocol",
      +  "dataset",
      +  "evaluation",
      +  "comparison",
      +  "analysis",
      +  "report",
      +  "conversation",
      +  "proposal",
      +  "usage",
      +  "spec",
      +  "amendment",
      +  "server",
      +  "repository",
      +  "environment",
      +  "operation"
      +]
  2. First observedv0.3.3

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already declare that this is a non-read-only, non-destructive, idempotent, non-open-world operation. The description adds meaningful behavioral context beyond that: the output is immutable, provenance must reflect the actual producer, unresolved legacy outputs require source evidence plus an unknown-provenance description, and arbitrary files are not read. It does not cover authorization or failure behavior, but it adds useful operational constraints.

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

Conciseness5/5

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

The description is three tight sentences with the core action first, followed by the important legacy-provenance exception and a boundary statement. There is no filler, and the key constraints are front-loaded.

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

Completeness3/5

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

The schema is large and deeply nested, with no output schema and no parameter descriptions beyond provenance. The description covers the most policy-sensitive part, unresolved provenance, but it does not give enough context about the overall record shape, expectedRevision concurrency semantics, requestId behavior, or what the tool returns for such a complex registration operation.

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?

Schema description coverage is 0%, so the description must compensate, and it does clarify the important provenance field, producer reference, configuration, and legacy unresolved-case requirements. However, it does not explain requestId, projectId, expectedRevision, or the broader record structure and content variants, leaving significant required-parameter semantics to the schema alone.

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?

The description states a specific verb and resource: registering an immutable output together with its actual producer and configuration. It is clearly an artifact-registration tool rather than a read or query tool, though it does not explicitly name or distinguish itself from sibling register/save tools such as rws_run_register or rws_dataset_register.

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?

It gives explicit guidance for the ambiguous legacy case: when provenance is unresolved, set provenance=unresolved with source evidence and a description, and never invent a producer run. It also implies a boundary with 'Does not read arbitrary files.' It stops short of naming alternatives or detailing when a normal known-provenance registration should be used instead.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.