Skip to main content
Glama

Save Experiment Case

save_experiment_case
Destructive

Review/edit one draft case using the same completion checks as the UI.

    Pass its existing key to edit, or omit to add a new case. Copy the
    complete probe and role from get_experiment; choose success_keys from
    its actual non-consistency metric keys and explain the review. Preserve
    behavior/requirement links. Acceptance cases require explicit action
    authorization. Review for execution does not schedule recurring probes.
    

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": {
      "agent_id": "<agent_id>",
      "experiment_id": "<experiment_id>",
      "revision": "<revision>",
      "case": "<case>"
    },
    "name": "save_experiment_case"
  }
}

Input Schema

NameRequiredDescriptionDefault
keyNoExisting case key from get_experiment when updating; omit to add a new case.
caseYesComplete reviewed draft case object (role, probe, success_keys, review rationale, and optional authorized_action).
agent_idYesStable agent ID from list_agents or create_agent.
includedNoWhether this case is included when freezing and running the experiment.
revisionYesLatest draft revision returned by get_experiment or the previous edit.
experiment_idYesExperiment ID within this agent; letters, digits, hyphens, underscores.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • changedInput schema / properties / case / properties / probe / properties / metrics / items / oneOf
      Previous value: -[
      -  {
      -    "additionalProperties": false,
      -    "description": "Numeric expected values must appear among the numbers in the text; other\nexpected values must equal the entire trimmed text.",
      -    "properties": {
      -      "case_sensitive": {
      -        "default": false,
      -        "title": "Case Sensitive",
      -        "type": "boolean"
      -      },
      -      "description": {
      -        "title": "Description",
      -        "type": "string"
      -      },
      -      "expected_value": {
      -        "anyOf": [
      -          {
      -            "type": "string"
      -          },
      -          {
      -            "type": "integer"
      -          },
      -          {
      -            "type": "number"
      -          },
      -          {
      -            "type": "boolean"
      -          }
      -        ],
      -        "title": "Expected Value"
      -      },
      -      "key": {
      -        "minLength": 1,
      -        "pattern": "^[a-z][a-z0-9_]*$",
      -        "title": "Key",
      -        "type": "string"
      -      },
      -      "minimum_pass_fraction": {
      -        "default": 1,
      -        "exclusiveMinimum": 0,
      -        "maximum": 1,
      -        "title": "Minimum Pass Fraction",
      -        "type": "number"
      -      },
      -      "requirement_refs": {
      -        "items": {
      -          "additionalProperties": false,
      -          "properties": {
      -            "behavior_id": {
      -              "minLength": 1,
      -              "title": "Behavior Id",
      -              "type": "string"
      -            },
      -            "requirement_id": {
      -              "minLength": 1,
      -              "title": "Requirement Id",
      -              "type": "string"
      -            }
      -          },
      -          "required": [
      -            "behavior_id",
      -            "requirement_id"
      -          ],
      -          "title": "RequirementReference",
      -          "type": "object"
      -        },
      -        "title": "Requirement Refs",
      -        "type": "array"
      -      },
      -      "severity": {
      -        "default": "blocking",
      -        "enum": [
      -          "blocking",
      -          "informational"
      -        ],
      -        "title": "Severity",
      -        "type": "string"
      -      },
      -      "type": {
      -        "const": "exact_value",
      -        "title": "Type",
      -        "type": "string"
      -      }
      -    },
      -    "required": [
      -      "key",
      -      "description",
      -      "requirement_refs",
      -      "type",
      -      "expected_value"
      -    ],
      -    "title": "ExactValueMetric",
      -    "type": "object"
      -  },
      -  {
      -    "additionalProperties": false,
      -    "description": "The exact set of values selected by `source` must equal `expected_entities`\nin every execution.",
      -    "properties": {
      -      "description": {
      -        "title": "Description",
      -        "type": "string"
      -      },
      -      "expected_entities": {
      -        "items": {
      -          "type": "string"
      -        },
      -        "title": "Expected Entities",
      -        "type": "array"
      -      },
      -      "key": {
      -        "minLength": 1,
      -        "pattern": "^[a-z][a-z0-9_]*$",
      -        "title": "Key",
      -        "type": "string"
      -      },
      -      "minimum_pass_fraction": {
      -        "default": 1,
      -        "exclusiveMinimum": 0,
      -        "maximum": 1,
      -        "title": "Minimum Pass Fraction",
      -        "type": "number"
      -      },
      -      "requirement_refs": {
      -        "items": {
      -          "additionalProperties": false,
      -          "properties": {
      -            "behavior_id": {
      -              "minLength": 1,
      -              "title": "Behavior Id",
      -              "type": "string"
      -            },
      -            "requirement_id": {
      -              "minLength": 1,
      -              "title": "Requirement Id",
      -              "type": "string"
      -            }
      -          },
      -          "required": [
      -            "behavior_id",
      -            "requirement_id"
      -          ],
      -          "title": "RequirementReference",
      -          "type": "object"
      -        },
      -        "title": "Requirement Refs",
      -        "type": "array"
      -      },
      -      "severity": {
      -        "default": "blocking",
      -        "enum": [
      -          "blocking",
      -          "informational"
      -        ],
      -        "title": "Severity",
      -        "type": "string"
      -      },
      -      "source": {
      -        "default": "tool_names",
      -        "title": "Source",
      -        "type": "string"
      -      },
      -      "type": {
      -        "const": "set_equality",
      -        "title": "Type",
      -        "type": "string"
      -      }
      -    },
      -    "required": [
      -      "key",
      -      "description",
      -      "requirement_refs",
      -      "type",
      -      "expected_entities"
      -    ],
      -    "title": "SetEqualityMetric",
      -    "type": "object"
      -  },
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "case_sensitive": {
      -        "default": false,
      -        "title": "Case Sensitive",
      -        "type": "boolean"
      -      },
      -      "description": {
      -        "title": "Description",
      -        "type": "string"
      -      },
      -      "entities": {
      -        "items": {
      -          "type": "string"
      -        },
      -        "minItems": 1,
      -        "title": "Entities",
      -        "type": "array"
      -      },
      -      "key": {
      -        "minLength": 1,
      -        "pattern": "^[a-z][a-z0-9_]*$",
      -        "title": "Key",
      -        "type": "string"
      -      },
      -      "minimum_pass_fraction": {
      -        "default": 1,
      -        "exclusiveMinimum": 0,
      -        "maximum": 1,
      -        "title": "Minimum Pass Fraction",
      -        "type": "number"
      -      },
      -      "requirement_refs": {
      -        "items": {
      -          "additionalProperties": false,
      -          "properties": {
      -            "behavior_id": {
      -              "minLength": 1,
      -              "title": "Behavior Id",
      -              "type": "string"
      -            },
      -            "requirement_id": {
      -              "minLength": 1,
      -              "title": "Requirement Id",
      -              "type": "string"
      -            }
      -          },
      -          "required": [
      -            "behavior_id",
      -            "requirement_id"
      -          ],
      -          "title": "RequirementReference",
      -          "type": "object"
      -        },
      -        "title": "Requirement Refs",
      -        "type": "array"
      -      },
      -      "severity": {
      -        "default": "blocking",
      -        "enum": [
      -          "blocking",
      -          "informational"
      -        ],
      -        "title": "Severity",
      -        "type": "string"
      -      },
      -      "source": {
      -        "title": "Source",
      -        "type": "string"
      -      },
      -      "type": {
      -        "const": "required_entities",
      -        "title": "Type",
      -        "type": "string"
      -      }
      -    },
      -    "required": [
      -      "key",
      -      "description",
      -      "requirement_refs",
      -      "type",
      -      "entities",
      -      "source"
      -    ],
      -    "title": "RequiredEntitiesMetric",
      -    "type": "object"
      -  },
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "case_sensitive": {
      -        "default": false,
      -        "title": "Case Sensitive",
      -        "type": "boolean"
      -      },
      -      "description": {
      -        "title": "Description",
      -        "type": "string"
      -      },
      -      "entities": {
      -        "items": {
      -          "type": "string"
      -        },
      -        "minItems": 1,
      -        "title": "Entities",
      -        "type": "array"
      -      },
      -      "key": {
      -        "minLength": 1,
      -        "pattern": "^[a-z][a-z0-9_]*$",
      -        "title": "Key",
      -        "type": "string"
      -      },
      -      "minimum_pass_fraction": {
      -        "default": 1,
      -        "exclusiveMinimum": 0,
      -        "maximum": 1,
      -        "title": "Minimum Pass Fraction",
      -        "type": "number"
      -      },
      -      "requirement_refs": {
      -        "items": {
      -          "additionalProperties": false,
      -          "properties": {
      -            "behavior_id": {
      -              "minLength": 1,
      -              "title": "Behavior Id",
      -              "type": "string"
      -            },
      -            "requirement_id": {
      -              "minLength": 1,
      -              "title": "Requirement Id",
      -              "type": "string"
      -            }
      -          },
      -          "required": [
      -            "behavior_id",
      -            "requirement_id"
      -          ],
      -          "title": "RequirementReference",
      -          "type": "object"
      -        },
      -        "title": "Requirement Refs",
      -        "type": "array"
      -      },
      -      "severity": {
      -        "default": "blocking",
      -        "enum": [
      -          "blocking",
      -          "informational"
      -        ],
      -        "title": "Severity",
      -        "type": "string"
      -      },
      -      "source": {
      -        "title": "Source",
      -        "type": "string"
      -      },
      -      "type": {
      -        "const": "forbidden_entities",
      -        "title": "Type",
      -        "type": "string"
      -      }
      -    },
      -    "required": [
      -      "key",
      -      "description",
      -      "requirement_refs",
      -      "type",
      -      "entities",
      -      "source"
      -    ],
      -    "title": "ForbiddenEntitiesMetric",
      -    "type": "object"
      -  },
      -  {
      -    "additionalProperties": false,
      -    "description": "Every numeric value selected by the JSONPath `source` must fall within the\nrange, and at least one value must be present, in every execution.",
      -    "properties": {
      -      "description": {
      -        "title": "Description",
      -        "type": "string"
      -      },
      -      "key": {
      -        "minLength": 1,
      -        "pattern": "^[a-z][a-z0-9_]*$",
      -        "title": "Key",
      -        "type": "string"
      -      },
      -      "maximum": {
      -        "title": "Maximum",
      -        "type": "number"
      -      },
      -      "minimum": {
      -        "title": "Minimum",
      -        "type": "number"
      -      },
      -      "minimum_pass_fraction": {
      -        "default": 1,
      -        "exclusiveMinimum": 0,
      -        "maximum": 1,
      -        "title": "Minimum Pass Fraction",
      -        "type": "number"
      -      },
      -      "requirement_refs": {
      -        "items": {
      -          "additionalProperties": false,
      -          "properties": {
      -            "behavior_id": {
      -              "minLength": 1,
      -              "title": "Behavior Id",
      -              "type": "string"
      -            },
      -            "requirement_id": {
      -              "minLength": 1,
      -              "title": "Requirement Id",
      -              "type": "string"
      -            }
      -          },
      -          "required": [
      -            "behavior_id",
      -            "requirement_id"
      -          ],
      -          "title": "RequirementReference",
      -          "type": "object"
      -        },
      -        "title": "Requirement Refs",
      -        "type": "array"
      -      },
      -      "severity": {
      -        "default": "blocking",
      -        "enum": [
      -          "blocking",
      -          "informational"
      -        ],
      -        "title": "Severity",
      -        "type": "string"
      -      },
      -      "source": {
      -        "title": "Source",
      -        "type": "string"
      -      },
      -      "type": {
      -        "const": "numeric_range",
      -        "title": "Type",
      -        "type": "string"
      -      }
      -    },
      -    "required": [
      -      "key",
      -      "description",
      -      "requirement_refs",
      -      "type",
      -      "minimum",
      -      "maximum",
      -      "source"
      -    ],
      -    "title": "NumericRangeMetric",
      -    "type": "object"
      -  },
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "case_sensitive": {
      -        "default": false,
      -        "title": "Case Sensitive",
      -        "type": "boolean"
      -      },
      -      "description": {
      -        "title": "Description",
      -        "type": "string"
      -      },
      -      "key": {
      -        "minLength": 1,
      -        "pattern": "^[a-z][a-z0-9_]*$",
      -        "title": "Key",
      -        "type": "string"
      -      },
      -      "minimum_pass_fraction": {
      -        "default": 1,
      -        "exclusiveMinimum": 0,
      -        "maximum": 1,
      -        "title": "Minimum Pass Fraction",
      -        "type": "number"
      -      },
      -      "requirement_refs": {
      -        "items": {
      -          "additionalProperties": false,
      -          "properties": {
      -            "behavior_id": {
      -              "minLength": 1,
      -              "title": "Behavior Id",
      -              "type": "string"
      -            },
      -            "requirement_id": {
      -              "minLength": 1,
      -              "title": "Requirement Id",
      -              "type": "string"
      -            }
      -          },
      -          "required": [
      -            "behavior_id",
      -            "requirement_id"
      -          ],
      -          "title": "RequirementReference",
      -          "type": "object"
      -        },
      -        "title": "Requirement Refs",
      -        "type": "array"
      -      },
      -      "severity": {
      -        "default": "blocking",
      -        "enum": [
      -          "blocking",
      -          "informational"
      -        ],
      -        "title": "Severity",
      -        "type": "string"
      -      },
      -      "type": {
      -        "const": "contains",
      -        "title": "Type",
      -        "type": "string"
      -      },
      -      "values": {
      -        "items": {
      -          "type": "string"
      -        },
      -        "minItems": 1,
      -        "title": "Values",
      -        "type": "array"
      -      }
      -    },
      -    "required": [
      -      "key",
      -      "description",
      -      "requirement_refs",
      -      "type",
      -      "values"
      -    ],
      -    "title": "ContainsMetric",
      -    "type": "object"
      -  },
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "case_sensitive": {
      -        "default": false,
      -        "title": "Case Sensitive",
      -        "type": "boolean"
      -      },
      -      "description": {
      -        "title": "Description",
      -        "type": "string"
      -      },
      -      "key": {
      -        "minLength": 1,
      -        "pattern": "^[a-z][a-z0-9_]*$",
      -        "title": "Key",
      -        "type": "string"
      -      },
      -      "minimum_pass_fraction": {
      -        "default": 1,
      -        "exclusiveMinimum": 0,
      -        "maximum": 1,
      -        "title": "Minimum Pass Fraction",
      -        "type": "number"
      -      },
      -      "requirement_refs": {
      -        "items": {
      -          "additionalProperties": false,
      -          "properties": {
      -            "behavior_id": {
      -              "minLength": 1,
      -              "title": "Behavior Id",
      -              "type": "string"
      -            },
      -            "requirement_id": {
      -              "minLength": 1,
      -              "title": "Requirement Id",
      -              "type": "string"
      -            }
      -          },
      -          "required": [
      -            "behavior_id",
      -            "requirement_id"
      -          ],
      -          "title": "RequirementReference",
      -          "type": "object"
      -        },
      -        "title": "Requirement Refs",
      -        "type": "array"
      -      },
      -      "severity": {
      -        "default": "blocking",
      -        "enum": [
      -          "blocking",
      -          "informational"
      -        ],
      -        "title": "Severity",
      -        "type": "string"
      -      },
      -      "type": {
      -        "const": "does_not_contain",
      -        "title": "Type",
      -        "type": "string"
      -      },
      -      "values": {
      -        "items": {
      -          "type": "string"
      -        },
      -        "minItems": 1,
      -        "title": "Values",
      -        "type": "array"
      -      }
      -    },
      -    "required": [
      -      "key",
      -      "description",
      -      "requirement_refs",
      -      "type",
      -      "values"
      -    ],
      -    "title": "DoesNotContainMetric",
      -    "type": "object"
      -  },
      -  {
      -    "additionalProperties": false,
      -    "description": "Simpson concentration of the selected values across repeated executions.",
      -    "properties": {
      -      "description": {
      -        "title": "Description",
      -        "type": "string"
      -      },
      -      "key": {
      -        "minLength": 1,
      -        "pattern": "^[a-z][a-z0-9_]*$",
      -        "title": "Key",
      -        "type": "string"
      -      },
      -      "minimum_pass_fraction": {
      -        "default": 1,
      -        "exclusiveMinimum": 0,
      -        "maximum": 1,
      -        "title": "Minimum Pass Fraction",
      -        "type": "number"
      -      },
      -      "minimum_score": {
      -        "default": 1,
      -        "maximum": 1,
      -        "minimum": 0,
      -        "title": "Minimum Score",
      -        "type": "number"
      -      },
      -      "requirement_refs": {
      -        "items": {
      -          "additionalProperties": false,
      -          "properties": {
      -            "behavior_id": {
      -              "minLength": 1,
      -              "title": "Behavior Id",
      -              "type": "string"
      -            },
      -            "requirement_id": {
      -              "minLength": 1,
      -              "title": "Requirement Id",
      -              "type": "string"
      -            }
      -          },
      -          "required": [
      -            "behavior_id",
      -            "requirement_id"
      -          ],
      -          "title": "RequirementReference",
      -          "type": "object"
      -        },
      -        "title": "Requirement Refs",
      -        "type": "array"
      -      },
      -      "severity": {
      -        "default": "blocking",
      -        "enum": [
      -          "blocking",
      -          "informational"
      -        ],
      -        "title": "Severity",
      -        "type": "string"
      -      },
      -      "source": {
      -        "default": "auto",
      -        "title": "Source",
      -        "type": "string"
      -      },
      -      "type": {
      -        "const": "consistency",
      -        "title": "Type",
      -        "type": "string"
      -      }
      -    },
      -    "required": [
      -      "key",
      -      "description",
      -      "requirement_refs",
      -      "type"
      -    ],
      -    "title": "ConsistencyMetric",
      -    "type": "object"
      -  },
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "description": {
      -        "title": "Description",
      -        "type": "string"
      -      },
      -      "expected": {
      -        "default": "called",
      -        "enum": [
      -          "called",
      -          "not_called"
      -        ],
      -        "title": "Expected",
      -        "type": "string"
      -      },
      -      "key": {
      -        "minLength": 1,
      -        "pattern": "^[a-z][a-z0-9_]*$",
      -        "title": "Key",
      -        "type": "string"
      -      },
      -      "minimum_pass_fraction": {
      -        "default": 1,
      -        "exclusiveMinimum": 0,
      -        "maximum": 1,
      -        "title": "Minimum Pass Fraction",
      -        "type": "number"
      -      },
      -      "requirement_refs": {
      -        "items": {
      -          "additionalProperties": false,
      -          "properties": {
      -            "behavior_id": {
      -              "minLength": 1,
      -              "title": "Behavior Id",
      -              "type": "string"
      -            },
      -            "requirement_id": {
      -              "minLength": 1,
      -              "title": "Requirement Id",
      -              "type": "string"
      -            }
      -          },
      -          "required": [
      -            "behavior_id",
      -            "requirement_id"
      -          ],
      -          "title": "RequirementReference",
      -          "type": "object"
      -        },
      -        "title": "Requirement Refs",
      -        "type": "array"
      -      },
      -      "severity": {
      -        "default": "blocking",
      -        "enum": [
      -          "blocking",
      -          "informational"
      -        ],
      -        "title": "Severity",
      -        "type": "string"
      -      },
      -      "tool_name": {
      -        "minLength": 1,
      -        "title": "Tool Name",
      -        "type": "string"
      -      },
      -      "type": {
      -        "const": "tool_called",
      -        "title": "Type",
      -        "type": "string"
      -      }
      -    },
      -    "required": [
      -      "key",
      -      "description",
      -      "requirement_refs",
      -      "type",
      -      "tool_name"
      -    ],
      -    "title": "ToolCalledMetric",
      -    "type": "object"
      -  },
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "description": {
      -        "title": "Description",
      -        "type": "string"
      -      },
      -      "key": {
      -        "minLength": 1,
      -        "pattern": "^[a-z][a-z0-9_]*$",
      -        "title": "Key",
      -        "type": "string"
      -      },
      -      "maximum": {
      -        "anyOf": [
      -          {
      -            "minimum": 0,
      -            "type": "integer"
      -          },
      -          {
      -            "type": "null"
      -          }
      -        ],
      -        "default": null,
      -        "title": "Maximum"
      -      },
      -      "minimum": {
      -        "minimum": 0,
      -        "title": "Minimum",
      -        "type": "integer"
      -      },
      -      "minimum_pass_fraction": {
      -        "default": 1,
      -        "exclusiveMinimum": 0,
      -        "maximum": 1,
      -        "title": "Minimum Pass Fraction",
      -        "type": "number"
      -      },
      -      "requirement_refs": {
      -        "items": {
      -          "additionalProperties": false,
      -          "properties": {
      -            "behavior_id": {
      -              "minLength": 1,
      -              "title": "Behavior Id",
      -              "type": "string"
      -            },
      -            "requirement_id": {
      -              "minLength": 1,
      -              "title": "Requirement Id",
      -              "type": "string"
      -            }
      -          },
      -          "required": [
      -            "behavior_id",
      -            "requirement_id"
      -          ],
      -          "title": "RequirementReference",
      -          "type": "object"
      -        },
      -        "title": "Requirement Refs",
      -        "type": "array"
      -      },
      -      "severity": {
      -        "default": "blocking",
      -        "enum": [
      -          "blocking",
      -          "informational"
      -        ],
      -        "title": "Severity",
      -        "type": "string"
      -      },
      -      "tool_name": {
      -        "minLength": 1,
      -        "title": "Tool Name",
      -        "type": "string"
      -      },
      -      "type": {
      -        "const": "tool_call_count",
      -        "title": "Type",
      -        "type": "string"
      -      }
      -    },
      -    "required": [
      -      "key",
      -      "description",
      -      "requirement_refs",
      -      "type",
      -      "tool_name",
      -      "minimum"
      -    ],
      -    "title": "ToolCallCountMetric",
      -    "type": "object"
      -  },
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "description": {
      -        "title": "Description",
      -        "type": "string"
      -      },
      -      "first_tool": {
      -        "minLength": 1,
      -        "title": "First Tool",
      -        "type": "string"
      -      },
      -      "key": {
      -        "minLength": 1,
      -        "pattern": "^[a-z][a-z0-9_]*$",
      -        "title": "Key",
      -        "type": "string"
      -      },
      -      "minimum_pass_fraction": {
      -        "default": 1,
      -        "exclusiveMinimum": 0,
      -        "maximum": 1,
      -        "title": "Minimum Pass Fraction",
      -        "type": "number"
      -      },
      -      "requirement_refs": {
      -        "items": {
      -          "additionalProperties": false,
      -          "properties": {
      -            "behavior_id": {
      -              "minLength": 1,
      -              "title": "Behavior Id",
      -              "type": "string"
      -            },
      -            "requirement_id": {
      -              "minLength": 1,
      -              "title": "Requirement Id",
      -              "type": "string"
      -            }
      -          },
      -          "required": [
      -            "behavior_id",
      -            "requirement_id"
      -          ],
      -          "title": "RequirementReference",
      -          "type": "object"
      -        },
      -        "title": "Requirement Refs",
      -        "type": "array"
      -      },
      -      "severity": {
      -        "default": "blocking",
      -        "enum": [
      -          "blocking",
      -          "informational"
      -        ],
      -        "title": "Severity",
      -        "type": "string"
      -      },
      -      "then_tool": {
      -        "minLength": 1,
      -        "title": "Then Tool",
      -        "type": "string"
      -      },
      -      "type": {
      -        "const": "tool_order",
      -        "title": "Type",
      -        "type": "string"
      -      }
      -    },
      -    "required": [
      -      "key",
      -      "description",
      -      "requirement_refs",
      -      "type",
      -      "first_tool",
      -      "then_tool"
      -    ],
      -    "title": "ToolOrderMetric",
      -    "type": "object"
      -  },
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "description": {
      -        "title": "Description",
      -        "type": "string"
      -      },
      -      "expected_outcome": {
      -        "default": "succeeded",
      -        "enum": [
      -          "succeeded",
      -          "failed"
      -        ],
      -        "title": "Expected Outcome",
      -        "type": "string"
      -      },
      -      "key": {
      -        "minLength": 1,
      -        "pattern": "^[a-z][a-z0-9_]*$",
      -        "title": "Key",
      -        "type": "string"
      -      },
      -      "minimum_pass_fraction": {
      -        "default": 1,
      -        "exclusiveMinimum": 0,
      -        "maximum": 1,
      -        "title": "Minimum Pass Fraction",
      -        "type": "number"
      -      },
      -      "requirement_refs": {
      -        "items": {
      -          "additionalProperties": false,
      -          "properties": {
      -            "behavior_id": {
      -              "minLength": 1,
      -              "title": "Behavior Id",
      -              "type": "string"
      -            },
      -            "requirement_id": {
      -              "minLength": 1,
      -              "title": "Requirement Id",
      -              "type": "string"
      -            }
      -          },
      -          "required": [
      -            "behavior_id",
      -            "requirement_id"
      -          ],
      -          "title": "RequirementReference",
      -          "type": "object"
      -        },
      -        "title": "Requirement Refs",
      -        "type": "array"
      -      },
      -      "severity": {
      -        "default": "blocking",
      -        "enum": [
      -          "blocking",
      -          "informational"
      -        ],
      -        "title": "Severity",
      -        "type": "string"
      -      },
      -      "tool_name": {
      -        "minLength": 1,
      -        "title": "Tool Name",
      -        "type": "string"
      -      },
      -      "type": {
      -        "const": "tool_outcome",
      -        "title": "Type",
      -        "type": "string"
      -      }
      -    },
      -    "required": [
      -      "key",
      -      "description",
      -      "requirement_refs",
      -      "type",
      -      "tool_name"
      -    ],
      -    "title": "ToolOutcomeMetric",
      -    "type": "object"
      -  },
      -  {
      -    "additionalProperties": false,
      -    "description": "Match selected inputs within a call, then quantify over calls.",
      -    "properties": {
      -      "case_sensitive": {
      -        "default": false,
      -        "title": "Case Sensitive",
      -        "type": "boolean"
      -      },
      -      "contains": {
      -        "anyOf": [
      -          {
      -            "type": "string"
      -          },
      -          {
      -            "type": "null"
      -          }
      -        ],
      -        "default": null,
      -        "title": "Contains"
      -      },
      -      "description": {
      -        "title": "Description",
      -        "type": "string"
      -      },
      -      "expected": {
      -        "default": "matches",
      -        "enum": [
      -          "matches",
      -          "does_not_match"
      -        ],
      -        "title": "Expected",
      -        "type": "string"
      -      },
      -      "expected_value": {
      -        "anyOf": [
      -          {
      -            "type": "string"
      -          },
      -          {
      -            "type": "integer"
      -          },
      -          {
      -            "type": "number"
      -          },
      -          {
      -            "type": "boolean"
      -          },
      -          {
      -            "type": "null"
      -          }
      -        ],
      -        "default": null,
      -        "title": "Expected Value"
      -      },
      -      "key": {
      -        "minLength": 1,
      -        "pattern": "^[a-z][a-z0-9_]*$",
      -        "title": "Key",
      -        "type": "string"
      -      },
      -      "maximum": {
      -        "anyOf": [
      -          {
      -            "type": "number"
      -          },
      -          {
      -            "type": "null"
      -          }
      -        ],
      -        "default": null,
      -        "title": "Maximum"
      -      },
      -      "minimum": {
      -        "anyOf": [
      -          {
      -            "type": "number"
      -          },
      -          {
      -            "type": "null"
      -          }
      -        ],
      -        "default": null,
      -        "title": "Minimum"
      -      },
      -      "minimum_pass_fraction": {
      -        "default": 1,
      -        "exclusiveMinimum": 0,
      -        "maximum": 1,
      -        "title": "Minimum Pass Fraction",
      -        "type": "number"
      -      },
      -      "normalize": {
      -        "default": true,
      -        "title": "Normalize",
      -        "type": "boolean"
      -      },
      -      "path": {
      -        "minLength": 1,
      -        "title": "Path",
      -        "type": "string"
      -      },
      -      "quantifier": {
      -        "default": "any_call",
      -        "enum": [
      -          "every_call",
      -          "any_call"
      -        ],
      -        "title": "Quantifier",
      -        "type": "string"
      -      },
      -      "requirement_refs": {
      -        "items": {
      -          "additionalProperties": false,
      -          "properties": {
      -            "behavior_id": {
      -              "minLength": 1,
      -              "title": "Behavior Id",
      -              "type": "string"
      -            },
      -            "requirement_id": {
      -              "minLength": 1,
      -              "title": "Requirement Id",
      -              "type": "string"
      -            }
      -          },
      -          "required": [
      -            "behavior_id",
      -            "requirement_id"
      -          ],
      -          "title": "RequirementReference",
      -          "type": "object"
      -        },
      -        "title": "Requirement Refs",
      -        "type": "array"
      -      },
      -      "severity": {
      -        "default": "blocking",
      -        "enum": [
      -          "blocking",
      -          "informational"
      -        ],
      -        "title": "Severity",
      -        "type": "string"
      -      },
      -      "tool_name": {
      -        "minLength": 1,
      -        "title": "Tool Name",
      -        "type": "string"
      -      },
      -      "type": {
      -        "const": "tool_input_matches",
      -        "title": "Type",
      -        "type": "string"
      -      }
      -    },
      -    "required": [
      -      "key",
      -      "description",
      -      "requirement_refs",
      -      "type",
      -      "tool_name",
      -      "path"
      -    ],
      -    "title": "ToolInputMatchesMetric",
      -    "type": "object"
      -  },
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "description": {
      -        "title": "Description",
      -        "type": "string"
      -      },
      -      "expected": {
      -        "default": "invoked",
      -        "enum": [
      -          "invoked",
      -          "not_invoked"
      -        ],
      -        "title": "Expected",
      -        "type": "string"
      -      },
      -      "key": {
      -        "minLength": 1,
      -        "pattern": "^[a-z][a-z0-9_]*$",
      -        "title": "Key",
      -        "type": "string"
      -      },
      -      "minimum_pass_fraction": {
      -        "default": 1,
      -        "exclusiveMinimum": 0,
      -        "maximum": 1,
      -        "title": "Minimum Pass Fraction",
      -        "type": "number"
      -      },
      -      "requirement_refs": {
      -        "items": {
      -          "additionalProperties": false,
      -          "properties": {
      -            "behavior_id": {
      -              "minLength": 1,
      -              "title": "Behavior Id",
      -              "type": "string"
      -            },
      -            "requirement_id": {
      -              "minLength": 1,
      -              "title": "Requirement Id",
      -              "type": "string"
      -            }
      -          },
      -          "required": [
      -            "behavior_id",
      -            "requirement_id"
      -          ],
      -          "title": "RequirementReference",
      -          "type": "object"
      -        },
      -        "title": "Requirement Refs",
      -        "type": "array"
      -      },
      -      "severity": {
      -        "default": "blocking",
      -        "enum": [
      -          "blocking",
      -          "informational"
      -        ],
      -        "title": "Severity",
      -        "type": "string"
      -      },
      -      "subagent_name": {
      -        "minLength": 1,
      -        "title": "Subagent Name",
      -        "type": "string"
      -      },
      -      "type": {
      -        "const": "subagent_invoked",
      -        "title": "Type",
      -        "type": "string"
      -      }
      -    },
      -    "required": [
      -      "key",
      -      "description",
      -      "requirement_refs",
      -      "type",
      -      "subagent_name"
      -    ],
      -    "title": "SubagentInvokedMetric",
      -    "type": "object"
      -  },
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "description": {
      -        "title": "Description",
      -        "type": "string"
      -      },
      -      "expected_outcome": {
      -        "default": "succeeded",
      -        "enum": [
      -          "succeeded",
      -          "failed"
      -        ],
      -        "title": "Expected Outcome",
      -        "type": "string"
      -      },
      -      "key": {
      -        "minLength": 1,
      -        "pattern": "^[a-z][a-z0-9_]*$",
      -        "title": "Key",
      -        "type": "string"
      -      },
      -      "minimum_pass_fraction": {
      -        "default": 1,
      -        "exclusiveMinimum": 0,
      -        "maximum": 1,
      -        "title": "Minimum Pass Fraction",
      -        "type": "number"
      -      },
      -      "requirement_refs": {
      -        "items": {
      -          "additionalProperties": false,
      -          "properties": {
      -            "behavior_id": {
      -              "minLength": 1,
      -              "title": "Behavior Id",
      -              "type": "string"
      -            },
      -            "requirement_id": {
      -              "minLength": 1,
      -              "title": "Requirement Id",
      -              "type": "string"
      -            }
      -          },
      -          "required": [
      -            "behavior_id",
      -            "requirement_id"
      -          ],
      -          "title": "RequirementReference",
      -          "type": "object"
      -        },
      -        "title": "Requirement Refs",
      -        "type": "array"
      -      },
      -      "severity": {
      -        "default": "blocking",
      -        "enum": [
      -          "blocking",
      -          "informational"
      -        ],
      -        "title": "Severity",
      -        "type": "string"
      -      },
      -      "subagent_name": {
      -        "minLength": 1,
      -        "title": "Subagent Name",
      -        "type": "string"
      -      },
      -      "type": {
      -        "const": "subagent_outcome",
      -        "title": "Type",
      -        "type": "string"
      -      }
      -    },
      -    "required": [
      -      "key",
      -      "description",
      -      "requirement_refs",
      -      "type",
      -      "subagent_name"
      -    ],
      -    "title": "SubagentOutcomeMetric",
      -    "type": "object"
      -  },
      -  {
      -    "additionalProperties": false,
      -    "description": "`path` must select at least one value from the structured output.",
      -    "properties": {
      -      "description": {
      -        "title": "Description",
      -        "type": "string"
      -      },
      -      "key": {
      -        "minLength": 1,
      -        "pattern": "^[a-z][a-z0-9_]*$",
      -        "title": "Key",
      -        "type": "string"
      -      },
      -      "minimum_pass_fraction": {
      -        "default": 1,
      -        "exclusiveMinimum": 0,
      -        "maximum": 1,
      -        "title": "Minimum Pass Fraction",
      -        "type": "number"
      -      },
      -      "path": {
      -        "minLength": 1,
      -        "title": "Path",
      -        "type": "string"
      -      },
      -      "requirement_refs": {
      -        "items": {
      -          "additionalProperties": false,
      -          "properties": {
      -            "behavior_id": {
      -              "minLength": 1,
      -              "title": "Behavior Id",
      -              "type": "string"
      -            },
      -            "requirement_id": {
      -              "minLength": 1,
      -              "title": "Requirement Id",
      -              "type": "string"
      -            }
      -          },
      -          "required": [
      -            "behavior_id",
      -            "requirement_id"
      -          ],
      -          "title": "RequirementReference",
      -          "type": "object"
      -        },
      -        "title": "Requirement Refs",
      -        "type": "array"
      -      },
      -      "severity": {
      -        "default": "blocking",
      -        "enum": [
      -          "blocking",
      -          "informational"
      -        ],
      -        "title": "Severity",
      -        "type": "string"
      -      },
      -      "type": {
      -        "const": "json_path_exists",
      -        "title": "Type",
      -        "type": "string"
      -      }
      -    },
      -    "required": [
      -      "key",
      -      "description",
      -      "requirement_refs",
      -      "type",
      -      "path"
      -    ],
      -    "title": "JsonPathExistsMetric",
      -    "type": "object"
      -  },
      -  {
      -    "additionalProperties": false,
      -    "description": "Values selected by `path` from the structured output must satisfy the\nconfigured condition: equal `expected_value`, contain `contains`, or lie\nwithin `minimum`/`maximum`.",
      -    "properties": {
      -      "case_sensitive": {
      -        "default": false,
      -        "title": "Case Sensitive",
      -        "type": "boolean"
      -      },
      -      "contains": {
      -        "anyOf": [
      -          {
      -            "type": "string"
      -          },
      -          {
      -            "type": "null"
      -          }
      -        ],
      -        "default": null,
      -        "title": "Contains"
      -      },
      -      "description": {
      -        "title": "Description",
      -        "type": "string"
      -      },
      -      "expected_value": {
      -        "anyOf": [
      -          {
      -            "type": "string"
      -          },
      -          {
      -            "type": "integer"
      -          },
      -          {
      -            "type": "number"
      -          },
      -          {
      -            "type": "boolean"
      -          },
      -          {
      -            "type": "null"
      -          }
      -        ],
      -        "default": null,
      -        "title": "Expected Value"
      -      },
      -      "key": {
      -        "minLength": 1,
      -        "pattern": "^[a-z][a-z0-9_]*$",
      -        "title": "Key",
      -        "type": "string"
      -      },
      -      "maximum": {
      -        "anyOf": [
      -          {
      -            "type": "number"
      -          },
      -          {
      -            "type": "null"
      -          }
      -        ],
      -        "default": null,
      -        "title": "Maximum"
      -      },
      -      "minimum": {
      -        "anyOf": [
      -          {
      -            "type": "number"
      -          },
      -          {
      -            "type": "null"
      -          }
      -        ],
      -        "default": null,
      -        "title": "Minimum"
      -      },
      -      "minimum_pass_fraction": {
      -        "default": 1,
      -        "exclusiveMinimum": 0,
      -        "maximum": 1,
      -        "title": "Minimum Pass Fraction",
      -        "type": "number"
      -      },
      -      "path": {
      -        "minLength": 1,
      -        "title": "Path",
      -        "type": "string"
      -      },
      -      "requirement_refs": {
      -        "items": {
      -          "additionalProperties": false,
      -          "properties": {
      -            "behavior_id": {
      -              "minLength": 1,
      -              "title": "Behavior Id",
      -              "type": "string"
      -            },
      -            "requirement_id": {
      -              "minLength": 1,
      -              "title": "Requirement Id",
      -              "type": "string"
      -            }
      -          },
      -          "required": [
      -            "behavior_id",
      -            "requirement_id"
      -          ],
      -          "title": "RequirementReference",
      -          "type": "object"
      -        },
      -        "title": "Requirement Refs",
      -        "type": "array"
      -      },
      -      "severity": {
      -        "default": "blocking",
      -        "enum": [
      -          "blocking",
      -          "informational"
      -        ],
      -        "title": "Severity",
      -        "type": "string"
      -      },
      -      "type": {
      -        "const": "json_path_value",
      -        "title": "Type",
      -        "type": "string"
      -      }
      -    },
      -    "required": [
      -      "key",
      -      "description",
      -      "requirement_refs",
      -      "type",
      -      "path"
      -    ],
      -    "title": "JsonPathValueMetric",
      -    "type": "object"
      -  }
      -]New value: +[
      +  {
      +    "additionalProperties": false,
      +    "description": "Numeric expected values must appear among the numbers in the text; other\nexpected values must equal the entire trimmed text.",
      +    "properties": {
      +      "case_sensitive": {
      +        "default": false,
      +        "title": "Case Sensitive",
      +        "type": "boolean"
      +      },
      +      "description": {
      +        "title": "Description",
      +        "type": "string"
      +      },
      +      "expected_value": {
      +        "anyOf": [
      +          {
      +            "type": "string"
      +          },
      +          {
      +            "type": "integer"
      +          },
      +          {
      +            "type": "number"
      +          },
      +          {
      +            "type": "boolean"
      +          }
      +        ],
      +        "title": "Expected Value"
      +      },
      +      "key": {
      +        "minLength": 1,
      +        "pattern": "^[a-z][a-z0-9_]*$",
      +        "title": "Key",
      +        "type": "string"
      +      },
      +      "minimum_pass_fraction": {
      +        "default": 1,
      +        "exclusiveMinimum": 0,
      +        "maximum": 1,
      +        "title": "Minimum Pass Fraction",
      +        "type": "number"
      +      },
      +      "requirement_refs": {
      +        "items": {
      +          "additionalProperties": false,
      +          "properties": {
      +            "behavior_id": {
      +              "minLength": 1,
      +              "title": "Behavior Id",
      +              "type": "string"
      +            },
      +            "requirement_id": {
      +              "minLength": 1,
      +              "title": "Requirement Id",
      +              "type": "string"
      +            }
      +          },
      +          "required": [
      +            "behavior_id",
      +            "requirement_id"
      +          ],
      +          "title": "RequirementReference",
      +          "type": "object"
      +        },
      +        "title": "Requirement Refs",
      +        "type": "array"
      +      },
      +      "severity": {
      +        "default": "blocking",
      +        "enum": [
      +          "blocking",
      +          "informational"
      +        ],
      +        "title": "Severity",
      +        "type": "string"
      +      },
      +      "type": {
      +        "const": "exact_value",
      +        "title": "Type",
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "key",
      +      "description",
      +      "requirement_refs",
      +      "type",
      +      "expected_value"
      +    ],
      +    "title": "ExactValueMetric",
      +    "type": "object"
      +  },
      +  {
      +    "additionalProperties": false,
      +    "description": "The exact set of values selected by `source` must equal `expected_entities`\nin every execution.",
      +    "properties": {
      +      "description": {
      +        "title": "Description",
      +        "type": "string"
      +      },
      +      "expected_entities": {
      +        "items": {
      +          "type": "string"
      +        },
      +        "title": "Expected Entities",
      +        "type": "array"
      +      },
      +      "key": {
      +        "minLength": 1,
      +        "pattern": "^[a-z][a-z0-9_]*$",
      +        "title": "Key",
      +        "type": "string"
      +      },
      +      "minimum_pass_fraction": {
      +        "default": 1,
      +        "exclusiveMinimum": 0,
      +        "maximum": 1,
      +        "title": "Minimum Pass Fraction",
      +        "type": "number"
      +      },
      +      "requirement_refs": {
      +        "items": {
      +          "additionalProperties": false,
      +          "properties": {
      +            "behavior_id": {
      +              "minLength": 1,
      +              "title": "Behavior Id",
      +              "type": "string"
      +            },
      +            "requirement_id": {
      +              "minLength": 1,
      +              "title": "Requirement Id",
      +              "type": "string"
      +            }
      +          },
      +          "required": [
      +            "behavior_id",
      +            "requirement_id"
      +          ],
      +          "title": "RequirementReference",
      +          "type": "object"
      +        },
      +        "title": "Requirement Refs",
      +        "type": "array"
      +      },
      +      "severity": {
      +        "default": "blocking",
      +        "enum": [
      +          "blocking",
      +          "informational"
      +        ],
      +        "title": "Severity",
      +        "type": "string"
      +      },
      +      "source": {
      +        "default": "tool_names",
      +        "title": "Source",
      +        "type": "string"
      +      },
      +      "type": {
      +        "const": "set_equality",
      +        "title": "Type",
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "key",
      +      "description",
      +      "requirement_refs",
      +      "type",
      +      "expected_entities"
      +    ],
      +    "title": "SetEqualityMetric",
      +    "type": "object"
      +  },
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "case_sensitive": {
      +        "default": false,
      +        "title": "Case Sensitive",
      +        "type": "boolean"
      +      },
      +      "description": {
      +        "title": "Description",
      +        "type": "string"
      +      },
      +      "entities": {
      +        "items": {
      +          "type": "string"
      +        },
      +        "minItems": 1,
      +        "title": "Entities",
      +        "type": "array"
      +      },
      +      "key": {
      +        "minLength": 1,
      +        "pattern": "^[a-z][a-z0-9_]*$",
      +        "title": "Key",
      +        "type": "string"
      +      },
      +      "minimum_pass_fraction": {
      +        "default": 1,
      +        "exclusiveMinimum": 0,
      +        "maximum": 1,
      +        "title": "Minimum Pass Fraction",
      +        "type": "number"
      +      },
      +      "requirement_refs": {
      +        "items": {
      +          "additionalProperties": false,
      +          "properties": {
      +            "behavior_id": {
      +              "minLength": 1,
      +              "title": "Behavior Id",
      +              "type": "string"
      +            },
      +            "requirement_id": {
      +              "minLength": 1,
      +              "title": "Requirement Id",
      +              "type": "string"
      +            }
      +          },
      +          "required": [
      +            "behavior_id",
      +            "requirement_id"
      +          ],
      +          "title": "RequirementReference",
      +          "type": "object"
      +        },
      +        "title": "Requirement Refs",
      +        "type": "array"
      +      },
      +      "severity": {
      +        "default": "blocking",
      +        "enum": [
      +          "blocking",
      +          "informational"
      +        ],
      +        "title": "Severity",
      +        "type": "string"
      +      },
      +      "source": {
      +        "title": "Source",
      +        "type": "string"
      +      },
      +      "type": {
      +        "const": "required_entities",
      +        "title": "Type",
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "key",
      +      "description",
      +      "requirement_refs",
      +      "type",
      +      "entities",
      +      "source"
      +    ],
      +    "title": "RequiredEntitiesMetric",
      +    "type": "object"
      +  },
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "case_sensitive": {
      +        "default": false,
      +        "title": "Case Sensitive",
      +        "type": "boolean"
      +      },
      +      "description": {
      +        "title": "Description",
      +        "type": "string"
      +      },
      +      "entities": {
      +        "items": {
      +          "type": "string"
      +        },
      +        "minItems": 1,
      +        "title": "Entities",
      +        "type": "array"
      +      },
      +      "key": {
      +        "minLength": 1,
      +        "pattern": "^[a-z][a-z0-9_]*$",
      +        "title": "Key",
      +        "type": "string"
      +      },
      +      "minimum_pass_fraction": {
      +        "default": 1,
      +        "exclusiveMinimum": 0,
      +        "maximum": 1,
      +        "title": "Minimum Pass Fraction",
      +        "type": "number"
      +      },
      +      "requirement_refs": {
      +        "items": {
      +          "additionalProperties": false,
      +          "properties": {
      +            "behavior_id": {
      +              "minLength": 1,
      +              "title": "Behavior Id",
      +              "type": "string"
      +            },
      +            "requirement_id": {
      +              "minLength": 1,
      +              "title": "Requirement Id",
      +              "type": "string"
      +            }
      +          },
      +          "required": [
      +            "behavior_id",
      +            "requirement_id"
      +          ],
      +          "title": "RequirementReference",
      +          "type": "object"
      +        },
      +        "title": "Requirement Refs",
      +        "type": "array"
      +      },
      +      "severity": {
      +        "default": "blocking",
      +        "enum": [
      +          "blocking",
      +          "informational"
      +        ],
      +        "title": "Severity",
      +        "type": "string"
      +      },
      +      "source": {
      +        "title": "Source",
      +        "type": "string"
      +      },
      +      "type": {
      +        "const": "forbidden_entities",
      +        "title": "Type",
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "key",
      +      "description",
      +      "requirement_refs",
      +      "type",
      +      "entities",
      +      "source"
      +    ],
      +    "title": "ForbiddenEntitiesMetric",
      +    "type": "object"
      +  },
      +  {
      +    "additionalProperties": false,
      +    "description": "Every numeric value selected by the JSONPath `source` must fall within the\nrange, and at least one value must be present, in every execution.",
      +    "properties": {
      +      "description": {
      +        "title": "Description",
      +        "type": "string"
      +      },
      +      "key": {
      +        "minLength": 1,
      +        "pattern": "^[a-z][a-z0-9_]*$",
      +        "title": "Key",
      +        "type": "string"
      +      },
      +      "maximum": {
      +        "title": "Maximum",
      +        "type": "number"
      +      },
      +      "minimum": {
      +        "title": "Minimum",
      +        "type": "number"
      +      },
      +      "minimum_pass_fraction": {
      +        "default": 1,
      +        "exclusiveMinimum": 0,
      +        "maximum": 1,
      +        "title": "Minimum Pass Fraction",
      +        "type": "number"
      +      },
      +      "requirement_refs": {
      +        "items": {
      +          "additionalProperties": false,
      +          "properties": {
      +            "behavior_id": {
      +              "minLength": 1,
      +              "title": "Behavior Id",
      +              "type": "string"
      +            },
      +            "requirement_id": {
      +              "minLength": 1,
      +              "title": "Requirement Id",
      +              "type": "string"
      +            }
      +          },
      +          "required": [
      +            "behavior_id",
      +            "requirement_id"
      +          ],
      +          "title": "RequirementReference",
      +          "type": "object"
      +        },
      +        "title": "Requirement Refs",
      +        "type": "array"
      +      },
      +      "severity": {
      +        "default": "blocking",
      +        "enum": [
      +          "blocking",
      +          "informational"
      +        ],
      +        "title": "Severity",
      +        "type": "string"
      +      },
      +      "source": {
      +        "title": "Source",
      +        "type": "string"
      +      },
      +      "type": {
      +        "const": "numeric_range",
      +        "title": "Type",
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "key",
      +      "description",
      +      "requirement_refs",
      +      "type",
      +      "minimum",
      +      "maximum",
      +      "source"
      +    ],
      +    "title": "NumericRangeMetric",
      +    "type": "object"
      +  },
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "case_sensitive": {
      +        "default": false,
      +        "title": "Case Sensitive",
      +        "type": "boolean"
      +      },
      +      "description": {
      +        "title": "Description",
      +        "type": "string"
      +      },
      +      "key": {
      +        "minLength": 1,
      +        "pattern": "^[a-z][a-z0-9_]*$",
      +        "title": "Key",
      +        "type": "string"
      +      },
      +      "minimum_pass_fraction": {
      +        "default": 1,
      +        "exclusiveMinimum": 0,
      +        "maximum": 1,
      +        "title": "Minimum Pass Fraction",
      +        "type": "number"
      +      },
      +      "requirement_refs": {
      +        "items": {
      +          "additionalProperties": false,
      +          "properties": {
      +            "behavior_id": {
      +              "minLength": 1,
      +              "title": "Behavior Id",
      +              "type": "string"
      +            },
      +            "requirement_id": {
      +              "minLength": 1,
      +              "title": "Requirement Id",
      +              "type": "string"
      +            }
      +          },
      +          "required": [
      +            "behavior_id",
      +            "requirement_id"
      +          ],
      +          "title": "RequirementReference",
      +          "type": "object"
      +        },
      +        "title": "Requirement Refs",
      +        "type": "array"
      +      },
      +      "severity": {
      +        "default": "blocking",
      +        "enum": [
      +          "blocking",
      +          "informational"
      +        ],
      +        "title": "Severity",
      +        "type": "string"
      +      },
      +      "type": {
      +        "const": "contains",
      +        "title": "Type",
      +        "type": "string"
      +      },
      +      "values": {
      +        "items": {
      +          "type": "string"
      +        },
      +        "minItems": 1,
      +        "title": "Values",
      +        "type": "array"
      +      }
      +    },
      +    "required": [
      +      "key",
      +      "description",
      +      "requirement_refs",
      +      "type",
      +      "values"
      +    ],
      +    "title": "ContainsMetric",
      +    "type": "object"
      +  },
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "case_sensitive": {
      +        "default": false,
      +        "title": "Case Sensitive",
      +        "type": "boolean"
      +      },
      +      "description": {
      +        "title": "Description",
      +        "type": "string"
      +      },
      +      "key": {
      +        "minLength": 1,
      +        "pattern": "^[a-z][a-z0-9_]*$",
      +        "title": "Key",
      +        "type": "string"
      +      },
      +      "minimum_pass_fraction": {
      +        "default": 1,
      +        "exclusiveMinimum": 0,
      +        "maximum": 1,
      +        "title": "Minimum Pass Fraction",
      +        "type": "number"
      +      },
      +      "requirement_refs": {
      +        "items": {
      +          "additionalProperties": false,
      +          "properties": {
      +            "behavior_id": {
      +              "minLength": 1,
      +              "title": "Behavior Id",
      +              "type": "string"
      +            },
      +            "requirement_id": {
      +              "minLength": 1,
      +              "title": "Requirement Id",
      +              "type": "string"
      +            }
      +          },
      +          "required": [
      +            "behavior_id",
      +            "requirement_id"
      +          ],
      +          "title": "RequirementReference",
      +          "type": "object"
      +        },
      +        "title": "Requirement Refs",
      +        "type": "array"
      +      },
      +      "severity": {
      +        "default": "blocking",
      +        "enum": [
      +          "blocking",
      +          "informational"
      +        ],
      +        "title": "Severity",
      +        "type": "string"
      +      },
      +      "type": {
      +        "const": "does_not_contain",
      +        "title": "Type",
      +        "type": "string"
      +      },
      +      "values": {
      +        "items": {
      +          "type": "string"
      +        },
      +        "minItems": 1,
      +        "title": "Values",
      +        "type": "array"
      +      }
      +    },
      +    "required": [
      +      "key",
      +      "description",
      +      "requirement_refs",
      +      "type",
      +      "values"
      +    ],
      +    "title": "DoesNotContainMetric",
      +    "type": "object"
      +  },
      +  {
      +    "additionalProperties": false,
      +    "description": "Simpson concentration of one value per repetition across repeated executions.\n\nThe value is what `source` selects from each reply or, with source `check`,\nwhether the nested `check` held in that repetition, so the metric passes when\nthe check held in every repetition or in none.",
      +    "properties": {
      +      "check": {
      +        "anyOf": [
      +          {
      +            "oneOf": [
      +              {
      +                "additionalProperties": false,
      +                "properties": {
      +                  "expected": {
      +                    "default": "called",
      +                    "enum": [
      +                      "called",
      +                      "not_called"
      +                    ],
      +                    "title": "Expected",
      +                    "type": "string"
      +                  },
      +                  "tool_name": {
      +                    "minLength": 1,
      +                    "title": "Tool Name",
      +                    "type": "string"
      +                  },
      +                  "type": {
      +                    "const": "tool_called",
      +                    "title": "Type",
      +                    "type": "string"
      +                  }
      +                },
      +                "required": [
      +                  "type",
      +                  "tool_name"
      +                ],
      +                "title": "ToolCalledCheck",
      +                "type": "object"
      +              },
      +              {
      +                "additionalProperties": false,
      +                "properties": {
      +                  "maximum": {
      +                    "anyOf": [
      +                      {
      +                        "minimum": 0,
      +                        "type": "integer"
      +                      },
      +                      {
      +                        "type": "null"
      +                      }
      +                    ],
      +                    "default": null,
      +                    "title": "Maximum"
      +                  },
      +                  "minimum": {
      +                    "minimum": 0,
      +                    "title": "Minimum",
      +                    "type": "integer"
      +                  },
      +                  "tool_name": {
      +                    "minLength": 1,
      +                    "title": "Tool Name",
      +                    "type": "string"
      +                  },
      +                  "type": {
      +                    "const": "tool_call_count",
      +                    "title": "Type",
      +                    "type": "string"
      +                  }
      +                },
      +                "required": [
      +                  "type",
      +                  "tool_name",
      +                  "minimum"
      +                ],
      +                "title": "ToolCallCountCheck",
      +                "type": "object"
      +              },
      +              {
      +                "additionalProperties": false,
      +                "properties": {
      +                  "first_tool": {
      +                    "minLength": 1,
      +                    "title": "First Tool",
      +                    "type": "string"
      +                  },
      +                  "then_tool": {
      +                    "minLength": 1,
      +                    "title": "Then Tool",
      +                    "type": "string"
      +                  },
      +                  "type": {
      +                    "const": "tool_order",
      +                    "title": "Type",
      +                    "type": "string"
      +                  }
      +                },
      +                "required": [
      +                  "type",
      +                  "first_tool",
      +                  "then_tool"
      +                ],
      +                "title": "ToolOrderCheck",
      +                "type": "object"
      +              },
      +              {
      +                "additionalProperties": false,
      +                "properties": {
      +                  "expected_outcome": {
      +                    "default": "succeeded",
      +                    "enum": [
      +                      "succeeded",
      +                      "failed"
      +                    ],
      +                    "title": "Expected Outcome",
      +                    "type": "string"
      +                  },
      +                  "tool_name": {
      +                    "minLength": 1,
      +                    "title": "Tool Name",
      +                    "type": "string"
      +                  },
      +                  "type": {
      +                    "const": "tool_outcome",
      +                    "title": "Type",
      +                    "type": "string"
      +                  }
      +                },
      +                "required": [
      +                  "type",
      +                  "tool_name"
      +                ],
      +                "title": "ToolOutcomeCheck",
      +                "type": "object"
      +              },
      +              {
      +                "additionalProperties": false,
      +                "description": "Match selected inputs within a call, then quantify over calls.",
      +                "properties": {
      +                  "case_sensitive": {
      +                    "default": false,
      +                    "title": "Case Sensitive",
      +                    "type": "boolean"
      +                  },
      +                  "contains": {
      +                    "anyOf": [
      +                      {
      +                        "type": "string"
      +                      },
      +                      {
      +                        "type": "null"
      +                      }
      +                    ],
      +                    "default": null,
      +                    "title": "Contains"
      +                  },
      +                  "expected": {
      +                    "default": "matches",
      +                    "enum": [
      +                      "matches",
      +                      "does_not_match"
      +                    ],
      +                    "title": "Expected",
      +                    "type": "string"
      +                  },
      +                  "expected_value": {
      +                    "anyOf": [
      +                      {
      +                        "type": "string"
      +                      },
      +                      {
      +                        "type": "integer"
      +                      },
      +                      {
      +                        "type": "number"
      +                      },
      +                      {
      +                        "type": "boolean"
      +                      },
      +                      {
      +                        "type": "null"
      +                      }
      +                    ],
      +                    "default": null,
      +                    "title": "Expected Value"
      +                  },
      +                  "maximum": {
      +                    "anyOf": [
      +                      {
      +                        "type": "number"
      +                      },
      +                      {
      +                        "type": "null"
      +                      }
      +                    ],
      +                    "default": null,
      +                    "title": "Maximum"
      +                  },
      +                  "minimum": {
      +                    "anyOf": [
      +                      {
      +                        "type": "number"
      +                      },
      +                      {
      +                        "type": "null"
      +                      }
      +                    ],
      +                    "default": null,
      +                    "title": "Minimum"
      +                  },
      +                  "normalize": {
      +                    "default": true,
      +                    "title": "Normalize",
      +                    "type": "boolean"
      +                  },
      +                  "path": {
      +                    "minLength": 1,
      +                    "title": "Path",
      +                    "type": "string"
      +                  },
      +                  "quantifier": {
      +                    "default": "any_call",
      +                    "enum": [
      +                      "every_call",
      +                      "any_call"
      +                    ],
      +                    "title": "Quantifier",
      +                    "type": "string"
      +                  },
      +                  "tool_name": {
      +                    "minLength": 1,
      +                    "title": "Tool Name",
      +                    "type": "string"
      +                  },
      +                  "type": {
      +                    "const": "tool_input_matches",
      +                    "title": "Type",
      +                    "type": "string"
      +                  }
      +                },
      +                "required": [
      +                  "type",
      +                  "tool_name",
      +                  "path"
      +                ],
      +                "title": "ToolInputMatchesCheck",
      +                "type": "object"
      +              },
      +              {
      +                "additionalProperties": false,
      +                "properties": {
      +                  "expected": {
      +                    "default": "invoked",
      +                    "enum": [
      +                      "invoked",
      +                      "not_invoked"
      +                    ],
      +                    "title": "Expected",
      +                    "type": "string"
      +                  },
      +                  "subagent_name": {
      +                    "minLength": 1,
      +                    "title": "Subagent Name",
      +                    "type": "string"
      +                  },
      +                  "type": {
      +                    "const": "subagent_invoked",
      +                    "title": "Type",
      +                    "type": "string"
      +                  }
      +                },
      +                "required": [
      +                  "type",
      +                  "subagent_name"
      +                ],
      +                "title": "SubagentInvokedCheck",
      +                "type": "object"
      +              },
      +              {
      +                "additionalProperties": false,
      +                "properties": {
      +                  "expected_outcome": {
      +                    "default": "succeeded",
      +                    "enum": [
      +                      "succeeded",
      +                      "failed"
      +                    ],
      +                    "title": "Expected Outcome",
      +                    "type": "string"
      +                  },
      +                  "subagent_name": {
      +                    "minLength": 1,
      +                    "title": "Subagent Name",
      +                    "type": "string"
      +                  },
      +                  "type": {
      +                    "const": "subagent_outcome",
      +                    "title": "Type",
      +                    "type": "string"
      +                  }
      +                },
      +                "required": [
      +                  "type",
      +                  "subagent_name"
      +                ],
      +                "title": "SubagentOutcomeCheck",
      +                "type": "object"
      +              },
      +              {
      +                "additionalProperties": false,
      +                "description": "`path` must select at least one value from the structured output.",
      +                "properties": {
      +                  "path": {
      +                    "minLength": 1,
      +                    "title": "Path",
      +                    "type": "string"
      +                  },
      +                  "type": {
      +                    "const": "json_path_exists",
      +                    "title": "Type",
      +                    "type": "string"
      +                  }
      +                },
      +                "required": [
      +                  "type",
      +                  "path"
      +                ],
      +                "title": "JsonPathExistsCheck",
      +                "type": "object"
      +              },
      +              {
      +                "additionalProperties": false,
      +                "description": "Values selected by `path` from the structured output must satisfy the\nconfigured condition: equal `expected_value`, contain `contains`, or lie\nwithin `minimum`/`maximum`.",
      +                "properties": {
      +                  "case_sensitive": {
      +                    "default": false,
      +                    "title": "Case Sensitive",
      +                    "type": "boolean"
      +                  },
      +                  "contains": {
      +                    "anyOf": [
      +                      {
      +                        "type": "string"
      +                      },
      +                      {
      +                        "type": "null"
      +                      }
      +                    ],
      +                    "default": null,
      +                    "title": "Contains"
      +                  },
      +                  "expected_value": {
      +                    "anyOf": [
      +                      {
      +                        "type": "string"
      +                      },
      +                      {
      +                        "type": "integer"
      +                      },
      +                      {
      +                        "type": "number"
      +                      },
      +                      {
      +                        "type": "boolean"
      +                      },
      +                      {
      +                        "type": "null"
      +                      }
      +                    ],
      +                    "default": null,
      +                    "title": "Expected Value"
      +                  },
      +                  "maximum": {
      +                    "anyOf": [
      +                      {
      +                        "type": "number"
      +                      },
      +                      {
      +                        "type": "null"
      +                      }
      +                    ],
      +                    "default": null,
      +                    "title": "Maximum"
      +                  },
      +                  "minimum": {
      +                    "anyOf": [
      +                      {
      +                        "type": "number"
      +                      },
      +                      {
      +                        "type": "null"
      +                      }
      +                    ],
      +                    "default": null,
      +                    "title": "Minimum"
      +                  },
      +                  "path": {
      +                    "minLength": 1,
      +                    "title": "Path",
      +                    "type": "string"
      +                  },
      +                  "type": {
      +                    "const": "json_path_value",
      +                    "title": "Type",
      +                    "type": "string"
      +                  }
      +                },
      +                "required": [
      +                  "type",
      +                  "path"
      +                ],
      +                "title": "JsonPathValueCheck",
      +                "type": "object"
      +              }
      +            ]
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ],
      +        "default": null,
      +        "title": "Check"
      +      },
      +      "description": {
      +        "title": "Description",
      +        "type": "string"
      +      },
      +      "key": {
      +        "minLength": 1,
      +        "pattern": "^[a-z][a-z0-9_]*$",
      +        "title": "Key",
      +        "type": "string"
      +      },
      +      "minimum_pass_fraction": {
      +        "default": 1,
      +        "exclusiveMinimum": 0,
      +        "maximum": 1,
      +        "title": "Minimum Pass Fraction",
      +        "type": "number"
      +      },
      +      "minimum_score": {
      +        "default": 1,
      +        "maximum": 1,
      +        "minimum": 0,
      +        "title": "Minimum Score",
      +        "type": "number"
      +      },
      +      "requirement_refs": {
      +        "items": {
      +          "additionalProperties": false,
      +          "properties": {
      +            "behavior_id": {
      +              "minLength": 1,
      +              "title": "Behavior Id",
      +              "type": "string"
      +            },
      +            "requirement_id": {
      +              "minLength": 1,
      +              "title": "Requirement Id",
      +              "type": "string"
      +            }
      +          },
      +          "required": [
      +            "behavior_id",
      +            "requirement_id"
      +          ],
      +          "title": "RequirementReference",
      +          "type": "object"
      +        },
      +        "title": "Requirement Refs",
      +        "type": "array"
      +      },
      +      "severity": {
      +        "default": "blocking",
      +        "enum": [
      +          "blocking",
      +          "informational"
      +        ],
      +        "title": "Severity",
      +        "type": "string"
      +      },
      +      "source": {
      +        "default": "auto",
      +        "title": "Source",
      +        "type": "string"
      +      },
      +      "type": {
      +        "const": "consistency",
      +        "title": "Type",
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "key",
      +      "description",
      +      "requirement_refs",
      +      "type"
      +    ],
      +    "title": "ConsistencyMetric",
      +    "type": "object"
      +  },
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "description": {
      +        "title": "Description",
      +        "type": "string"
      +      },
      +      "expected": {
      +        "default": "called",
      +        "enum": [
      +          "called",
      +          "not_called"
      +        ],
      +        "title": "Expected",
      +        "type": "string"
      +      },
      +      "key": {
      +        "minLength": 1,
      +        "pattern": "^[a-z][a-z0-9_]*$",
      +        "title": "Key",
      +        "type": "string"
      +      },
      +      "minimum_pass_fraction": {
      +        "default": 1,
      +        "exclusiveMinimum": 0,
      +        "maximum": 1,
      +        "title": "Minimum Pass Fraction",
      +        "type": "number"
      +      },
      +      "requirement_refs": {
      +        "items": {
      +          "additionalProperties": false,
      +          "properties": {
      +            "behavior_id": {
      +              "minLength": 1,
      +              "title": "Behavior Id",
      +              "type": "string"
      +            },
      +            "requirement_id": {
      +              "minLength": 1,
      +              "title": "Requirement Id",
      +              "type": "string"
      +            }
      +          },
      +          "required": [
      +            "behavior_id",
      +            "requirement_id"
      +          ],
      +          "title": "RequirementReference",
      +          "type": "object"
      +        },
      +        "title": "Requirement Refs",
      +        "type": "array"
      +      },
      +      "severity": {
      +        "default": "blocking",
      +        "enum": [
      +          "blocking",
      +          "informational"
      +        ],
      +        "title": "Severity",
      +        "type": "string"
      +      },
      +      "tool_name": {
      +        "minLength": 1,
      +        "title": "Tool Name",
      +        "type": "string"
      +      },
      +      "type": {
      +        "const": "tool_called",
      +        "title": "Type",
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "key",
      +      "description",
      +      "requirement_refs",
      +      "type",
      +      "tool_name"
      +    ],
      +    "title": "ToolCalledMetric",
      +    "type": "object"
      +  },
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "description": {
      +        "title": "Description",
      +        "type": "string"
      +      },
      +      "key": {
      +        "minLength": 1,
      +        "pattern": "^[a-z][a-z0-9_]*$",
      +        "title": "Key",
      +        "type": "string"
      +      },
      +      "maximum": {
      +        "anyOf": [
      +          {
      +            "minimum": 0,
      +            "type": "integer"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ],
      +        "default": null,
      +        "title": "Maximum"
      +      },
      +      "minimum": {
      +        "minimum": 0,
      +        "title": "Minimum",
      +        "type": "integer"
      +      },
      +      "minimum_pass_fraction": {
      +        "default": 1,
      +        "exclusiveMinimum": 0,
      +        "maximum": 1,
      +        "title": "Minimum Pass Fraction",
      +        "type": "number"
      +      },
      +      "requirement_refs": {
      +        "items": {
      +          "additionalProperties": false,
      +          "properties": {
      +            "behavior_id": {
      +              "minLength": 1,
      +              "title": "Behavior Id",
      +              "type": "string"
      +            },
      +            "requirement_id": {
      +              "minLength": 1,
      +              "title": "Requirement Id",
      +              "type": "string"
      +            }
      +          },
      +          "required": [
      +            "behavior_id",
      +            "requirement_id"
      +          ],
      +          "title": "RequirementReference",
      +          "type": "object"
      +        },
      +        "title": "Requirement Refs",
      +        "type": "array"
      +      },
      +      "severity": {
      +        "default": "blocking",
      +        "enum": [
      +          "blocking",
      +          "informational"
      +        ],
      +        "title": "Severity",
      +        "type": "string"
      +      },
      +      "tool_name": {
      +        "minLength": 1,
      +        "title": "Tool Name",
      +        "type": "string"
      +      },
      +      "type": {
      +        "const": "tool_call_count",
      +        "title": "Type",
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "key",
      +      "description",
      +      "requirement_refs",
      +      "type",
      +      "tool_name",
      +      "minimum"
      +    ],
      +    "title": "ToolCallCountMetric",
      +    "type": "object"
      +  },
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "description": {
      +        "title": "Description",
      +        "type": "string"
      +      },
      +      "first_tool": {
      +        "minLength": 1,
      +        "title": "First Tool",
      +        "type": "string"
      +      },
      +      "key": {
      +        "minLength": 1,
      +        "pattern": "^[a-z][a-z0-9_]*$",
      +        "title": "Key",
      +        "type": "string"
      +      },
      +      "minimum_pass_fraction": {
      +        "default": 1,
      +        "exclusiveMinimum": 0,
      +        "maximum": 1,
      +        "title": "Minimum Pass Fraction",
      +        "type": "number"
      +      },
      +      "requirement_refs": {
      +        "items": {
      +          "additionalProperties": false,
      +          "properties": {
      +            "behavior_id": {
      +              "minLength": 1,
      +              "title": "Behavior Id",
      +              "type": "string"
      +            },
      +            "requirement_id": {
      +              "minLength": 1,
      +              "title": "Requirement Id",
      +              "type": "string"
      +            }
      +          },
      +          "required": [
      +            "behavior_id",
      +            "requirement_id"
      +          ],
      +          "title": "RequirementReference",
      +          "type": "object"
      +        },
      +        "title": "Requirement Refs",
      +        "type": "array"
      +      },
      +      "severity": {
      +        "default": "blocking",
      +        "enum": [
      +          "blocking",
      +          "informational"
      +        ],
      +        "title": "Severity",
      +        "type": "string"
      +      },
      +      "then_tool": {
      +        "minLength": 1,
      +        "title": "Then Tool",
      +        "type": "string"
      +      },
      +      "type": {
      +        "const": "tool_order",
      +        "title": "Type",
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "key",
      +      "description",
      +      "requirement_refs",
      +      "type",
      +      "first_tool",
      +      "then_tool"
      +    ],
      +    "title": "ToolOrderMetric",
      +    "type": "object"
      +  },
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "description": {
      +        "title": "Description",
      +        "type": "string"
      +      },
      +      "expected_outcome": {
      +        "default": "succeeded",
      +        "enum": [
      +          "succeeded",
      +          "failed"
      +        ],
      +        "title": "Expected Outcome",
      +        "type": "string"
      +      },
      +      "key": {
      +        "minLength": 1,
      +        "pattern": "^[a-z][a-z0-9_]*$",
      +        "title": "Key",
      +        "type": "string"
      +      },
      +      "minimum_pass_fraction": {
      +        "default": 1,
      +        "exclusiveMinimum": 0,
      +        "maximum": 1,
      +        "title": "Minimum Pass Fraction",
      +        "type": "number"
      +      },
      +      "requirement_refs": {
      +        "items": {
      +          "additionalProperties": false,
      +          "properties": {
      +            "behavior_id": {
      +              "minLength": 1,
      +              "title": "Behavior Id",
      +              "type": "string"
      +            },
      +            "requirement_id": {
      +              "minLength": 1,
      +              "title": "Requirement Id",
      +              "type": "string"
      +            }
      +          },
      +          "required": [
      +            "behavior_id",
      +            "requirement_id"
      +          ],
      +          "title": "RequirementReference",
      +          "type": "object"
      +        },
      +        "title": "Requirement Refs",
      +        "type": "array"
      +      },
      +      "severity": {
      +        "default": "blocking",
      +        "enum": [
      +          "blocking",
      +          "informational"
      +        ],
      +        "title": "Severity",
      +        "type": "string"
      +      },
      +      "tool_name": {
      +        "minLength": 1,
      +        "title": "Tool Name",
      +        "type": "string"
      +      },
      +      "type": {
      +        "const": "tool_outcome",
      +        "title": "Type",
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "key",
      +      "description",
      +      "requirement_refs",
      +      "type",
      +      "tool_name"
      +    ],
      +    "title": "ToolOutcomeMetric",
      +    "type": "object"
      +  },
      +  {
      +    "additionalProperties": false,
      +    "description": "Match selected inputs within a call, then quantify over calls.",
      +    "properties": {
      +      "case_sensitive": {
      +        "default": false,
      +        "title": "Case Sensitive",
      +        "type": "boolean"
      +      },
      +      "contains": {
      +        "anyOf": [
      +          {
      +            "type": "string"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ],
      +        "default": null,
      +        "title": "Contains"
      +      },
      +      "description": {
      +        "title": "Description",
      +        "type": "string"
      +      },
      +      "expected": {
      +        "default": "matches",
      +        "enum": [
      +          "matches",
      +          "does_not_match"
      +        ],
      +        "title": "Expected",
      +        "type": "string"
      +      },
      +      "expected_value": {
      +        "anyOf": [
      +          {
      +            "type": "string"
      +          },
      +          {
      +            "type": "integer"
      +          },
      +          {
      +            "type": "number"
      +          },
      +          {
      +            "type": "boolean"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ],
      +        "default": null,
      +        "title": "Expected Value"
      +      },
      +      "key": {
      +        "minLength": 1,
      +        "pattern": "^[a-z][a-z0-9_]*$",
      +        "title": "Key",
      +        "type": "string"
      +      },
      +      "maximum": {
      +        "anyOf": [
      +          {
      +            "type": "number"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ],
      +        "default": null,
      +        "title": "Maximum"
      +      },
      +      "minimum": {
      +        "anyOf": [
      +          {
      +            "type": "number"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ],
      +        "default": null,
      +        "title": "Minimum"
      +      },
      +      "minimum_pass_fraction": {
      +        "default": 1,
      +        "exclusiveMinimum": 0,
      +        "maximum": 1,
      +        "title": "Minimum Pass Fraction",
      +        "type": "number"
      +      },
      +      "normalize": {
      +        "default": true,
      +        "title": "Normalize",
      +        "type": "boolean"
      +      },
      +      "path": {
      +        "minLength": 1,
      +        "title": "Path",
      +        "type": "string"
      +      },
      +      "quantifier": {
      +        "default": "any_call",
      +        "enum": [
      +          "every_call",
      +          "any_call"
      +        ],
      +        "title": "Quantifier",
      +        "type": "string"
      +      },
      +      "requirement_refs": {
      +        "items": {
      +          "additionalProperties": false,
      +          "properties": {
      +            "behavior_id": {
      +              "minLength": 1,
      +              "title": "Behavior Id",
      +              "type": "string"
      +            },
      +            "requirement_id": {
      +              "minLength": 1,
      +              "title": "Requirement Id",
      +              "type": "string"
      +            }
      +          },
      +          "required": [
      +            "behavior_id",
      +            "requirement_id"
      +          ],
      +          "title": "RequirementReference",
      +          "type": "object"
      +        },
      +        "title": "Requirement Refs",
      +        "type": "array"
      +      },
      +      "severity": {
      +        "default": "blocking",
      +        "enum": [
      +          "blocking",
      +          "informational"
      +        ],
      +        "title": "Severity",
      +        "type": "string"
      +      },
      +      "tool_name": {
      +        "minLength": 1,
      +        "title": "Tool Name",
      +        "type": "string"
      +      },
      +      "type": {
      +        "const": "tool_input_matches",
      +        "title": "Type",
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "key",
      +      "description",
      +      "requirement_refs",
      +      "type",
      +      "tool_name",
      +      "path"
      +    ],
      +    "title": "ToolInputMatchesMetric",
      +    "type": "object"
      +  },
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "description": {
      +        "title": "Description",
      +        "type": "string"
      +      },
      +      "expected": {
      +        "default": "invoked",
      +        "enum": [
      +          "invoked",
      +          "not_invoked"
      +        ],
      +        "title": "Expected",
      +        "type": "string"
      +      },
      +      "key": {
      +        "minLength": 1,
      +        "pattern": "^[a-z][a-z0-9_]*$",
      +        "title": "Key",
      +        "type": "string"
      +      },
      +      "minimum_pass_fraction": {
      +        "default": 1,
      +        "exclusiveMinimum": 0,
      +        "maximum": 1,
      +        "title": "Minimum Pass Fraction",
      +        "type": "number"
      +      },
      +      "requirement_refs": {
      +        "items": {
      +          "additionalProperties": false,
      +          "properties": {
      +            "behavior_id": {
      +              "minLength": 1,
      +              "title": "Behavior Id",
      +              "type": "string"
      +            },
      +            "requirement_id": {
      +              "minLength": 1,
      +              "title": "Requirement Id",
      +              "type": "string"
      +            }
      +          },
      +          "required": [
      +            "behavior_id",
      +            "requirement_id"
      +          ],
      +          "title": "RequirementReference",
      +          "type": "object"
      +        },
      +        "title": "Requirement Refs",
      +        "type": "array"
      +      },
      +      "severity": {
      +        "default": "blocking",
      +        "enum": [
      +          "blocking",
      +          "informational"
      +        ],
      +        "title": "Severity",
      +        "type": "string"
      +      },
      +      "subagent_name": {
      +        "minLength": 1,
      +        "title": "Subagent Name",
      +        "type": "string"
      +      },
      +      "type": {
      +        "const": "subagent_invoked",
      +        "title": "Type",
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "key",
      +      "description",
      +      "requirement_refs",
      +      "type",
      +      "subagent_name"
      +    ],
      +    "title": "SubagentInvokedMetric",
      +    "type": "object"
      +  },
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "description": {
      +        "title": "Description",
      +        "type": "string"
      +      },
      +      "expected_outcome": {
      +        "default": "succeeded",
      +        "enum": [
      +          "succeeded",
      +          "failed"
      +        ],
      +        "title": "Expected Outcome",
      +        "type": "string"
      +      },
      +      "key": {
      +        "minLength": 1,
      +        "pattern": "^[a-z][a-z0-9_]*$",
      +        "title": "Key",
      +        "type": "string"
      +      },
      +      "minimum_pass_fraction": {
      +        "default": 1,
      +        "exclusiveMinimum": 0,
      +        "maximum": 1,
      +        "title": "Minimum Pass Fraction",
      +        "type": "number"
      +      },
      +      "requirement_refs": {
      +        "items": {
      +          "additionalProperties": false,
      +          "properties": {
      +            "behavior_id": {
      +              "minLength": 1,
      +              "title": "Behavior Id",
      +              "type": "string"
      +            },
      +            "requirement_id": {
      +              "minLength": 1,
      +              "title": "Requirement Id",
      +              "type": "string"
      +            }
      +          },
      +          "required": [
      +            "behavior_id",
      +            "requirement_id"
      +          ],
      +          "title": "RequirementReference",
      +          "type": "object"
      +        },
      +        "title": "Requirement Refs",
      +        "type": "array"
      +      },
      +      "severity": {
      +        "default": "blocking",
      +        "enum": [
      +          "blocking",
      +          "informational"
      +        ],
      +        "title": "Severity",
      +        "type": "string"
      +      },
      +      "subagent_name": {
      +        "minLength": 1,
      +        "title": "Subagent Name",
      +        "type": "string"
      +      },
      +      "type": {
      +        "const": "subagent_outcome",
      +        "title": "Type",
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "key",
      +      "description",
      +      "requirement_refs",
      +      "type",
      +      "subagent_name"
      +    ],
      +    "title": "SubagentOutcomeMetric",
      +    "type": "object"
      +  },
      +  {
      +    "additionalProperties": false,
      +    "description": "`path` must select at least one value from the structured output.",
      +    "properties": {
      +      "description": {
      +        "title": "Description",
      +        "type": "string"
      +      },
      +      "key": {
      +        "minLength": 1,
      +        "pattern": "^[a-z][a-z0-9_]*$",
      +        "title": "Key",
      +        "type": "string"
      +      },
      +      "minimum_pass_fraction": {
      +        "default": 1,
      +        "exclusiveMinimum": 0,
      +        "maximum": 1,
      +        "title": "Minimum Pass Fraction",
      +        "type": "number"
      +      },
      +      "path": {
      +        "minLength": 1,
      +        "title": "Path",
      +        "type": "string"
      +      },
      +      "requirement_refs": {
      +        "items": {
      +          "additionalProperties": false,
      +          "properties": {
      +            "behavior_id": {
      +              "minLength": 1,
      +              "title": "Behavior Id",
      +              "type": "string"
      +            },
      +            "requirement_id": {
      +              "minLength": 1,
      +              "title": "Requirement Id",
      +              "type": "string"
      +            }
      +          },
      +          "required": [
      +            "behavior_id",
      +            "requirement_id"
      +          ],
      +          "title": "RequirementReference",
      +          "type": "object"
      +        },
      +        "title": "Requirement Refs",
      +        "type": "array"
      +      },
      +      "severity": {
      +        "default": "blocking",
      +        "enum": [
      +          "blocking",
      +          "informational"
      +        ],
      +        "title": "Severity",
      +        "type": "string"
      +      },
      +      "type": {
      +        "const": "json_path_exists",
      +        "title": "Type",
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "key",
      +      "description",
      +      "requirement_refs",
      +      "type",
      +      "path"
      +    ],
      +    "title": "JsonPathExistsMetric",
      +    "type": "object"
      +  },
      +  {
      +    "additionalProperties": false,
      +    "description": "Values selected by `path` from the structured output must satisfy the\nconfigured condition: equal `expected_value`, contain `contains`, or lie\nwithin `minimum`/`maximum`.",
      +    "properties": {
      +      "case_sensitive": {
      +        "default": false,
      +        "title": "Case Sensitive",
      +        "type": "boolean"
      +      },
      +      "contains": {
      +        "anyOf": [
      +          {
      +            "type": "string"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ],
      +        "default": null,
      +        "title": "Contains"
      +      },
      +      "description": {
      +        "title": "Description",
      +        "type": "string"
      +      },
      +      "expected_value": {
      +        "anyOf": [
      +          {
      +            "type": "string"
      +          },
      +          {
      +            "type": "integer"
      +          },
      +          {
      +            "type": "number"
      +          },
      +          {
      +            "type": "boolean"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ],
      +        "default": null,
      +        "title": "Expected Value"
      +      },
      +      "key": {
      +        "minLength": 1,
      +        "pattern": "^[a-z][a-z0-9_]*$",
      +        "title": "Key",
      +        "type": "string"
      +      },
      +      "maximum": {
      +        "anyOf": [
      +          {
      +            "type": "number"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ],
      +        "default": null,
      +        "title": "Maximum"
      +      },
      +      "minimum": {
      +        "anyOf": [
      +          {
      +            "type": "number"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ],
      +        "default": null,
      +        "title": "Minimum"
      +      },
      +      "minimum_pass_fraction": {
      +        "default": 1,
      +        "exclusiveMinimum": 0,
      +        "maximum": 1,
      +        "title": "Minimum Pass Fraction",
      +        "type": "number"
      +      },
      +      "path": {
      +        "minLength": 1,
      +        "title": "Path",
      +        "type": "string"
      +      },
      +      "requirement_refs": {
      +        "items": {
      +          "additionalProperties": false,
      +          "properties": {
      +            "behavior_id": {
      +              "minLength": 1,
      +              "title": "Behavior Id",
      +              "type": "string"
      +            },
      +            "requirement_id": {
      +              "minLength": 1,
      +              "title": "Requirement Id",
      +              "type": "string"
      +            }
      +          },
      +          "required": [
      +            "behavior_id",
      +            "requirement_id"
      +          ],
      +          "title": "RequirementReference",
      +          "type": "object"
      +        },
      +        "title": "Requirement Refs",
      +        "type": "array"
      +      },
      +      "severity": {
      +        "default": "blocking",
      +        "enum": [
      +          "blocking",
      +          "informational"
      +        ],
      +        "title": "Severity",
      +        "type": "string"
      +      },
      +      "type": {
      +        "const": "json_path_value",
      +        "title": "Type",
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "key",
      +      "description",
      +      "requirement_refs",
      +      "type",
      +      "path"
      +    ],
      +    "title": "JsonPathValueMetric",
      +    "type": "object"
      +  }
      +]
    • changedInput schema / properties / case / properties / probe / properties / requirement_modalities / items / properties / modality / enum
      Previous value: -[
      -  "must",
      -  "must_not"
      -]New value: +[
      +  "must",
      +  "must_not",
      +  "inconsistent"
      +]
  2. First observed

TDQS

A4/5.0
Behavior4/5

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

The annotations already declare this is a destructive, non-read-only write, and the description adds meaningful behavior: UI-equivalent completion checks, key-driven edit-vs-create semantics, required source data, link preservation, and explicit authorization for acceptance cases. It does not explain what happens to an existing draft on overwrite or how validation failures surface.

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 core action and then gives key edit/create semantics and workflow constraints. It is dense but largely purposeful, with only slight compression in phrases like 'review for execution' that could be clearer.

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

Completeness4/5

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

For a complex nested-schema mutation tool with annotations covering safety, the description carries the important operational context: where to source probe and role data, how success_keys are chosen, review rationale, preservation of links, and acceptance authorization. It does not cover revision-conflict behavior or the response on validation failure, but the schema covers revision and the remaining gaps are moderate.

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?

With full schema description coverage, the baseline is 3, but the description adds workflow meaning for key, role, probe, success_keys, review, and authorized_action. Some of this repeats schema descriptions, but the added sourcing and preservation guidance is genuinely useful.

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 action on a specific resource: reviewing/editing one draft experiment case. It also distinguishes update-vs-add via the key argument and points to get_experiment as the source for probe and role data, though it does not contrast with remove_experiment_case.

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 clear operational conditions: pass an existing key to edit, omit it to add, copy probe/role from get_experiment, derive success_keys from non-consistency metric keys, and preserve behavior/requirement links. It also notes acceptance-case authorization and that review for execution does not schedule recurring probes, but it stops short of explicit when-not-to-use guidance.

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.