Skip to main content
Glama

audit_account_hooks

Fetch every hook on a Xahau account, retrieve their WASM definitions, and perform offline static analysis to audit all hooks for potential issues.

Instructions

Fetch every hook on an account, pull each HookDefinition's WASM, and run the analyzer over all of them. Read-only network + offline analysis.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
addressYes
networkNomainnet
Behavior3/5

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

No annotations provided, so description must cover behavioral traits. It states 'Read-only network + offline analysis', which clarifies safety. However, it omits details like performance implications for many hooks, error handling, or network dependency details.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is concise but lacks structure. It does not include parameter details or a clear breakdown of steps. While efficient, it is incomplete.

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

Completeness2/5

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

For a complex multi-step tool (fetch all hooks, retrieve each WASM, run analyzer), the description is too brief. It does not mention output format, analyzer behavior, or limitations. With no output schema, more context is needed.

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

Parameters1/5

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

Schema description coverage is 0%, and the description provides no information about the parameters (address, network) beyond what the schema already gives. The description adds no value for parameter understanding.

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 verb (Fetch, pull, run), the resource (every hook on an account, each HookDefinition's WASM), and the outcome (run analyzer over all). It distinguishes from siblings like get_account_hooks (list only) and analyze_hook (single analysis).

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 this is for comprehensive auditing but does not explicitly state when to use vs alternatives. No mentions of when not to use or alternative tools for simpler tasks.

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/Hugegreencandle/xahau-mcp'

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