Skip to main content
Glama

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

attest_compliance_bundle_icp

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

TDQS

B3.4/5.0
Behavior3/5

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

Annotations already declare the mutation profile (readOnlyHint=false, idempotentHint=false, openWorldHint=true, destructiveHint=false). The description adds genuinely new behavioral context: a $0.05 x402 charge, canonical hashing into `rulesCommitmentSha256`, and anchoring on IC Mainnet. It does not explain what happens on repeated non-idempotent calls or how failed validation affects the on-chain anchor.

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 dense sentence conveys the bundle contents, the hash receipt, and the destination chain with no filler. The pricing prefix is useful but occupies the front-loaded position ahead of the actual purpose.

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

Completeness3/5

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

An output schema exists and annotations cover safety, so the description need not explain return values. However, for an 11-parameter tool with nested policy/schema/ledger objects, it omits how optional checks compose and what triggers failure versus successful anchoring, which leaves meaningful complexity unexplained.

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 11 parameters, the draft enum, nested policy/schema objects, and ledger fields are already documented in the schema. The description only names the three capability areas and adds no parameter-level syntax or interaction guidance beyond that baseline.

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 a specific verb ('Run an all-in-one high-assurance audit') and enumerates the three bundled checks plus the on-chain anchoring step, so the resource and outcome are clear. It does not explicitly distinguish itself from the similarly named `attest_artifact_onchain_icp` sibling, leaving overlap for the agent to infer.

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

Usage Guidelines3/5

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

The phrase 'all-in-one' implies this is the choice when schema, policy, and ledger checks should happen together, but there is no explicit when-to-use, when-not-to-use, or named alternative. The agent must infer that narrower tools like `guard_evm_preflight_base` or `attest_artifact_onchain_icp` are for single-purpose cases.

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