Skip to main content
Glama

verify_agent_repo_zk_proof

Verifica uma prova Zero-Knowledge (SP1/Groth16) que atesta que o repositório de um Agente de IA cumpre a política estabelecida sem revelar seu código-fonte. Verificação REAL on-chain via ComplianceChainClient (SolanaDriver → SP1 verifier) — não é mais um stub.

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": {
      "agentDid": "<agentDid>",
      "repoCommitHash": "<repoCommitHash>",
      "proofPayload": "<proofPayload>"
    },
    "name": "verify_agent_repo_zk_proof"
  }
}

Input Schema

NameRequiredDescriptionDefault
agentDidYesDID (Decentralized Identifier) do Agente
vkeyHashNoHash da verification key do circuito (opcional; identidade do circuito).
allowMockNoSe true, aceita verificação mock (cadeia inalcançável) como válida — APENAS para dev/test. Default false.
proofPayloadYesProva serializada. Aceita: (a) JSON de um ProofBundle {circuit, public_values(b64), proof_serialized(b64), vkeyHash} — o mesmo formato emitido por zk_compliance_attest action=generate; ou (b) base64/hex cru dos bytes da prova (publicValues então deve vir em publicValues).
publicValuesNoPublic values (base64) — obrigatório quando proofPayload são apenas os bytes crus da prova.
repoCommitHashYesHash do commit do repositório avaliado

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 add real behavioral context: verification is genuinely on-chain via ComplianceChainClient (SolanaDriver → SP1 verifier) rather than a stub, and the schema warns that allowMock weakens verification for dev/test only. It still omits what a failed or unreachable-chain verification returns, latency/cost, and any permission or identity requirements, leaving significant gaps for a tool with zero annotation coverage.

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?

Two sentences, front-loaded with what is verified and followed by the assurance that verification is real and on-chain. The closing 'não é mais um stub' is mildly promotional but does convey a meaningful behavioral fact. No filler beyond that.

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?

There is no output schema, so the description is the only place an agent could learn what the call returns — a validity verdict, a transaction signature, or an error shape when the chain is unreachable. That is left unstated, as is whether the call is read-only or writes on-chain state. The input side is well covered by the rich schema, keeping this at an adequate-but-incomplete level.

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%, and the parameter descriptions already explain agentDid, vkeyHash, proofPayload formats, publicValues and allowMock in detail. The description text itself adds no parameter-level meaning beyond the schema, so the baseline of 3 applies.

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: verifies a Zero-Knowledge proof (SP1/Groth16) attesting that an AI agent's repository complies with a policy without revealing source code. That is far more specific than the tool name alone. It does not, however, distinguish itself from plausible siblings such as verify_compliance_proof, zk_compliance_proof or cvm_generate_zk_proof, so an agent must still infer the boundary.

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 use case is implied clearly enough (checking an existing repo-compliance ZK proof), and the schema notes the payload format matches zk_compliance_attest action=generate, which hints at a generate-then-verify workflow. There is no explicit when-to-use/when-not-to-use statement and no named alternative tool for related tasks, so guidance stays at the implied level.

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