Skip to main content
Glama
uitkhoanna

zk-circuit-auditor-mcp

by uitkhoanna

suggest_constraints

Propose minimal additional constraints to ensure circuit soundness. Returns code snippets tagged with ZK weakness classification IDs.

Instructions

Propose the minimal set of additional constraints (or, in Noir/Halo2, code-level additions) to make the circuit sound. Returns code snippets tagged with ZK Weakness Classification ids.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
sourceYesThe full circuit source code as a string.
langNoSource language. If omitted, the auditor auto-detects from the source.
Behavior3/5

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

No annotations are provided, so the description must bear the full burden. It discloses the output format (code snippets with IDs) and the action (proposing constraints), but misses any mention of safety (e.g., read-only behavior) or side effects. It is adequate but not rich.

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?

The description is a single concise sentence that front-loads the core purpose and mentions the output. No extraneous words, making it highly efficient for an AI agent.

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?

For a tool with only two parameters (both well-documented in schema) and no output schema, the description adequately conveys what it does and what it returns. It lacks details on complexity or edge cases, but is sufficient for basic use.

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 the schema already describes both parameters thoroughly. The description does not add extra meaning beyond what the schema provides, resulting in a baseline score of 3.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the tool proposes minimal additional constraints to ensure circuit soundness, returning code snippets with ZK Weakness Classification IDs. It uses a specific verb ('propose') and resource ('constraints'), and is distinct from siblings like audit_circuit and explain_circuit.

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 implies when to use (to make a circuit sound) but does not explicitly state when not to use or provide alternatives. Context from sibling tool names gives some guidance, but lacks explicit usage boundaries.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/uitkhoanna/zk-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server