Skip to main content
Glama

Generate Prompt

generate_prompt

Generate an AI prompt for a selected platform using external AI processors and automatically save it to your private PromptDrive. Consumes generation quota and may queue private tile or quality enrichment. Optional Memory grounding uses only your authorized private sources. It does not execute the generated prompt or browse supplied URLs. Calling hosts should pass their selected platformId and exact modelId when available; omission remains supported.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
memoryNoPer-request Memory control. inherit uses your MCP default; on/off overrides it unless enterprise policy requires or disables Memory.
modelIdNoPass the exact model selected in the calling app whenever the host exposes it (Claude chat/Cowork/Code, ChatGPT/Work, or Codex). Examples: 'opus', 'haiku', 'gpt-5.6-sol', 'terra', 'luna', 'fable'. Sol, Terra, Luna, and GPT-5.6 select Sol optimization; Fable selects Fable optimization. Other or unavailable model IDs use Prompeteer's standard universal generation. Omit only when the host cannot identify its model.
platformIdNoPlatform selected in the calling MCP app (e.g., 'claude', 'chatgpt', 'codex', 'claude-code'), or an explicit non-host target such as 'midjourney'. If omitted, defaults to the detected calling MCP app.
promptIdeaYesThe idea or topic for the prompt you want to generate
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.
targetProfileIdNoOptional deterministic profile override for API clients. 'sol' shapes the prompt for GPT-5.6 Sol, 'fable' shapes the prompt for Claude Fable 5. MCP hosts should normally send the selected modelId; users invoke only Prompeteer and may state the desired model naturally. Omit for normal generation.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
errorNo
memoryNo
promptNo
contentNo
modelIdNo
metadataNo
promptIdNo
durationMsNo
platformIdNo
savedToVaultNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • changedOutput schema / oneOf
      Previous value: -[
      -  {
      -    "additionalProperties": true,
      -    "not": {
      -      "required": [
      -        "error"
      -      ]
      -    },
      -    "properties": {
      -      "content": {
      -        "type": "string"
      -      },
      -      "durationMs": {
      -        "type": "integer"
      -      },
      -      "memory": {
      -        "additionalProperties": true,
      -        "type": "object"
      -      },
      -      "metadata": {
      -        "additionalProperties": true,
      -        "properties": {
      -          "sourceFidelity": {
      -            "additionalProperties": false,
      -            "properties": {
      -              "diagnostic": {
      -                "type": "string"
      -              },
      -              "elapsedMs": {
      -                "minimum": 0,
      -                "type": "number"
      -              },
      -              "reason": {
      -                "enum": [
      -                  "verified",
      -                  "repaired_and_verified",
      -                  "invalid_input",
      -                  "input_limit",
      -                  "timeout",
      -                  "provider_failure",
      -                  "malformed_audit",
      -                  "model_unverified",
      -                  "invalid_repair",
      -                  "repair_not_verified"
      -                ],
      -                "type": "string"
      -              },
      -              "status": {
      -                "enum": [
      -                  "verified",
      -                  "repaired",
      -                  "unverified",
      -                  "source_preserved"
      -                ],
      -                "type": "string"
      -              },
      -              "violationCount": {
      -                "minimum": 0,
      -                "type": "integer"
      -              }
      -            },
      -            "required": [
      -              "status",
      -              "violationCount",
      -              "elapsedMs"
      -            ],
      -            "type": "object"
      -          }
      -        },
      -        "type": "object"
      -      },
      -      "modelId": {
      -        "type": "string"
      -      },
      -      "platformId": {
      -        "type": "string"
      -      },
      -      "prompt": {
      -        "type": "string"
      -      },
      -      "promptId": {
      -        "type": [
      -          "string",
      -          "null"
      -        ]
      -      },
      -      "savedToVault": {
      -        "type": "boolean"
      -      }
      -    },
      -    "required": [
      -      "prompt",
      -      "content",
      -      "platformId",
      -      "modelId",
      -      "promptId",
      -      "savedToVault",
      -      "durationMs",
      -      "metadata",
      -      "memory"
      -    ],
      -    "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": {
      +      "content": {
      +        "type": "string"
      +      },
      +      "durationMs": {
      +        "type": "integer"
      +      },
      +      "memory": {
      +        "additionalProperties": true,
      +        "type": "object"
      +      },
      +      "metadata": {
      +        "additionalProperties": true,
      +        "properties": {
      +          "sourceFidelity": {
      +            "additionalProperties": false,
      +            "properties": {
      +              "diagnostic": {
      +                "type": "string"
      +              },
      +              "elapsedMs": {
      +                "minimum": 0,
      +                "type": "number"
      +              },
      +              "reason": {
      +                "enum": [
      +                  "verified",
      +                  "repaired_and_verified",
      +                  "invalid_input",
      +                  "input_limit",
      +                  "timeout",
      +                  "provider_failure",
      +                  "malformed_audit",
      +                  "model_unverified",
      +                  "invalid_repair",
      +                  "repair_not_verified"
      +                ],
      +                "type": "string"
      +              },
      +              "status": {
      +                "enum": [
      +                  "verified",
      +                  "repaired",
      +                  "unverified",
      +                  "source_preserved"
      +                ],
      +                "type": "string"
      +              },
      +              "violationCount": {
      +                "minimum": 0,
      +                "type": "integer"
      +              }
      +            },
      +            "required": [
      +              "status",
      +              "violationCount",
      +              "elapsedMs"
      +            ],
      +            "type": "object"
      +          }
      +        },
      +        "type": "object"
      +      },
      +      "modelId": {
      +        "type": "string"
      +      },
      +      "platformId": {
      +        "type": "string"
      +      },
      +      "prompt": {
      +        "type": "string"
      +      },
      +      "promptId": {
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "savedToVault": {
      +        "type": "boolean"
      +      }
      +    },
      +    "required": [
      +      "prompt",
      +      "content",
      +      "platformId",
      +      "modelId",
      +      "promptId",
      +      "savedToVault",
      +      "durationMs",
      +      "metadata",
      +      "memory"
      +    ],
      +    "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": {
      -      "content": {
      -        "type": "string"
      -      },
      -      "durationMs": {
      -        "type": "integer"
      -      },
      -      "memory": {
      -        "additionalProperties": true,
      -        "type": "object"
      -      },
      -      "metadata": {
      -        "additionalProperties": true,
      -        "properties": {
      -          "sourceFidelity": {
      -            "additionalProperties": false,
      -            "properties": {
      -              "diagnostic": {
      -                "type": "string"
      -              },
      -              "elapsedMs": {
      -                "minimum": 0,
      -                "type": "number"
      -              },
      -              "reason": {
      -                "enum": [
      -                  "verified",
      -                  "repaired_and_verified",
      -                  "invalid_input",
      -                  "input_limit",
      -                  "timeout",
      -                  "provider_failure",
      -                  "malformed_audit",
      -                  "model_unverified",
      -                  "invalid_repair",
      -                  "repair_not_verified"
      -                ],
      -                "type": "string"
      -              },
      -              "status": {
      -                "enum": [
      -                  "verified",
      -                  "repaired",
      -                  "unverified",
      -                  "source_preserved"
      -                ],
      -                "type": "string"
      -              },
      -              "violationCount": {
      -                "minimum": 0,
      -                "type": "integer"
      -              }
      -            },
      -            "required": [
      -              "status",
      -              "violationCount",
      -              "elapsedMs"
      -            ],
      -            "type": "object"
      -          }
      -        },
      -        "type": "object"
      -      },
      -      "modelId": {
      -        "type": "string"
      -      },
      -      "platformId": {
      -        "type": "string"
      -      },
      -      "prompt": {
      -        "type": "string"
      -      },
      -      "promptId": {
      -        "type": [
      -          "string",
      -          "null"
      -        ]
      -      },
      -      "savedToVault": {
      -        "type": "boolean"
      -      }
      -    },
      -    "required": [
      -      "prompt",
      -      "content",
      -      "platformId",
      -      "modelId",
      -      "promptId",
      -      "savedToVault",
      -      "durationMs",
      -      "metadata",
      -      "memory"
      -    ],
      -    "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": {
      +      "content": {
      +        "type": "string"
      +      },
      +      "durationMs": {
      +        "type": "integer"
      +      },
      +      "memory": {
      +        "additionalProperties": true,
      +        "type": "object"
      +      },
      +      "metadata": {
      +        "additionalProperties": true,
      +        "properties": {
      +          "sourceFidelity": {
      +            "additionalProperties": false,
      +            "properties": {
      +              "diagnostic": {
      +                "type": "string"
      +              },
      +              "elapsedMs": {
      +                "minimum": 0,
      +                "type": "number"
      +              },
      +              "reason": {
      +                "enum": [
      +                  "verified",
      +                  "repaired_and_verified",
      +                  "invalid_input",
      +                  "input_limit",
      +                  "timeout",
      +                  "provider_failure",
      +                  "malformed_audit",
      +                  "model_unverified",
      +                  "invalid_repair",
      +                  "repair_not_verified"
      +                ],
      +                "type": "string"
      +              },
      +              "status": {
      +                "enum": [
      +                  "verified",
      +                  "repaired",
      +                  "unverified",
      +                  "source_preserved"
      +                ],
      +                "type": "string"
      +              },
      +              "violationCount": {
      +                "minimum": 0,
      +                "type": "integer"
      +              }
      +            },
      +            "required": [
      +              "status",
      +              "violationCount",
      +              "elapsedMs"
      +            ],
      +            "type": "object"
      +          }
      +        },
      +        "type": "object"
      +      },
      +      "modelId": {
      +        "type": "string"
      +      },
      +      "platformId": {
      +        "type": "string"
      +      },
      +      "prompt": {
      +        "type": "string"
      +      },
      +      "promptId": {
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "savedToVault": {
      +        "type": "boolean"
      +      }
      +    },
      +    "required": [
      +      "prompt",
      +      "content",
      +      "platformId",
      +      "modelId",
      +      "promptId",
      +      "savedToVault",
      +      "durationMs",
      +      "metadata",
      +      "memory"
      +    ],
      +    "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.4/5.0
Behavior5/5

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

Annotations cover the safety profile (write, non-destructive, non-open-world), and the description adds traits they cannot convey: it consumes generation quota, may queue private tile or quality enrichment as a side effect, restricts Memory grounding to authorized private sources, and explicitly disclaims execution and URL browsing. That is real cost/side-effect disclosure beyond structured fields.

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?

Four sentences, front-loaded with the core action and its persistent effect, followed by quota/side-effect and scope limits. Dense but every sentence carries information; the closing host-guidance sentence is the most redundant against the schema and could be trimmed.

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?

With an output schema available for return values and annotations covering the safety profile, the description supplies exactly the remaining context an agent needs: cost (quota), async side effects, privacy scope for Memory, and what the tool deliberately does not do. Nothing essential to correct invocation 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 every parameter including enums and defaults is already documented in the schema, which sets the baseline at 3. The description's note about passing platformId/modelId and supporting omission largely restates what the schema properties already say, adding little semantic value beyond it.

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?

Specific verb+resource: generates an AI prompt for a selected platform and saves it to PromptDrive. It also draws the boundary against siblings by stating it does not execute the prompt or browse URLs, which distinguishes it from save_to_promptdrive (saving an existing prompt) and score_prompt. An agent can select this tool without opening the schema.

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

Usage Guidelines4/5

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

Gives concrete conditional guidance: pass selected platformId and exact modelId when the host exposes them, omission is supported, and Memory grounding is optional. It stops short of naming the sibling alternative to invoke when you merely want to store or grade a prompt (save_to_promptdrive, score_prompt), so routing against those tools is left to inference.

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.