Skip to main content
Glama

Clanker v4 Anti-Sniper & Pool Config Linter ($0.05)

defi_clanker_v4_config_linter
Idempotent

[Paid x402 / X-Bazaar-Key: 0.05 USDC] Clanker v4 Anti-Sniper & Pool Configuration Linter: validates Clanker v4 deployment JSON (100% caller-owned rewards.recipients summing to 10000 bps in Paired asset, platform_lp_share_bps: 0, anti-sniper decaying fee bounds, vault lockup >= 7d, and OFAC SDN screen on all addresses). Also available at alias /v1/x402/defi/clanker-v4-config-builder.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "defi_clanker_v4_config_linter"
  }
}

Input Schema

NameRequiredDescriptionDefault
tick_spacingNoUniswap v4 tick spacing (default 200)
creator_addressNoCaller-owned tokenAdmin / creator 0x address on Base
reward_recipientNoCaller-owned 100% LP reward recipient 0x address
vault_lockup_daysNoCreator vault lockup duration in days (minimum 7)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=false, idempotentHint=true, destructiveHint=false, openWorldHint=true, so the safety profile is covered. The description adds genuinely new behavioral context the annotations cannot convey: a 0.05 USDC x402 payment with an X-Bazaar-Key header, plus an alias path (/v1/x402/defi/clanker-v4-config-builder). It does not describe failure behavior or what a failed validation returns, keeping it below 5.

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?

Payment terms are front-loaded in a bracketed prefix, followed by a dense but single-sentence rule list and one alias sentence — no filler. The sentence is long and packs many clauses, but every clause carries validation criteria.

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?

With no output schema, the description carries the burden of explaining what the linter returns (pass/fail report? per-rule diagnostics?) and it does not. Payment mechanics and rule set are well covered, but an agent still cannot predict the response shape or error semantics for a paid validation call.

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 all four parameters carry patterns, defaults, and constraints, so the baseline of 3 applies. The description adds no per-parameter guidance, and it introduces validation targets (rewards.recipients, platform_lp_share_bps) that are not schema parameters — potentially misleading about what to actually pass.

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 names a specific verb ('validates') and a specific resource ('Clanker v4 deployment JSON'), then enumerates the exact rules checked (rewards.recipients summing to 10000 bps, platform_lp_share_bps: 0, decaying anti-sniper fee bounds, vault lockup >= 7d, OFAC screen). This level of specificity separates it cleanly from siblings like defi_uniswap_v4_hook_delta_audit and defi_unsigned_swap_calldata_linter without needing to name them.

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?

Usage is implied by the enumerated rules — an agent can infer this is the tool for pre-deployment validation of a Clanker v4 pool config. But there is no explicit when-to-use/when-not-to-use statement and no routing to alternatives (e.g., the OFAC screen overlaps with live_ofac_sdn_status_attestation and ofac_check).

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