Skip to main content
Glama

Score Prompt

score_prompt

Compute a Prompt Score across 16 quality dimensions, with suggestions. Consumes account generation quota and retains the result for safe retry; it does not create a PromptDrive item or execute the supplied prompt.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
promptYesThe prompt text to score
platformIdNoTarget AI platform for context-aware scoring. If omitted, defaults to the detected calling MCP app.
idempotencyKeyNoOptional stable retry key. Reuse the same key with the same payload after a timeout or reconnect to receive the original result exactly once. Reusing it with different input is rejected.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
errorNo
scoreNo
durationMsNo
platformIdNo
suggestionsNo
overallScoreNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • changedOutput schema / oneOf
      Previous value: -[
      -  {
      -    "additionalProperties": true,
      -    "not": {
      -      "required": [
      -        "error"
      -      ]
      -    },
      -    "properties": {
      -      "durationMs": {
      -        "type": "integer"
      -      },
      -      "overallScore": {
      -        "maximum": 100,
      -        "minimum": 0,
      -        "type": "integer"
      -      },
      -      "platformId": {
      -        "type": "string"
      -      },
      -      "score": {
      -        "additionalProperties": true,
      -        "type": "object"
      -      },
      -      "suggestions": {
      -        "items": {
      -          "type": "string"
      -        },
      -        "type": "array"
      -      }
      -    },
      -    "required": [
      -      "score",
      -      "overallScore",
      -      "platformId",
      -      "durationMs",
      -      "suggestions"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "error": {
      -        "additionalProperties": false,
      -        "allOf": [
      -          {
      -            "if": {
      -              "required": [
      -                "verification"
      -              ]
      -            },
      -            "then": {
      -              "properties": {
      -                "code": {
      -                  "const": "MCP_SOURCE_FIDELITY_FAILED"
      -                }
      -              }
      -            }
      -          }
      -        ],
      -        "properties": {
      -          "cause": {
      -            "enum": [
      -              "PAYLOAD_TOO_LARGE",
      -              "INSUFFICIENT_SCOPE",
      -              "QUOTA_EXCEEDED",
      -              "GENERATION_FAILED",
      -              "SCORING_FAILED",
      -              "GENERATION_TIMEOUT",
      -              "MCP_SOURCE_FIDELITY_FAILED",
      -              "MCP_PERSISTENCE_REQUIRED",
      -              "MCP_PROMPTDRIVE_SCHEMA_MISMATCH",
      -              "MCP_PROMPTDRIVE_CONSTRAINT_REJECTED",
      -              "MCP_PROMPTDRIVE_TIMEOUT",
      -              "MCP_PROMPTDRIVE_UNAVAILABLE",
      -              "MCP_PROMPTDRIVE_WRITE_FAILED",
      -              "PROMPT_NOT_FOUND",
      -              "MCP_RATE_LIMITER_UNAVAILABLE",
      -              "RATE_LIMIT_EXCEEDED",
      -              "MCP_REQUEST_IN_PROGRESS",
      -              "MCP_IDEMPOTENCY_REQUIRED",
      -              "MCP_IDEMPOTENCY_KEY_INVALID",
      -              "MCP_IDEMPOTENCY_KEY_REUSE_CONFLICT",
      -              "MCP_IDEMPOTENCY_LEDGER_UNAVAILABLE",
      -              "MCP_IDEMPOTENCY_LEASE_LOST",
      -              "MCP_QUOTA_RESERVATION_REQUIRED",
      -              "MCP_QUOTA_USER_NOT_FOUND",
      -              "MEMORY_UNAVAILABLE",
      -              "MEMORY_DISABLED",
      -              "MEMORY_SETTINGS_UNAVAILABLE",
      -              "MEMORY_READ_TIMEOUT",
      -              "MEMORY_SOURCES_FAILED",
      -              "MEMORY_SEARCH_TIMEOUT",
      -              "MEMORY_SEARCH_FAILED",
      -              "MEMORY_PAGE_ID_INVALID",
      -              "MEMORY_PAGE_TIMEOUT",
      -              "MEMORY_PAGE_FAILED",
      -              "MEMORY_PAGE_NOT_FOUND",
      -              "MEMORY_ASK_PRO_REQUIRED",
      -              "MEMORY_ASK_QUOTA",
      -              "MEMORY_ASK_BUSY",
      -              "MEMORY_ASK_TIMEOUT",
      -              "MEMORY_ASK_FAILED",
      -              "MCP_TOOL_EXECUTION_FAILED",
      -              "MCP_TOOL_NOT_FOUND"
      -            ],
      -            "type": "string"
      -          },
      -          "code": {
      -            "enum": [
      -              "PAYLOAD_TOO_LARGE",
      -              "INSUFFICIENT_SCOPE",
      -              "QUOTA_EXCEEDED",
      -              "GENERATION_FAILED",
      -              "SCORING_FAILED",
      -              "GENERATION_TIMEOUT",
      -              "MCP_SOURCE_FIDELITY_FAILED",
      -              "MCP_PERSISTENCE_REQUIRED",
      -              "MCP_PROMPTDRIVE_SCHEMA_MISMATCH",
      -              "MCP_PROMPTDRIVE_CONSTRAINT_REJECTED",
      -              "MCP_PROMPTDRIVE_TIMEOUT",
      -              "MCP_PROMPTDRIVE_UNAVAILABLE",
      -              "MCP_PROMPTDRIVE_WRITE_FAILED",
      -              "PROMPT_NOT_FOUND",
      -              "MCP_RATE_LIMITER_UNAVAILABLE",
      -              "RATE_LIMIT_EXCEEDED",
      -              "MCP_REQUEST_IN_PROGRESS",
      -              "MCP_IDEMPOTENCY_REQUIRED",
      -              "MCP_IDEMPOTENCY_KEY_INVALID",
      -              "MCP_IDEMPOTENCY_KEY_REUSE_CONFLICT",
      -              "MCP_IDEMPOTENCY_LEDGER_UNAVAILABLE",
      -              "MCP_IDEMPOTENCY_LEASE_LOST",
      -              "MCP_QUOTA_RESERVATION_REQUIRED",
      -              "MCP_QUOTA_USER_NOT_FOUND",
      -              "MEMORY_UNAVAILABLE",
      -              "MEMORY_DISABLED",
      -              "MEMORY_SETTINGS_UNAVAILABLE",
      -              "MEMORY_READ_TIMEOUT",
      -              "MEMORY_SOURCES_FAILED",
      -              "MEMORY_SEARCH_TIMEOUT",
      -              "MEMORY_SEARCH_FAILED",
      -              "MEMORY_PAGE_ID_INVALID",
      -              "MEMORY_PAGE_TIMEOUT",
      -              "MEMORY_PAGE_FAILED",
      -              "MEMORY_PAGE_NOT_FOUND",
      -              "MEMORY_ASK_PRO_REQUIRED",
      -              "MEMORY_ASK_QUOTA",
      -              "MEMORY_ASK_BUSY",
      -              "MEMORY_ASK_TIMEOUT",
      -              "MEMORY_ASK_FAILED",
      -              "MCP_TOOL_EXECUTION_FAILED",
      -              "MCP_TOOL_NOT_FOUND"
      -            ],
      -            "type": "string"
      -          },
      -          "currentCount": {
      -            "minimum": 0,
      -            "type": "integer"
      -          },
      -          "limit": {
      -            "minimum": 0,
      -            "type": [
      -              "integer",
      -              "null"
      -            ]
      -          },
      -          "message": {
      -            "minLength": 1,
      -            "type": "string"
      -          },
      -          "recovery": {
      -            "minLength": 1,
      -            "type": "string"
      -          },
      -          "requestId": {
      -            "minLength": 1,
      -            "type": "string"
      -          },
      -          "resetDate": {
      -            "type": [
      -              "string",
      -              "null"
      -            ]
      -          },
      -          "retryAfterSeconds": {
      -            "minimum": 1,
      -            "type": "integer"
      -          },
      -          "retryable": {
      -            "type": "boolean"
      -          },
      -          "toolName": {
      -            "minLength": 1,
      -            "type": "string"
      -          },
      -          "verification": {
      -            "additionalProperties": false,
      -            "properties": {
      -              "diagnostic": {
      -                "enum": [
      -                  "audit_payload_invalid",
      -                  "audit_unverified",
      -                  "audit_json_invalid",
      -                  "audit_payload_limit",
      -                  "audit_claims_invalid",
      -                  "audit_claim_shape_invalid",
      -                  "audit_claim_quote_unanchored",
      -                  "audit_definition_identifier_invalid",
      -                  "audit_evidence_invalid",
      -                  "audit_evidence_quote_unanchored",
      -                  "audit_omissions_invalid",
      -                  "audit_omission_shape_invalid",
      -                  "audit_omission_quote_unanchored",
      -                  "audit_summary_invalid",
      -                  "audit_incomplete_coverage",
      -                  "audit_legacy_violations_invalid",
      -                  "repair_payload_invalid",
      -                  "repair_replacement_invalid",
      -                  "repair_edits_invalid",
      -                  "repair_edit_invalid",
      -                  "repair_size_limit",
      -                  "repair_anchor_missing",
      -                  "repair_anchor_ambiguous",
      -                  "repair_edits_overlap",
      -                  "repair_empty",
      -                  "repair_no_change",
      -                  "repair_copies_brief",
      -                  "repair_reference_leak",
      -                  "repair_declined",
      -                  "repair_artifact_shape",
      -                  "recheck_payload_invalid",
      -                  "recheck_invalid",
      -                  "recheck_unverified",
      -                  "audit_timeout",
      -                  "repair_timeout",
      -                  "recheck_timeout",
      -                  "audit_provider_failure",
      -                  "repair_provider_failure",
      -                  "recheck_provider_failure",
      -                  "skill_missing_frontmatter",
      -                  "skill_invalid_frontmatter_fields",
      -                  "skill_empty_body",
      -                  "skill_size_limit",
      -                  "skill_body_line_limit",
      -                  "skill_not_raw_markdown",
      -                  "skill_structure_invalid"
      -                ],
      -                "type": "string"
      -              },
      -              "elapsedMs": {
      -                "maximum": 9007199254740991,
      -                "minimum": 0,
      -                "type": "number"
      -              },
      -              "latestAudit": {
      -                "additionalProperties": false,
      -                "properties": {
      -                  "stage": {
      -                    "enum": [
      -                      "audit",
      -                      "recheck"
      -                    ],
      -                    "type": "string"
      -                  },
      -                  "verdict": {
      -                    "const": "invalid",
      -                    "type": "string"
      -                  },
      -                  "violationCount": {
      -                    "maximum": 35,
      -                    "minimum": 1,
      -                    "type": "integer"
      -                  },
      -                  "violationKinds": {
      -                    "items": {
      -                      "enum": [
      -                        "unsupported_definition",
      -                        "unsupported_fact",
      -                        "changed_fact",
      -                        "unsupported_requirement",
      -                        "missing_requirement"
      -                      ],
      -                      "type": "string"
      -                    },
      -                    "maxItems": 5,
      -                    "minItems": 1,
      -                    "type": "array",
      -                    "uniqueItems": true
      -                  }
      -                },
      -                "required": [
      -                  "stage",
      -                  "verdict",
      -                  "violationCount",
      -                  "violationKinds"
      -                ],
      -                "type": "object"
      -              },
      -              "reason": {
      -                "enum": [
      -                  "invalid_input",
      -                  "input_limit",
      -                  "timeout",
      -                  "provider_failure",
      -                  "malformed_audit",
      -                  "model_unverified",
      -                  "invalid_repair",
      -                  "repair_not_verified",
      -                  "invalid_skill_structure",
      -                  "repaired_skill_structure_invalid"
      -                ],
      -                "type": "string"
      -              },
      -              "status": {
      -                "enum": [
      -                  "invalid",
      -                  "unverified"
      -                ],
      -                "type": "string"
      -              },
      -              "violationCount": {
      -                "maximum": 9007199254740991,
      -                "minimum": 0,
      -                "type": "integer"
      -              }
      -            },
      -            "required": [
      -              "status",
      -              "reason",
      -              "elapsedMs",
      -              "violationCount"
      -            ],
      -            "type": "object"
      -          }
      -        },
      -        "required": [
      -          "code",
      -          "message",
      -          "recovery",
      -          "retryable",
      -          "requestId"
      -        ],
      -        "type": "object"
      -      }
      -    },
      -    "required": [
      -      "error"
      -    ],
      -    "type": "object"
      -  }
      -]New value: +[
      +  {
      +    "additionalProperties": true,
      +    "not": {
      +      "required": [
      +        "error"
      +      ]
      +    },
      +    "properties": {
      +      "durationMs": {
      +        "type": "integer"
      +      },
      +      "overallScore": {
      +        "maximum": 100,
      +        "minimum": 0,
      +        "type": "integer"
      +      },
      +      "platformId": {
      +        "type": "string"
      +      },
      +      "score": {
      +        "additionalProperties": true,
      +        "type": "object"
      +      },
      +      "suggestions": {
      +        "items": {
      +          "type": "string"
      +        },
      +        "type": "array"
      +      }
      +    },
      +    "required": [
      +      "score",
      +      "overallScore",
      +      "platformId",
      +      "durationMs",
      +      "suggestions"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "error": {
      +        "additionalProperties": false,
      +        "allOf": [
      +          {
      +            "if": {
      +              "required": [
      +                "verification"
      +              ]
      +            },
      +            "then": {
      +              "properties": {
      +                "code": {
      +                  "const": "MCP_SOURCE_FIDELITY_FAILED"
      +                }
      +              }
      +            }
      +          }
      +        ],
      +        "properties": {
      +          "cause": {
      +            "enum": [
      +              "PAYLOAD_TOO_LARGE",
      +              "INSUFFICIENT_SCOPE",
      +              "QUOTA_EXCEEDED",
      +              "GENERATION_FAILED",
      +              "SCORING_FAILED",
      +              "GENERATION_TIMEOUT",
      +              "MCP_SOURCE_FIDELITY_FAILED",
      +              "MCP_PERSISTENCE_REQUIRED",
      +              "MCP_PROMPTDRIVE_SCHEMA_MISMATCH",
      +              "MCP_PROMPTDRIVE_CONSTRAINT_REJECTED",
      +              "MCP_PROMPTDRIVE_TIMEOUT",
      +              "MCP_PROMPTDRIVE_UNAVAILABLE",
      +              "MCP_PROMPTDRIVE_WRITE_FAILED",
      +              "PROMPT_NOT_FOUND",
      +              "MCP_RATE_LIMITER_UNAVAILABLE",
      +              "RATE_LIMIT_EXCEEDED",
      +              "MCP_REQUEST_IN_PROGRESS",
      +              "MCP_IDEMPOTENCY_REQUIRED",
      +              "MCP_IDEMPOTENCY_KEY_INVALID",
      +              "MCP_IDEMPOTENCY_KEY_REUSE_CONFLICT",
      +              "MCP_IDEMPOTENCY_LEDGER_UNAVAILABLE",
      +              "MCP_IDEMPOTENCY_LEASE_LOST",
      +              "MCP_QUOTA_RESERVATION_REQUIRED",
      +              "MCP_QUOTA_USER_NOT_FOUND",
      +              "MEMORY_UNAVAILABLE",
      +              "MEMORY_DISABLED",
      +              "MEMORY_SETTINGS_UNAVAILABLE",
      +              "MEMORY_READ_TIMEOUT",
      +              "MEMORY_SOURCES_FAILED",
      +              "MEMORY_SEARCH_TIMEOUT",
      +              "MEMORY_SEARCH_FAILED",
      +              "MEMORY_PAGE_ID_INVALID",
      +              "MEMORY_PAGE_TIMEOUT",
      +              "MEMORY_PAGE_FAILED",
      +              "MEMORY_PAGE_NOT_FOUND",
      +              "MEMORY_ASK_PRO_REQUIRED",
      +              "MEMORY_ASK_QUOTA",
      +              "MEMORY_ASK_BUSY",
      +              "MEMORY_ASK_TIMEOUT",
      +              "MEMORY_ASK_FAILED",
      +              "MCP_TOOL_EXECUTION_FAILED",
      +              "MCP_TOOL_NOT_FOUND"
      +            ],
      +            "type": "string"
      +          },
      +          "code": {
      +            "enum": [
      +              "PAYLOAD_TOO_LARGE",
      +              "INSUFFICIENT_SCOPE",
      +              "QUOTA_EXCEEDED",
      +              "GENERATION_FAILED",
      +              "SCORING_FAILED",
      +              "GENERATION_TIMEOUT",
      +              "MCP_SOURCE_FIDELITY_FAILED",
      +              "MCP_PERSISTENCE_REQUIRED",
      +              "MCP_PROMPTDRIVE_SCHEMA_MISMATCH",
      +              "MCP_PROMPTDRIVE_CONSTRAINT_REJECTED",
      +              "MCP_PROMPTDRIVE_TIMEOUT",
      +              "MCP_PROMPTDRIVE_UNAVAILABLE",
      +              "MCP_PROMPTDRIVE_WRITE_FAILED",
      +              "PROMPT_NOT_FOUND",
      +              "MCP_RATE_LIMITER_UNAVAILABLE",
      +              "RATE_LIMIT_EXCEEDED",
      +              "MCP_REQUEST_IN_PROGRESS",
      +              "MCP_IDEMPOTENCY_REQUIRED",
      +              "MCP_IDEMPOTENCY_KEY_INVALID",
      +              "MCP_IDEMPOTENCY_KEY_REUSE_CONFLICT",
      +              "MCP_IDEMPOTENCY_LEDGER_UNAVAILABLE",
      +              "MCP_IDEMPOTENCY_LEASE_LOST",
      +              "MCP_QUOTA_RESERVATION_REQUIRED",
      +              "MCP_QUOTA_USER_NOT_FOUND",
      +              "MEMORY_UNAVAILABLE",
      +              "MEMORY_DISABLED",
      +              "MEMORY_SETTINGS_UNAVAILABLE",
      +              "MEMORY_READ_TIMEOUT",
      +              "MEMORY_SOURCES_FAILED",
      +              "MEMORY_SEARCH_TIMEOUT",
      +              "MEMORY_SEARCH_FAILED",
      +              "MEMORY_PAGE_ID_INVALID",
      +              "MEMORY_PAGE_TIMEOUT",
      +              "MEMORY_PAGE_FAILED",
      +              "MEMORY_PAGE_NOT_FOUND",
      +              "MEMORY_ASK_PRO_REQUIRED",
      +              "MEMORY_ASK_QUOTA",
      +              "MEMORY_ASK_BUSY",
      +              "MEMORY_ASK_TIMEOUT",
      +              "MEMORY_ASK_FAILED",
      +              "MCP_TOOL_EXECUTION_FAILED",
      +              "MCP_TOOL_NOT_FOUND"
      +            ],
      +            "type": "string"
      +          },
      +          "currentCount": {
      +            "minimum": 0,
      +            "type": "integer"
      +          },
      +          "limit": {
      +            "minimum": 0,
      +            "type": [
      +              "integer",
      +              "null"
      +            ]
      +          },
      +          "message": {
      +            "minLength": 1,
      +            "type": "string"
      +          },
      +          "recovery": {
      +            "minLength": 1,
      +            "type": "string"
      +          },
      +          "requestId": {
      +            "minLength": 1,
      +            "type": "string"
      +          },
      +          "resetDate": {
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "retryAfterSeconds": {
      +            "minimum": 1,
      +            "type": "integer"
      +          },
      +          "retryable": {
      +            "type": "boolean"
      +          },
      +          "toolName": {
      +            "minLength": 1,
      +            "type": "string"
      +          },
      +          "verification": {
      +            "additionalProperties": false,
      +            "properties": {
      +              "diagnostic": {
      +                "enum": [
      +                  "audit_payload_invalid",
      +                  "audit_unverified",
      +                  "audit_json_invalid",
      +                  "audit_payload_limit",
      +                  "audit_claims_invalid",
      +                  "audit_claim_shape_invalid",
      +                  "audit_claim_quote_unanchored",
      +                  "audit_definition_identifier_invalid",
      +                  "audit_evidence_invalid",
      +                  "audit_evidence_quote_unanchored",
      +                  "audit_omissions_invalid",
      +                  "audit_omission_shape_invalid",
      +                  "audit_omission_quote_unanchored",
      +                  "audit_summary_invalid",
      +                  "audit_incomplete_coverage",
      +                  "audit_legacy_violations_invalid",
      +                  "repair_payload_invalid",
      +                  "repair_replacement_invalid",
      +                  "repair_edits_invalid",
      +                  "repair_edit_invalid",
      +                  "repair_size_limit",
      +                  "repair_anchor_missing",
      +                  "repair_anchor_ambiguous",
      +                  "repair_edits_overlap",
      +                  "repair_empty",
      +                  "repair_no_change",
      +                  "repair_copies_brief",
      +                  "repair_reference_leak",
      +                  "repair_declined",
      +                  "repair_artifact_shape",
      +                  "repair_optimization_profile_shape",
      +                  "input_optimization_profile_invalid",
      +                  "repair_prompt_artifact_wrapper",
      +                  "repair_prompt_metadata_wrapper",
      +                  "repair_prompt_skill_package",
      +                  "recheck_payload_invalid",
      +                  "recheck_invalid",
      +                  "recheck_unverified",
      +                  "audit_timeout",
      +                  "repair_timeout",
      +                  "recheck_timeout",
      +                  "audit_provider_failure",
      +                  "repair_provider_failure",
      +                  "recheck_provider_failure",
      +                  "skill_missing_frontmatter",
      +                  "skill_invalid_frontmatter_fields",
      +                  "skill_empty_body",
      +                  "skill_size_limit",
      +                  "skill_body_line_limit",
      +                  "skill_not_raw_markdown",
      +                  "skill_structure_invalid"
      +                ],
      +                "type": "string"
      +              },
      +              "elapsedMs": {
      +                "maximum": 9007199254740991,
      +                "minimum": 0,
      +                "type": "number"
      +              },
      +              "latestAudit": {
      +                "additionalProperties": false,
      +                "properties": {
      +                  "stage": {
      +                    "enum": [
      +                      "audit",
      +                      "recheck"
      +                    ],
      +                    "type": "string"
      +                  },
      +                  "verdict": {
      +                    "const": "invalid",
      +                    "type": "string"
      +                  },
      +                  "violationCount": {
      +                    "maximum": 35,
      +                    "minimum": 1,
      +                    "type": "integer"
      +                  },
      +                  "violationKinds": {
      +                    "items": {
      +                      "enum": [
      +                        "unsupported_definition",
      +                        "unsupported_fact",
      +                        "changed_fact",
      +                        "unsupported_requirement",
      +                        "missing_requirement"
      +                      ],
      +                      "type": "string"
      +                    },
      +                    "maxItems": 5,
      +                    "minItems": 1,
      +                    "type": "array",
      +                    "uniqueItems": true
      +                  }
      +                },
      +                "required": [
      +                  "stage",
      +                  "verdict",
      +                  "violationCount",
      +                  "violationKinds"
      +                ],
      +                "type": "object"
      +              },
      +              "reason": {
      +                "enum": [
      +                  "invalid_input",
      +                  "input_limit",
      +                  "timeout",
      +                  "provider_failure",
      +                  "malformed_audit",
      +                  "model_unverified",
      +                  "invalid_repair",
      +                  "repair_not_verified",
      +                  "invalid_skill_structure",
      +                  "repaired_skill_structure_invalid"
      +                ],
      +                "type": "string"
      +              },
      +              "status": {
      +                "enum": [
      +                  "invalid",
      +                  "unverified"
      +                ],
      +                "type": "string"
      +              },
      +              "violationCount": {
      +                "maximum": 9007199254740991,
      +                "minimum": 0,
      +                "type": "integer"
      +              }
      +            },
      +            "required": [
      +              "status",
      +              "reason",
      +              "elapsedMs",
      +              "violationCount"
      +            ],
      +            "type": "object"
      +          }
      +        },
      +        "required": [
      +          "code",
      +          "message",
      +          "recovery",
      +          "retryable",
      +          "requestId"
      +        ],
      +        "type": "object"
      +      }
      +    },
      +    "required": [
      +      "error"
      +    ],
      +    "type": "object"
      +  }
      +]
    • changedOutput schema / properties / error / properties / verification / properties / diagnostic / enum
      Previous value: -[
      -  "audit_payload_invalid",
      -  "audit_unverified",
      -  "audit_json_invalid",
      -  "audit_payload_limit",
      -  "audit_claims_invalid",
      -  "audit_claim_shape_invalid",
      -  "audit_claim_quote_unanchored",
      -  "audit_definition_identifier_invalid",
      -  "audit_evidence_invalid",
      -  "audit_evidence_quote_unanchored",
      -  "audit_omissions_invalid",
      -  "audit_omission_shape_invalid",
      -  "audit_omission_quote_unanchored",
      -  "audit_summary_invalid",
      -  "audit_incomplete_coverage",
      -  "audit_legacy_violations_invalid",
      -  "repair_payload_invalid",
      -  "repair_replacement_invalid",
      -  "repair_edits_invalid",
      -  "repair_edit_invalid",
      -  "repair_size_limit",
      -  "repair_anchor_missing",
      -  "repair_anchor_ambiguous",
      -  "repair_edits_overlap",
      -  "repair_empty",
      -  "repair_no_change",
      -  "repair_copies_brief",
      -  "repair_reference_leak",
      -  "repair_declined",
      -  "repair_artifact_shape",
      -  "recheck_payload_invalid",
      -  "recheck_invalid",
      -  "recheck_unverified",
      -  "audit_timeout",
      -  "repair_timeout",
      -  "recheck_timeout",
      -  "audit_provider_failure",
      -  "repair_provider_failure",
      -  "recheck_provider_failure",
      -  "skill_missing_frontmatter",
      -  "skill_invalid_frontmatter_fields",
      -  "skill_empty_body",
      -  "skill_size_limit",
      -  "skill_body_line_limit",
      -  "skill_not_raw_markdown",
      -  "skill_structure_invalid"
      -]New value: +[
      +  "audit_payload_invalid",
      +  "audit_unverified",
      +  "audit_json_invalid",
      +  "audit_payload_limit",
      +  "audit_claims_invalid",
      +  "audit_claim_shape_invalid",
      +  "audit_claim_quote_unanchored",
      +  "audit_definition_identifier_invalid",
      +  "audit_evidence_invalid",
      +  "audit_evidence_quote_unanchored",
      +  "audit_omissions_invalid",
      +  "audit_omission_shape_invalid",
      +  "audit_omission_quote_unanchored",
      +  "audit_summary_invalid",
      +  "audit_incomplete_coverage",
      +  "audit_legacy_violations_invalid",
      +  "repair_payload_invalid",
      +  "repair_replacement_invalid",
      +  "repair_edits_invalid",
      +  "repair_edit_invalid",
      +  "repair_size_limit",
      +  "repair_anchor_missing",
      +  "repair_anchor_ambiguous",
      +  "repair_edits_overlap",
      +  "repair_empty",
      +  "repair_no_change",
      +  "repair_copies_brief",
      +  "repair_reference_leak",
      +  "repair_declined",
      +  "repair_artifact_shape",
      +  "repair_optimization_profile_shape",
      +  "input_optimization_profile_invalid",
      +  "repair_prompt_artifact_wrapper",
      +  "repair_prompt_metadata_wrapper",
      +  "repair_prompt_skill_package",
      +  "recheck_payload_invalid",
      +  "recheck_invalid",
      +  "recheck_unverified",
      +  "audit_timeout",
      +  "repair_timeout",
      +  "recheck_timeout",
      +  "audit_provider_failure",
      +  "repair_provider_failure",
      +  "recheck_provider_failure",
      +  "skill_missing_frontmatter",
      +  "skill_invalid_frontmatter_fields",
      +  "skill_empty_body",
      +  "skill_size_limit",
      +  "skill_body_line_limit",
      +  "skill_not_raw_markdown",
      +  "skill_structure_invalid"
      +]
  2. Changed2 schema fields changed
    • changedOutput schema / oneOf
      Previous value: -[
      -  {
      -    "additionalProperties": true,
      -    "not": {
      -      "required": [
      -        "error"
      -      ]
      -    },
      -    "properties": {
      -      "durationMs": {
      -        "type": "integer"
      -      },
      -      "overallScore": {
      -        "maximum": 100,
      -        "minimum": 0,
      -        "type": "integer"
      -      },
      -      "platformId": {
      -        "type": "string"
      -      },
      -      "score": {
      -        "additionalProperties": true,
      -        "type": "object"
      -      },
      -      "suggestions": {
      -        "items": {
      -          "type": "string"
      -        },
      -        "type": "array"
      -      }
      -    },
      -    "required": [
      -      "score",
      -      "overallScore",
      -      "platformId",
      -      "durationMs",
      -      "suggestions"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "error": {
      -        "additionalProperties": false,
      -        "allOf": [
      -          {
      -            "if": {
      -              "required": [
      -                "verification"
      -              ]
      -            },
      -            "then": {
      -              "properties": {
      -                "code": {
      -                  "const": "MCP_SOURCE_FIDELITY_FAILED"
      -                }
      -              }
      -            }
      -          }
      -        ],
      -        "properties": {
      -          "cause": {
      -            "enum": [
      -              "PAYLOAD_TOO_LARGE",
      -              "INSUFFICIENT_SCOPE",
      -              "QUOTA_EXCEEDED",
      -              "GENERATION_FAILED",
      -              "SCORING_FAILED",
      -              "GENERATION_TIMEOUT",
      -              "MCP_SOURCE_FIDELITY_FAILED",
      -              "MCP_PERSISTENCE_REQUIRED",
      -              "MCP_PROMPTDRIVE_SCHEMA_MISMATCH",
      -              "MCP_PROMPTDRIVE_CONSTRAINT_REJECTED",
      -              "MCP_PROMPTDRIVE_TIMEOUT",
      -              "MCP_PROMPTDRIVE_UNAVAILABLE",
      -              "MCP_PROMPTDRIVE_WRITE_FAILED",
      -              "PROMPT_NOT_FOUND",
      -              "MCP_RATE_LIMITER_UNAVAILABLE",
      -              "RATE_LIMIT_EXCEEDED",
      -              "MCP_REQUEST_IN_PROGRESS",
      -              "MCP_IDEMPOTENCY_REQUIRED",
      -              "MCP_IDEMPOTENCY_KEY_INVALID",
      -              "MCP_IDEMPOTENCY_KEY_REUSE_CONFLICT",
      -              "MCP_IDEMPOTENCY_LEDGER_UNAVAILABLE",
      -              "MCP_IDEMPOTENCY_LEASE_LOST",
      -              "MCP_QUOTA_RESERVATION_REQUIRED",
      -              "MCP_QUOTA_USER_NOT_FOUND",
      -              "MEMORY_UNAVAILABLE",
      -              "MEMORY_DISABLED",
      -              "MEMORY_SETTINGS_UNAVAILABLE",
      -              "MEMORY_READ_TIMEOUT",
      -              "MEMORY_SOURCES_FAILED",
      -              "MEMORY_SEARCH_TIMEOUT",
      -              "MEMORY_SEARCH_FAILED",
      -              "MEMORY_PAGE_ID_INVALID",
      -              "MEMORY_PAGE_TIMEOUT",
      -              "MEMORY_PAGE_FAILED",
      -              "MEMORY_PAGE_NOT_FOUND",
      -              "MEMORY_ASK_PRO_REQUIRED",
      -              "MEMORY_ASK_QUOTA",
      -              "MEMORY_ASK_BUSY",
      -              "MEMORY_ASK_TIMEOUT",
      -              "MEMORY_ASK_FAILED",
      -              "MCP_TOOL_EXECUTION_FAILED",
      -              "MCP_TOOL_NOT_FOUND"
      -            ],
      -            "type": "string"
      -          },
      -          "code": {
      -            "enum": [
      -              "PAYLOAD_TOO_LARGE",
      -              "INSUFFICIENT_SCOPE",
      -              "QUOTA_EXCEEDED",
      -              "GENERATION_FAILED",
      -              "SCORING_FAILED",
      -              "GENERATION_TIMEOUT",
      -              "MCP_SOURCE_FIDELITY_FAILED",
      -              "MCP_PERSISTENCE_REQUIRED",
      -              "MCP_PROMPTDRIVE_SCHEMA_MISMATCH",
      -              "MCP_PROMPTDRIVE_CONSTRAINT_REJECTED",
      -              "MCP_PROMPTDRIVE_TIMEOUT",
      -              "MCP_PROMPTDRIVE_UNAVAILABLE",
      -              "MCP_PROMPTDRIVE_WRITE_FAILED",
      -              "PROMPT_NOT_FOUND",
      -              "MCP_RATE_LIMITER_UNAVAILABLE",
      -              "RATE_LIMIT_EXCEEDED",
      -              "MCP_REQUEST_IN_PROGRESS",
      -              "MCP_IDEMPOTENCY_REQUIRED",
      -              "MCP_IDEMPOTENCY_KEY_INVALID",
      -              "MCP_IDEMPOTENCY_KEY_REUSE_CONFLICT",
      -              "MCP_IDEMPOTENCY_LEDGER_UNAVAILABLE",
      -              "MCP_IDEMPOTENCY_LEASE_LOST",
      -              "MCP_QUOTA_RESERVATION_REQUIRED",
      -              "MCP_QUOTA_USER_NOT_FOUND",
      -              "MEMORY_UNAVAILABLE",
      -              "MEMORY_DISABLED",
      -              "MEMORY_SETTINGS_UNAVAILABLE",
      -              "MEMORY_READ_TIMEOUT",
      -              "MEMORY_SOURCES_FAILED",
      -              "MEMORY_SEARCH_TIMEOUT",
      -              "MEMORY_SEARCH_FAILED",
      -              "MEMORY_PAGE_ID_INVALID",
      -              "MEMORY_PAGE_TIMEOUT",
      -              "MEMORY_PAGE_FAILED",
      -              "MEMORY_PAGE_NOT_FOUND",
      -              "MEMORY_ASK_PRO_REQUIRED",
      -              "MEMORY_ASK_QUOTA",
      -              "MEMORY_ASK_BUSY",
      -              "MEMORY_ASK_TIMEOUT",
      -              "MEMORY_ASK_FAILED",
      -              "MCP_TOOL_EXECUTION_FAILED",
      -              "MCP_TOOL_NOT_FOUND"
      -            ],
      -            "type": "string"
      -          },
      -          "currentCount": {
      -            "minimum": 0,
      -            "type": "integer"
      -          },
      -          "limit": {
      -            "minimum": 0,
      -            "type": [
      -              "integer",
      -              "null"
      -            ]
      -          },
      -          "message": {
      -            "minLength": 1,
      -            "type": "string"
      -          },
      -          "recovery": {
      -            "minLength": 1,
      -            "type": "string"
      -          },
      -          "requestId": {
      -            "minLength": 1,
      -            "type": "string"
      -          },
      -          "resetDate": {
      -            "type": [
      -              "string",
      -              "null"
      -            ]
      -          },
      -          "retryAfterSeconds": {
      -            "minimum": 1,
      -            "type": "integer"
      -          },
      -          "retryable": {
      -            "type": "boolean"
      -          },
      -          "toolName": {
      -            "minLength": 1,
      -            "type": "string"
      -          },
      -          "verification": {
      -            "additionalProperties": false,
      -            "properties": {
      -              "diagnostic": {
      -                "enum": [
      -                  "audit_payload_invalid",
      -                  "audit_unverified",
      -                  "audit_json_invalid",
      -                  "audit_payload_limit",
      -                  "audit_claims_invalid",
      -                  "audit_claim_shape_invalid",
      -                  "audit_claim_quote_unanchored",
      -                  "audit_definition_identifier_invalid",
      -                  "audit_evidence_invalid",
      -                  "audit_evidence_quote_unanchored",
      -                  "audit_omissions_invalid",
      -                  "audit_omission_shape_invalid",
      -                  "audit_omission_quote_unanchored",
      -                  "audit_summary_invalid",
      -                  "audit_incomplete_coverage",
      -                  "audit_legacy_violations_invalid",
      -                  "repair_payload_invalid",
      -                  "repair_replacement_invalid",
      -                  "repair_edits_invalid",
      -                  "repair_edit_invalid",
      -                  "repair_size_limit",
      -                  "repair_anchor_missing",
      -                  "repair_anchor_ambiguous",
      -                  "repair_edits_overlap",
      -                  "repair_empty",
      -                  "repair_no_change",
      -                  "repair_copies_brief",
      -                  "repair_reference_leak",
      -                  "repair_declined",
      -                  "recheck_payload_invalid",
      -                  "recheck_invalid",
      -                  "recheck_unverified",
      -                  "audit_timeout",
      -                  "repair_timeout",
      -                  "recheck_timeout",
      -                  "audit_provider_failure",
      -                  "repair_provider_failure",
      -                  "recheck_provider_failure",
      -                  "skill_missing_frontmatter",
      -                  "skill_invalid_frontmatter_fields",
      -                  "skill_empty_body",
      -                  "skill_size_limit",
      -                  "skill_body_line_limit",
      -                  "skill_not_raw_markdown",
      -                  "skill_structure_invalid"
      -                ],
      -                "type": "string"
      -              },
      -              "elapsedMs": {
      -                "maximum": 9007199254740991,
      -                "minimum": 0,
      -                "type": "number"
      -              },
      -              "latestAudit": {
      -                "additionalProperties": false,
      -                "properties": {
      -                  "stage": {
      -                    "enum": [
      -                      "audit",
      -                      "recheck"
      -                    ],
      -                    "type": "string"
      -                  },
      -                  "verdict": {
      -                    "const": "invalid",
      -                    "type": "string"
      -                  },
      -                  "violationCount": {
      -                    "maximum": 35,
      -                    "minimum": 1,
      -                    "type": "integer"
      -                  },
      -                  "violationKinds": {
      -                    "items": {
      -                      "enum": [
      -                        "unsupported_definition",
      -                        "unsupported_fact",
      -                        "changed_fact",
      -                        "unsupported_requirement",
      -                        "missing_requirement"
      -                      ],
      -                      "type": "string"
      -                    },
      -                    "maxItems": 5,
      -                    "minItems": 1,
      -                    "type": "array",
      -                    "uniqueItems": true
      -                  }
      -                },
      -                "required": [
      -                  "stage",
      -                  "verdict",
      -                  "violationCount",
      -                  "violationKinds"
      -                ],
      -                "type": "object"
      -              },
      -              "reason": {
      -                "enum": [
      -                  "invalid_input",
      -                  "input_limit",
      -                  "timeout",
      -                  "provider_failure",
      -                  "malformed_audit",
      -                  "model_unverified",
      -                  "invalid_repair",
      -                  "repair_not_verified",
      -                  "invalid_skill_structure",
      -                  "repaired_skill_structure_invalid"
      -                ],
      -                "type": "string"
      -              },
      -              "status": {
      -                "enum": [
      -                  "invalid",
      -                  "unverified"
      -                ],
      -                "type": "string"
      -              },
      -              "violationCount": {
      -                "maximum": 9007199254740991,
      -                "minimum": 0,
      -                "type": "integer"
      -              }
      -            },
      -            "required": [
      -              "status",
      -              "reason",
      -              "elapsedMs",
      -              "violationCount"
      -            ],
      -            "type": "object"
      -          }
      -        },
      -        "required": [
      -          "code",
      -          "message",
      -          "recovery",
      -          "retryable",
      -          "requestId"
      -        ],
      -        "type": "object"
      -      }
      -    },
      -    "required": [
      -      "error"
      -    ],
      -    "type": "object"
      -  }
      -]New value: +[
      +  {
      +    "additionalProperties": true,
      +    "not": {
      +      "required": [
      +        "error"
      +      ]
      +    },
      +    "properties": {
      +      "durationMs": {
      +        "type": "integer"
      +      },
      +      "overallScore": {
      +        "maximum": 100,
      +        "minimum": 0,
      +        "type": "integer"
      +      },
      +      "platformId": {
      +        "type": "string"
      +      },
      +      "score": {
      +        "additionalProperties": true,
      +        "type": "object"
      +      },
      +      "suggestions": {
      +        "items": {
      +          "type": "string"
      +        },
      +        "type": "array"
      +      }
      +    },
      +    "required": [
      +      "score",
      +      "overallScore",
      +      "platformId",
      +      "durationMs",
      +      "suggestions"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "error": {
      +        "additionalProperties": false,
      +        "allOf": [
      +          {
      +            "if": {
      +              "required": [
      +                "verification"
      +              ]
      +            },
      +            "then": {
      +              "properties": {
      +                "code": {
      +                  "const": "MCP_SOURCE_FIDELITY_FAILED"
      +                }
      +              }
      +            }
      +          }
      +        ],
      +        "properties": {
      +          "cause": {
      +            "enum": [
      +              "PAYLOAD_TOO_LARGE",
      +              "INSUFFICIENT_SCOPE",
      +              "QUOTA_EXCEEDED",
      +              "GENERATION_FAILED",
      +              "SCORING_FAILED",
      +              "GENERATION_TIMEOUT",
      +              "MCP_SOURCE_FIDELITY_FAILED",
      +              "MCP_PERSISTENCE_REQUIRED",
      +              "MCP_PROMPTDRIVE_SCHEMA_MISMATCH",
      +              "MCP_PROMPTDRIVE_CONSTRAINT_REJECTED",
      +              "MCP_PROMPTDRIVE_TIMEOUT",
      +              "MCP_PROMPTDRIVE_UNAVAILABLE",
      +              "MCP_PROMPTDRIVE_WRITE_FAILED",
      +              "PROMPT_NOT_FOUND",
      +              "MCP_RATE_LIMITER_UNAVAILABLE",
      +              "RATE_LIMIT_EXCEEDED",
      +              "MCP_REQUEST_IN_PROGRESS",
      +              "MCP_IDEMPOTENCY_REQUIRED",
      +              "MCP_IDEMPOTENCY_KEY_INVALID",
      +              "MCP_IDEMPOTENCY_KEY_REUSE_CONFLICT",
      +              "MCP_IDEMPOTENCY_LEDGER_UNAVAILABLE",
      +              "MCP_IDEMPOTENCY_LEASE_LOST",
      +              "MCP_QUOTA_RESERVATION_REQUIRED",
      +              "MCP_QUOTA_USER_NOT_FOUND",
      +              "MEMORY_UNAVAILABLE",
      +              "MEMORY_DISABLED",
      +              "MEMORY_SETTINGS_UNAVAILABLE",
      +              "MEMORY_READ_TIMEOUT",
      +              "MEMORY_SOURCES_FAILED",
      +              "MEMORY_SEARCH_TIMEOUT",
      +              "MEMORY_SEARCH_FAILED",
      +              "MEMORY_PAGE_ID_INVALID",
      +              "MEMORY_PAGE_TIMEOUT",
      +              "MEMORY_PAGE_FAILED",
      +              "MEMORY_PAGE_NOT_FOUND",
      +              "MEMORY_ASK_PRO_REQUIRED",
      +              "MEMORY_ASK_QUOTA",
      +              "MEMORY_ASK_BUSY",
      +              "MEMORY_ASK_TIMEOUT",
      +              "MEMORY_ASK_FAILED",
      +              "MCP_TOOL_EXECUTION_FAILED",
      +              "MCP_TOOL_NOT_FOUND"
      +            ],
      +            "type": "string"
      +          },
      +          "code": {
      +            "enum": [
      +              "PAYLOAD_TOO_LARGE",
      +              "INSUFFICIENT_SCOPE",
      +              "QUOTA_EXCEEDED",
      +              "GENERATION_FAILED",
      +              "SCORING_FAILED",
      +              "GENERATION_TIMEOUT",
      +              "MCP_SOURCE_FIDELITY_FAILED",
      +              "MCP_PERSISTENCE_REQUIRED",
      +              "MCP_PROMPTDRIVE_SCHEMA_MISMATCH",
      +              "MCP_PROMPTDRIVE_CONSTRAINT_REJECTED",
      +              "MCP_PROMPTDRIVE_TIMEOUT",
      +              "MCP_PROMPTDRIVE_UNAVAILABLE",
      +              "MCP_PROMPTDRIVE_WRITE_FAILED",
      +              "PROMPT_NOT_FOUND",
      +              "MCP_RATE_LIMITER_UNAVAILABLE",
      +              "RATE_LIMIT_EXCEEDED",
      +              "MCP_REQUEST_IN_PROGRESS",
      +              "MCP_IDEMPOTENCY_REQUIRED",
      +              "MCP_IDEMPOTENCY_KEY_INVALID",
      +              "MCP_IDEMPOTENCY_KEY_REUSE_CONFLICT",
      +              "MCP_IDEMPOTENCY_LEDGER_UNAVAILABLE",
      +              "MCP_IDEMPOTENCY_LEASE_LOST",
      +              "MCP_QUOTA_RESERVATION_REQUIRED",
      +              "MCP_QUOTA_USER_NOT_FOUND",
      +              "MEMORY_UNAVAILABLE",
      +              "MEMORY_DISABLED",
      +              "MEMORY_SETTINGS_UNAVAILABLE",
      +              "MEMORY_READ_TIMEOUT",
      +              "MEMORY_SOURCES_FAILED",
      +              "MEMORY_SEARCH_TIMEOUT",
      +              "MEMORY_SEARCH_FAILED",
      +              "MEMORY_PAGE_ID_INVALID",
      +              "MEMORY_PAGE_TIMEOUT",
      +              "MEMORY_PAGE_FAILED",
      +              "MEMORY_PAGE_NOT_FOUND",
      +              "MEMORY_ASK_PRO_REQUIRED",
      +              "MEMORY_ASK_QUOTA",
      +              "MEMORY_ASK_BUSY",
      +              "MEMORY_ASK_TIMEOUT",
      +              "MEMORY_ASK_FAILED",
      +              "MCP_TOOL_EXECUTION_FAILED",
      +              "MCP_TOOL_NOT_FOUND"
      +            ],
      +            "type": "string"
      +          },
      +          "currentCount": {
      +            "minimum": 0,
      +            "type": "integer"
      +          },
      +          "limit": {
      +            "minimum": 0,
      +            "type": [
      +              "integer",
      +              "null"
      +            ]
      +          },
      +          "message": {
      +            "minLength": 1,
      +            "type": "string"
      +          },
      +          "recovery": {
      +            "minLength": 1,
      +            "type": "string"
      +          },
      +          "requestId": {
      +            "minLength": 1,
      +            "type": "string"
      +          },
      +          "resetDate": {
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "retryAfterSeconds": {
      +            "minimum": 1,
      +            "type": "integer"
      +          },
      +          "retryable": {
      +            "type": "boolean"
      +          },
      +          "toolName": {
      +            "minLength": 1,
      +            "type": "string"
      +          },
      +          "verification": {
      +            "additionalProperties": false,
      +            "properties": {
      +              "diagnostic": {
      +                "enum": [
      +                  "audit_payload_invalid",
      +                  "audit_unverified",
      +                  "audit_json_invalid",
      +                  "audit_payload_limit",
      +                  "audit_claims_invalid",
      +                  "audit_claim_shape_invalid",
      +                  "audit_claim_quote_unanchored",
      +                  "audit_definition_identifier_invalid",
      +                  "audit_evidence_invalid",
      +                  "audit_evidence_quote_unanchored",
      +                  "audit_omissions_invalid",
      +                  "audit_omission_shape_invalid",
      +                  "audit_omission_quote_unanchored",
      +                  "audit_summary_invalid",
      +                  "audit_incomplete_coverage",
      +                  "audit_legacy_violations_invalid",
      +                  "repair_payload_invalid",
      +                  "repair_replacement_invalid",
      +                  "repair_edits_invalid",
      +                  "repair_edit_invalid",
      +                  "repair_size_limit",
      +                  "repair_anchor_missing",
      +                  "repair_anchor_ambiguous",
      +                  "repair_edits_overlap",
      +                  "repair_empty",
      +                  "repair_no_change",
      +                  "repair_copies_brief",
      +                  "repair_reference_leak",
      +                  "repair_declined",
      +                  "repair_artifact_shape",
      +                  "recheck_payload_invalid",
      +                  "recheck_invalid",
      +                  "recheck_unverified",
      +                  "audit_timeout",
      +                  "repair_timeout",
      +                  "recheck_timeout",
      +                  "audit_provider_failure",
      +                  "repair_provider_failure",
      +                  "recheck_provider_failure",
      +                  "skill_missing_frontmatter",
      +                  "skill_invalid_frontmatter_fields",
      +                  "skill_empty_body",
      +                  "skill_size_limit",
      +                  "skill_body_line_limit",
      +                  "skill_not_raw_markdown",
      +                  "skill_structure_invalid"
      +                ],
      +                "type": "string"
      +              },
      +              "elapsedMs": {
      +                "maximum": 9007199254740991,
      +                "minimum": 0,
      +                "type": "number"
      +              },
      +              "latestAudit": {
      +                "additionalProperties": false,
      +                "properties": {
      +                  "stage": {
      +                    "enum": [
      +                      "audit",
      +                      "recheck"
      +                    ],
      +                    "type": "string"
      +                  },
      +                  "verdict": {
      +                    "const": "invalid",
      +                    "type": "string"
      +                  },
      +                  "violationCount": {
      +                    "maximum": 35,
      +                    "minimum": 1,
      +                    "type": "integer"
      +                  },
      +                  "violationKinds": {
      +                    "items": {
      +                      "enum": [
      +                        "unsupported_definition",
      +                        "unsupported_fact",
      +                        "changed_fact",
      +                        "unsupported_requirement",
      +                        "missing_requirement"
      +                      ],
      +                      "type": "string"
      +                    },
      +                    "maxItems": 5,
      +                    "minItems": 1,
      +                    "type": "array",
      +                    "uniqueItems": true
      +                  }
      +                },
      +                "required": [
      +                  "stage",
      +                  "verdict",
      +                  "violationCount",
      +                  "violationKinds"
      +                ],
      +                "type": "object"
      +              },
      +              "reason": {
      +                "enum": [
      +                  "invalid_input",
      +                  "input_limit",
      +                  "timeout",
      +                  "provider_failure",
      +                  "malformed_audit",
      +                  "model_unverified",
      +                  "invalid_repair",
      +                  "repair_not_verified",
      +                  "invalid_skill_structure",
      +                  "repaired_skill_structure_invalid"
      +                ],
      +                "type": "string"
      +              },
      +              "status": {
      +                "enum": [
      +                  "invalid",
      +                  "unverified"
      +                ],
      +                "type": "string"
      +              },
      +              "violationCount": {
      +                "maximum": 9007199254740991,
      +                "minimum": 0,
      +                "type": "integer"
      +              }
      +            },
      +            "required": [
      +              "status",
      +              "reason",
      +              "elapsedMs",
      +              "violationCount"
      +            ],
      +            "type": "object"
      +          }
      +        },
      +        "required": [
      +          "code",
      +          "message",
      +          "recovery",
      +          "retryable",
      +          "requestId"
      +        ],
      +        "type": "object"
      +      }
      +    },
      +    "required": [
      +      "error"
      +    ],
      +    "type": "object"
      +  }
      +]
    • changedOutput schema / properties / error / properties / verification / properties / diagnostic / enum
      Previous value: -[
      -  "audit_payload_invalid",
      -  "audit_unverified",
      -  "audit_json_invalid",
      -  "audit_payload_limit",
      -  "audit_claims_invalid",
      -  "audit_claim_shape_invalid",
      -  "audit_claim_quote_unanchored",
      -  "audit_definition_identifier_invalid",
      -  "audit_evidence_invalid",
      -  "audit_evidence_quote_unanchored",
      -  "audit_omissions_invalid",
      -  "audit_omission_shape_invalid",
      -  "audit_omission_quote_unanchored",
      -  "audit_summary_invalid",
      -  "audit_incomplete_coverage",
      -  "audit_legacy_violations_invalid",
      -  "repair_payload_invalid",
      -  "repair_replacement_invalid",
      -  "repair_edits_invalid",
      -  "repair_edit_invalid",
      -  "repair_size_limit",
      -  "repair_anchor_missing",
      -  "repair_anchor_ambiguous",
      -  "repair_edits_overlap",
      -  "repair_empty",
      -  "repair_no_change",
      -  "repair_copies_brief",
      -  "repair_reference_leak",
      -  "repair_declined",
      -  "recheck_payload_invalid",
      -  "recheck_invalid",
      -  "recheck_unverified",
      -  "audit_timeout",
      -  "repair_timeout",
      -  "recheck_timeout",
      -  "audit_provider_failure",
      -  "repair_provider_failure",
      -  "recheck_provider_failure",
      -  "skill_missing_frontmatter",
      -  "skill_invalid_frontmatter_fields",
      -  "skill_empty_body",
      -  "skill_size_limit",
      -  "skill_body_line_limit",
      -  "skill_not_raw_markdown",
      -  "skill_structure_invalid"
      -]New value: +[
      +  "audit_payload_invalid",
      +  "audit_unverified",
      +  "audit_json_invalid",
      +  "audit_payload_limit",
      +  "audit_claims_invalid",
      +  "audit_claim_shape_invalid",
      +  "audit_claim_quote_unanchored",
      +  "audit_definition_identifier_invalid",
      +  "audit_evidence_invalid",
      +  "audit_evidence_quote_unanchored",
      +  "audit_omissions_invalid",
      +  "audit_omission_shape_invalid",
      +  "audit_omission_quote_unanchored",
      +  "audit_summary_invalid",
      +  "audit_incomplete_coverage",
      +  "audit_legacy_violations_invalid",
      +  "repair_payload_invalid",
      +  "repair_replacement_invalid",
      +  "repair_edits_invalid",
      +  "repair_edit_invalid",
      +  "repair_size_limit",
      +  "repair_anchor_missing",
      +  "repair_anchor_ambiguous",
      +  "repair_edits_overlap",
      +  "repair_empty",
      +  "repair_no_change",
      +  "repair_copies_brief",
      +  "repair_reference_leak",
      +  "repair_declined",
      +  "repair_artifact_shape",
      +  "recheck_payload_invalid",
      +  "recheck_invalid",
      +  "recheck_unverified",
      +  "audit_timeout",
      +  "repair_timeout",
      +  "recheck_timeout",
      +  "audit_provider_failure",
      +  "repair_provider_failure",
      +  "recheck_provider_failure",
      +  "skill_missing_frontmatter",
      +  "skill_invalid_frontmatter_fields",
      +  "skill_empty_body",
      +  "skill_size_limit",
      +  "skill_body_line_limit",
      +  "skill_not_raw_markdown",
      +  "skill_structure_invalid"
      +]
  3. First observed

TDQS

A4.3/5.0
Behavior4/5

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

Adds meaningful context beyond annotations by disclosing that the call consumes account generation quota and that the result is retained for safe retry. This explains the non-read-only, non-free nature of the call (consistent with readOnlyHint=false) and clarifies the idempotency nuance despite idempotentHint=false. No contradiction, though permissions or rate behavior is not mentioned.

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

Conciseness5/5

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

Two sentences, zero filler, with the core purpose front-loaded and the boundary conditions trailing. Every clause carries distinct information.

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

Completeness5/5

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

An output schema exists, so return values need no explanation. The description covers what an agent needs to call it correctly: cost (quota), side-effect boundaries, and retry behavior. Nothing material is missing.

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

Parameters3/5

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

Schema description coverage is 100%, so all three parameters are already documented in the schema, which sets the baseline at 3. The description reinforces the retry/idempotency semantics in prose but adds no format, range, or default detail beyond what the schema states (e.g., platformId default is already given there).

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and resource ("Compute a Prompt Score"), quantifies the scope (16 quality dimensions, with suggestions), and explicitly rules out two sibling behaviors (does not create a PromptDrive item, does not execute the prompt). An agent can distinguish this from generate_prompt and save_to_promptdrive without opening any schema.

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

Usage Guidelines4/5

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

The negative clauses ("does not create a PromptDrive item or execute the supplied prompt") function as clear routing boundaries away from save_to_promptdrive and generate_prompt. However, it never states the positive trigger condition or points to a named alternative, so guidance is strong but not fully explicit.

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.