Skip to main content
Glama

BRAINIAC Audit Receipt

Issue a deterministic integrity receipt

audit_integrity-receipt
Read-onlyIdempotent

Hash a caller-supplied evaluation and payload, repeat the caller-supplied timestamp, and score whether the declared fields and optional payload checksum are present. The same input always produces the same hash. The receipt is not a signature. Price $0.04 USDC. POST /api/v1/audit/integrity-receipt. An unpaid call returns the x402 payment terms and does not run.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "evaluated_at": "<evaluated_at>",
      "evaluation": "<evaluation>",
      "payload": "<payload>"
    },
    "name": "audit_integrity-receipt"
  }
}

Input Schema

NameRequiredDescriptionDefault
payloadYespayload, value. Required.
evaluationYesevaluation, object. Required.
evaluated_atYesevaluated at, string. Required.
payload_sha256Nopayload sha256, string. Optional.

Output Schema

NameRequiredDescriptionDefault
timestampNotimestamp. String.
receipt_hashNoreceipt_hash. String.
integrity_scoreNointegrity_score. Number.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed15 schema fields changed
    • changedInput schema / definitions / __schema0 / anyOf
      Previous value: -[
      -  {
      -    "maxLength": 100000,
      -    "type": "string"
      -  },
      -  {
      -    "type": "number"
      -  },
      -  {
      -    "type": "boolean"
      -  },
      -  {
      -    "items": {
      -      "$ref": "#/definitions/__schema0"
      -    },
      -    "maxItems": 200,
      -    "type": "array"
      -  },
      -  {
      -    "additionalProperties": {
      -      "$ref": "#/definitions/__schema0"
      -    },
      -    "propertyNames": {
      -      "maxLength": 80,
      -      "minLength": 1,
      -      "type": "string"
      -    },
      -    "type": "object"
      -  }
      -]New value: +[
      +  {
      +    "maxLength": 100000,
      +    "type": "string"
      +  },
      +  {
      +    "type": "number"
      +  },
      +  {
      +    "type": "boolean"
      +  },
      +  {
      +    "items": {
      +      "allOf": [
      +        {
      +          "$ref": "#/definitions/__schema0"
      +        }
      +      ]
      +    },
      +    "maxItems": 200,
      +    "type": "array"
      +  },
      +  {
      +    "additionalProperties": {
      +      "allOf": [
      +        {
      +          "$ref": "#/definitions/__schema0"
      +        }
      +      ]
      +    },
      +    "propertyNames": {
      +      "maxLength": 80,
      +      "minLength": 1,
      +      "type": "string"
      +    },
      +    "type": "object"
      +  }
      +]
    • addedInput schema / properties / evaluated_at / description
      Added value: +"evaluated at, string. Required."
    • addedInput schema / properties / evaluation / description
      Added value: +"evaluation, object. Required."
    • addedInput schema / properties / evaluation / properties / declared_fields / description
      Added value: +"declared fields, array. Optional."
    • addedInput schema / properties / evaluation / properties / declared_fields / items / description
      Added value: +"item, string. Required."
    • removedInput schema / properties / evaluation / properties / declared_fields / maxItems
      Removed value: -40
    • removedInput schema / properties / evaluation / properties / declared_fields / minItems
      Removed value: -1
    • addedInput schema / properties / evaluation / properties / operation / description
      Added value: +"operation, string. Required."
    • addedInput schema / properties / evaluation / properties / result / description
      Added value: +"result, string, one of pass, fail, review. Required."
    • addedInput schema / properties / evaluation / properties / subject / description
      Added value: +"subject, string, length 3 to 160. Required."
    • removedInput schema / properties / payload / $ref
      Removed value: -"#/definitions/__schema0"
    • addedInput schema / properties / payload / allOf
      Added value: +[
      +  {
      +    "$ref": "#/definitions/__schema0"
      +  }
      +]
    • addedInput schema / properties / payload / description
      Added value: +"payload, value. Required."
    • addedInput schema / properties / payload_sha256 / description
      Added value: +"payload sha256, string. Optional."
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "$schema": "http://json-schema.org/draft-07/schema#",
      +  "additionalProperties": {},
      +  "properties": {
      +    "integrity_score": {
      +      "description": "integrity_score. Number.",
      +      "type": "number"
      +    },
      +    "receipt_hash": {
      +      "description": "receipt_hash. String.",
      +      "type": "string"
      +    },
      +    "timestamp": {
      +      "description": "timestamp. String.",
      +      "type": "string"
      +    }
      +  },
      +  "type": "object"
      +}
  2. First observed

TDQS

Score is being calculated.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources