Skip to main content
Glama
Replaced by its MCP Registry listing

This endpoint is listed in the official MCP Registry as Machine Utility Foundry (x402 + ICP Trust & Safety Oracles). If you published it, claim ownership there.

attest_compliance_bundle_icp

[x402 Paid: $0.015 Base USDC] Run an all-in-one high-assurance audit (JSON Schema + Pre-Action Policy + BigInt Double-Entry Ledger) and anchor the combined rulesCommitmentSha256 receipt on IC Mainnet.

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": {
      "agentId": "<agentId>",
      "artifactType": "<artifactType>",
      "payload": "<payload>"
    },
    "name": "attest_compliance_bundle_icp"
  }
}

Input Schema

NameRequiredDescriptionDefault
draftNoJSON Schema draft version (default '2020-12').
actionNoAction name evaluated against `policy.allowedActions` / `policy.blockedActions`.
policyNoOptional pre-action policy rule set (allowedActions, blockedActions, maxAmountUsd, blockPromptInjection).
schemaNoOptional JSON Schema object for deterministic structural validation.
agentIdYesIdentifier of the autonomous agent undergoing compliance verification.
payloadYesPrimary JSON artifact payload to validate and canonically hash.
amountUsdNoTransaction USD amount checked against `policy.maxAmountUsd`.
artifactTypeYesArtifact category label (e.g. payout-batch, treasury-settlement).
ledgerEntriesNoOptional double-entry accounting lines audited with exact BigInt balance invariants.
policyVersionNoOptional compliance policy version identifier.
ledgerPrecisionNoDecimal precision for BigInt ledger verification (default 6).

Output Schema

NameRequiredDescriptionDefault
checksYes
detailsYes
allPassedYes
attestationYes
rulesCommitmentSha256Yes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed21 schema fields changed
    • addedInput schema / additionalProperties
      Added value: +false
    • addedInput schema / properties / action / description
      Added value: +"Action name evaluated against `policy.allowedActions` / `policy.blockedActions`."
    • addedInput schema / properties / action / maxLength
      Added value: +128
    • addedInput schema / properties / agentId / description
      Added value: +"Identifier of the autonomous agent undergoing compliance verification."
    • addedInput schema / properties / agentId / maxLength
      Added value: +128
    • addedInput schema / properties / amountUsd / description
      Added value: +"Transaction USD amount checked against `policy.maxAmountUsd`."
    • addedInput schema / properties / amountUsd / minimum
      Added value: +0
    • addedInput schema / properties / artifactType / description
      Added value: +"Artifact category label (e.g. payout-batch, treasury-settlement)."
    • addedInput schema / properties / artifactType / maxLength
      Added value: +128
    • addedInput schema / properties / draft / description
      Added value: +"JSON Schema draft version (default '2020-12')."
    • addedInput schema / properties / ledgerEntries / description
      Added value: +"Optional double-entry accounting lines audited with exact BigInt balance invariants."
    • addedInput schema / properties / ledgerEntries / items
      Added value: +{
      +  "type": "object"
      +}
    • addedInput schema / properties / ledgerPrecision / description
      Added value: +"Decimal precision for BigInt ledger verification (default 6)."
    • addedInput schema / properties / ledgerPrecision / maximum
      Added value: +18
    • addedInput schema / properties / ledgerPrecision / minimum
      Added value: +0
    • addedInput schema / properties / payload / description
      Added value: +"Primary JSON artifact payload to validate and canonically hash."
    • addedInput schema / properties / payload / type
      Added value: +[
      +  "object",
      +  "array",
      +  "string",
      +  "number",
      +  "boolean"
      +]
    • addedInput schema / properties / policy / description
      Added value: +"Optional pre-action policy rule set (allowedActions, blockedActions, maxAmountUsd, blockPromptInjection)."
    • addedInput schema / properties / policyVersion / description
      Added value: +"Optional compliance policy version identifier."
    • addedInput schema / properties / policyVersion / maxLength
      Added value: +64
    • addedInput schema / properties / schema / description
      Added value: +"Optional JSON Schema object for deterministic structural validation."
  2. Changed4 schema fields changed
    • addedInput schema / properties / draft
      Added value: +{
      +  "enum": [
      +    "4",
      +    "7",
      +    "2019-09",
      +    "2020-12"
      +  ],
      +  "type": "string"
      +}
    • addedInput schema / properties / ledgerPrecision
      Added value: +{
      +  "type": "integer"
      +}
    • addedInput schema / properties / policyVersion
      Added value: +{
      +  "type": "string"
      +}
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "properties": {
      +    "allPassed": {
      +      "type": "boolean"
      +    },
      +    "attestation": {
      +      "type": [
      +        "object",
      +        "null"
      +      ]
      +    },
      +    "checks": {
      +      "properties": {
      +        "ledger": {
      +          "properties": {
      +            "errorCount": {
      +              "type": "integer"
      +            },
      +            "passed": {
      +              "type": "boolean"
      +            },
      +            "ran": {
      +              "type": "boolean"
      +            }
      +          },
      +          "type": "object"
      +        },
      +        "policy": {
      +          "properties": {
      +            "passed": {
      +              "type": "boolean"
      +            },
      +            "policySha256": {
      +              "type": [
      +                "string",
      +                "null"
      +              ]
      +            },
      +            "ran": {
      +              "type": "boolean"
      +            },
      +            "violationCount": {
      +              "type": "integer"
      +            }
      +          },
      +          "type": "object"
      +        },
      +        "schema": {
      +          "properties": {
      +            "errorCount": {
      +              "type": "integer"
      +            },
      +            "passed": {
      +              "type": "boolean"
      +            },
      +            "ran": {
      +              "type": "boolean"
      +            },
      +            "schemaSha256": {
      +              "type": [
      +                "string",
      +                "null"
      +              ]
      +            }
      +          },
      +          "type": "object"
      +        }
      +      },
      +      "required": [
      +        "schema",
      +        "policy",
      +        "ledger"
      +      ],
      +      "type": "object"
      +    },
      +    "details": {
      +      "properties": {
      +        "ledgerErrors": {
      +          "items": {
      +            "type": "string"
      +          },
      +          "type": "array"
      +        },
      +        "policyViolations": {
      +          "items": {
      +            "type": "object"
      +          },
      +          "type": "array"
      +        },
      +        "schemaErrors": {
      +          "items": {
      +            "type": "object"
      +          },
      +          "type": "array"
      +        }
      +      },
      +      "type": "object"
      +    },
      +    "rulesCommitmentSha256": {
      +      "type": "string"
      +    }
      +  },
      +  "required": [
      +    "allPassed",
      +    "rulesCommitmentSha256",
      +    "checks",
      +    "details",
      +    "attestation"
      +  ],
      +  "type": "object"
      +}
  3. Added

TDQS

A3.6/5.0
Behavior4/5

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

Annotations already declare non-read-only, open-world, non-idempotent, and non-destructive behavior. The description adds useful context beyond annotations: a $0.015 Base USDC x402 payment requirement, the three audit components, and that the combined rulesCommitmentSha256 receipt is anchored on IC Mainnet. It does not cover auth or duplicate-call behavior, but it is consistent with the annotations.

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

Conciseness5/5

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

The description is a single front-loaded sentence with no redundant wording. The payment notice is bracketed, and the audit-plus-anchoring workflow is stated efficiently.

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

Completeness4/5

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

Given the rich 11-parameter schema, nested objects, 100% schema description coverage, existing output schema, and annotations, the description does not need to restate every parameter or return value. It conveys the core audit and IC Mainnet anchoring workflow, but missing explicit sibling guidance keeps it from being fully complete.

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 the input schema already documents all 11 parameters in detail. The description adds conceptual grouping by naming JSON Schema, Pre-Action Policy, and BigInt Double-Entry Ledger components, but it does not add syntax or constraints beyond the schema. Baseline 3 is appropriate when the schema carries the parameter detail.

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

Purpose4/5

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

States a specific verb and resource: run an all-in-one compliance audit combining JSON Schema, pre-action policy, and BigInt ledger checks, then anchor the combined receipt on IC Mainnet. Purpose is clear, though it does not explicitly distinguish itself from sibling attestation or verification tools.

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

Usage Guidelines2/5

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

There is no explicit when-to-use guidance, when-not-to-use guidance, or named alternative. The 'all-in-one high-assurance audit' phrasing implies usage, but an agent must infer when this is preferable to siblings such as attest_artifact_onchain_icp or verify_icp_attestation_receipt.

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.

Resources