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_artifact_onchain_icp

[x402 Paid: $0.005 Base USDC] Deterministically validate an agent output artifact against an optional JSON Schema and anchor a tamper-proof payer-bound SHA-256 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_artifact_onchain_icp"
  }
}

Input Schema

NameRequiredDescriptionDefault
draftNoJSON Schema draft version when `schema` is supplied (default '2020-12').
schemaNoOptional JSON Schema object (ReDoS-checked, no remote $ref) to validate `payload` before anchoring.
agentIdYesIdentifier of the agent producing the artifact.
payloadYesJSON value produced by the agent to canonically hash, validate, and anchor on IC Mainnet.
artifactTypeYesCategory label of the attested artifact (e.g. task-result, audit-report).
policyVersionNoOptional policy version tag recorded alongside the IC Mainnet receipt.

Output Schema

NameRequiredDescriptionDefault
validYes
receiptIdYes
onChainProofYes
payerAddressYes
schemaSha256Yes
verifiedAtUtcYes
artifactSha256Yes
anchoredOnChainYes
validationErrorsYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed11 schema fields changed
    • addedInput schema / additionalProperties
      Added value: +false
    • addedInput schema / properties / agentId / description
      Added value: +"Identifier of the agent producing the artifact."
    • addedInput schema / properties / agentId / maxLength
      Added value: +128
    • addedInput schema / properties / artifactType / description
      Added value: +"Category label of the attested artifact (e.g. task-result, audit-report)."
    • addedInput schema / properties / artifactType / maxLength
      Added value: +128
    • addedInput schema / properties / draft / description
      Added value: +"JSON Schema draft version when `schema` is supplied (default '2020-12')."
    • addedInput schema / properties / payload / description
      Added value: +"JSON value produced by the agent to canonically hash, validate, and anchor on IC Mainnet."
    • addedInput schema / properties / payload / type
      Added value: +[
      +  "object",
      +  "array",
      +  "string",
      +  "number",
      +  "boolean"
      +]
    • addedInput schema / properties / policyVersion / description
      Added value: +"Optional policy version tag recorded alongside the IC Mainnet receipt."
    • addedInput schema / properties / policyVersion / maxLength
      Added value: +64
    • addedInput schema / properties / schema / description
      Added value: +"Optional JSON Schema object (ReDoS-checked, no remote $ref) to validate `payload` before anchoring."
  2. Changed3 schema fields changed
    • addedInput schema / properties / draft
      Added value: +{
      +  "enum": [
      +    "4",
      +    "7",
      +    "2019-09",
      +    "2020-12"
      +  ],
      +  "type": "string"
      +}
    • addedInput schema / properties / policyVersion
      Added value: +{
      +  "type": "string"
      +}
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "properties": {
      +    "anchoredOnChain": {
      +      "type": "boolean"
      +    },
      +    "artifactSha256": {
      +      "type": "string"
      +    },
      +    "onChainProof": {
      +      "properties": {
      +        "canisterTimestampNs": {
      +          "type": "string"
      +        },
      +        "network": {
      +          "enum": [
      +            "icp"
      +          ],
      +          "type": "string"
      +        },
      +        "recordId": {
      +          "type": "string"
      +        },
      +        "verifyUrl": {
      +          "type": "string"
      +        }
      +      },
      +      "type": [
      +        "object",
      +        "null"
      +      ]
      +    },
      +    "payerAddress": {
      +      "type": [
      +        "string",
      +        "null"
      +      ]
      +    },
      +    "receiptId": {
      +      "type": "string"
      +    },
      +    "schemaSha256": {
      +      "type": [
      +        "string",
      +        "null"
      +      ]
      +    },
      +    "valid": {
      +      "type": "boolean"
      +    },
      +    "validationErrors": {
      +      "items": {
      +        "properties": {
      +          "keyword": {
      +            "type": "string"
      +          },
      +          "message": {
      +            "type": "string"
      +          },
      +          "path": {
      +            "type": "string"
      +          }
      +        },
      +        "type": "object"
      +      },
      +      "type": "array"
      +    },
      +    "verifiedAtUtc": {
      +      "format": "date-time",
      +      "type": "string"
      +    }
      +  },
      +  "required": [
      +    "valid",
      +    "anchoredOnChain",
      +    "receiptId",
      +    "payerAddress",
      +    "artifactSha256",
      +    "schemaSha256",
      +    "verifiedAtUtc",
      +    "validationErrors",
      +    "onChainProof"
      +  ],
      +  "type": "object"
      +}
  3. Added

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already declare the write/paid profile (readOnlyHint=false, openWorldHint=true, idempotentHint=false, destructiveHint=false). The description adds genuinely useful context beyond that: the $0.005 x402 payment requirement, determinism, payer-binding, and tamper-proof anchoring on IC Mainnet. However, it omits re-anchor/duplicate behavior and failure modes, which matters for a non-idempotent write.

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?

A single front-loaded sentence that packs purpose, payment cost, and chain target efficiently. The bracketed price prefix is dense but earns its place as a cost signal; no wasted clauses.

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?

With a full output schema, complete parameter coverage, and annotations carrying the safety profile, the description covers what an agent needs to call it. The main gap is routing guidance versus the verification/compliance siblings and re-anchor semantics.

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 six parameters are documented structurally and the baseline is 3. The description reinforces the optional-schema and canonical-hash semantics but adds little beyond what the schema already states.

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 compound verb (validate + anchor) and resource (agent output artifact / SHA-256 receipt) with a clear chain target (IC Mainnet). It is distinguishable in substance, but it never contrasts itself with close-sounding siblings like attest_compliance_bundle_icp or verify_icp_attestation_receipt, so sibling differentiation is left to inference.

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?

The sentence describes what happens (validate then anchor) but gives no when-to-use / when-not guidance and no indication of how it relates to the verification or compliance-bundle siblings. An agent must guess whether this or attest_compliance_bundle_icp is appropriate.

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