Skip to main content
Glama

zk_compliance_attest

Zero-knowledge compliance attestation (DPO2U + Solana). Default action="full" runs prove→verify→register end-to-end and returns unified receipt with real on-chain tx sigs. Use generate/verify/register for step-by-step control.

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": {
      "companyId": "<companyId>"
    },
    "name": "zk_compliance_attest"
  }
}

Input Schema

NameRequiredDescriptionDefault
scoreNoCompliance score 0..100
actionNoPipeline stage (default: full)
metricsNoPrivate metrics; averaged to produce score if score not provided
companyIdYesDID or CNPJ of the subject (alias: company, subject)
proofDataNoSerialized ProofBundle (action=verify|register)
thresholdNoPolicy threshold, default 70

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?

No annotations are supplied, so the description carries the full burden. It does disclose the important behavioral trait that the pipeline registers on-chain and returns real Solana transaction signatures, which signals irreversible external side effects. It omits wallet/auth requirements, gas or cost implications, failure behavior if a stage fails midway, and whether registration is idempotent, so it is only partially transparent for a write-capable tool.

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?

Three tight sentences with the core identity front-loaded, followed by the action-mode guidance. Every sentence carries information; only minor cost is that the parenthetical platform tag interrupts the main clause. No filler or restatement of the tool name.

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?

This is a multi-stage, on-chain, nested-object tool with no output schema and no annotations, so the description must carry a lot. It explains the pipeline and the action split but leaves out environment or credential prerequisites, whether a partial failure leaves on-chain state behind, and what the unified receipt contains beyond tx signatures. Adequate but with clear gaps for a tool of this complexity.

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 already documented in the schema, including the action enum and its default. The description adds a little meaning about what 'full' actually does versus the stepwise actions, but gives no extra detail on score versus metrics precedence, threshold policy behavior, or how proofData pairs with verify/register. Baseline 3 is appropriate.

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 names a specific verb and resource: a zero-knowledge compliance attestation built on DPO2U and Solana, and it explains that the default 'full' action chains prove, verify, and register into one receipt. An agent can tell this is the end-to-end attester rather than a pure proof generator. It does not explicitly contrast itself with close siblings such as zk_compliance_proof or submit_compliance_attestation, so it stops short of a 5.

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 description does give useful guidance on choosing among the tool's own action modes: 'full' for end-to-end, generate/verify/register for step-by-step control. However, it offers no when-to-use guidance against the many sibling compliance tools, no exclusions, and no prerequisites. Usage is implied by the action semantics rather than framed as decision criteria.

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