Skip to main content
Glama

Machine Utility Foundry (x402 + ICP Trust & Safety Oracles)

attest_artifact_onchain_icp

[x402 Paid: $0.01 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. First observed

TDQS

A3.6/5.0
Behavior4/5

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

The description adds context beyond the annotations by disclosing three things: this is a paid x402 call costing $0.01 in Base USDC, the hashing is deterministic, and the receipt is payer-bound and tamper-proof on IC Mainnet. Since the annotations already cover the safety profile via readOnly=false, destructive=false, and openWorld=true, this addition is meaningful. It omits the non-idempotent behavior flagged by idempotentHint=false, so repeated anchoring could produce duplicate receipts, but on balance the description is strong.

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?

It is a single dense sentence that leads with the pricing and payment requirements and then states the two operations. Nothing is redundant and the important constraint, that the call is paid, is placed in a bracket at the front of the description.

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?

Output schema is present and the schema is fully described, so the description does not need to explain return values. Cost and chain are covered, which is the most important gap for a paid, cross-chain tool. The remaining gap is the payment and retry flow plus the non-idempotent anchoring semantics, which an agent would still have to discover.

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 coverage is 100%, so every one of the six parameters is already documented in the schema, including schema, draft, payload, and policyVersion. The description only restates the optional JSON Schema validation and the payer-bound anchoring, without adding syntax or format detail. That matches the baseline 3 when the schema carries the weight.

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?

The description uses specific verbs and resources: it validates an agent output artifact against an optional JSON Schema and anchors a SHA-256 receipt on IC Mainnet. That is far more precise than a restatement of the name. It does not, however, contrast itself with siblings such as verify_icp_attestation_receipt or attest_compliance_bundle_icp, so the sibling-differentiation bar for a 5 is not met.

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?

No explicit guidance is given about when to prefer this tool over verify_icp_attestation_receipt or attest_compliance_bundle_icp, and no prerequisites are stated beyond the price tag. A reader can infer that this is the tool to use when an artifact needs anchoring, but that inference comes from the purpose statement rather than from any usage instruction.

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