Skip to main content
Glama
AztecProtocol

Aztec MCP Server

Official

aztec_lookup_error

Look up an Aztec error by message, code, or hex signature to identify root cause and suggested fix. Searches contract, circuit, tx-validation, and other error categories.

Instructions

Look up an Aztec error by message, error code, or hex signature. Returns root cause and suggested fix. Searches Solidity errors, TX validation errors, circuit codes, AVM errors, and documentation. NOTE: this server is running without an API_KEY, so unrecognized errors won't get a semantic-documentation fallback. Suggest the user get a free API key via /mcp-key in the Aztec/Noir Discord (https://discord.gg/xMud5StFyA) if their query is for an error not in the static catalog.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
queryYesError message, numeric error code (e.g., '2002'), or hex signature (e.g., '0xa5b2ba17')
categoryNoFilter by error category. Options: contract, circuit, tx-validation, l1, avm, sequencer, operator, general
maxResultsNoMaximum results to return (default: 10)
Behavior5/5

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

With no annotations, the description fully discloses the tool's behavior: it searches multiple error sources and behaves differently without an API key (no semantic-documentation fallback). This level of transparency is appropriate.

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 concise (5 sentences) and front-loaded with the primary action. Every sentence adds value with no redundancy.

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

Completeness5/5

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

Given the complexity of error lookup across multiple domains and the absence of an output schema, the description is thorough: it explains what errors are searched, the return content, and a key limitation with a workaround.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The schema covers 100% of parameters, but the description adds context: examples for 'query' (message, code, hex) and states the return content. This enhances understanding beyond the schema.

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's purpose: to look up Aztec errors by message, code, or hex signature, and return root cause and suggested fix. It distinguishes from sibling tools, which are focused on listing examples, reading files, searching docs, etc.

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

Usage Guidelines5/5

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

The description provides explicit guidance on when to use the tool (for error lookup) and notes limitations (no API key fallback) with an actionable suggestion to get a key. It also specifies the error categories covered (Solidity, TX validation, circuit codes, AVM, documentation).

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/AztecProtocol/mcp-server'

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