Skip to main content
Glama

Pacta, by Fractal Neurons — DeFi Control & Dependency Checks

Get Contract Control-Plane Verdict & Grade

pacta_get_verdict
Read-onlyIdempotent

Compute a deterministic pre-execution control-plane verdict for an Ethereum or Base contract (by protocol slug or {chain, address}): verdict class (TIMELOCK_PROTECTED, MULTISIG_NO_TIMELOCK, ZERO_DELAY_TIMELOCK_RISK, INSTANT_EOA_ADMIN_RISK, IMMUTABLE_NO_ADMIN, NO_CONTROLLER_FOUND), riskScore 0-100 and grade A-F (null when undetermined), upgrade/pause/blacklist/mint flags, controller summary, and shareable scan URL at one pinned block. When to call: pre-trade / pre-approval gate when you need a graded verdict. When NOT to call: call pacta_inspect_controls for ungraded raw chain facts with cast commands, or pacta_get_dossier for full multi-contract protocol Safe signer overlap. Read-only; free: 100 calls/day (no key), then $0.02 Base USDC via x402.

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": "pacta_get_verdict"
  }
}

Input Schema

NameRequiredDescriptionDefault
slugNoPublished protocol slug from pacta_lookup_protocol (https://pacta.wtf/api/v1/lookup.json).
chainNoTarget EVM chain: 'ethereum' (chainId 1) or 'base' (chainId 8453).
addressNo40-hex-character 0x contract or token address.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.6/5.0
Behavior4/5

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

Annotations already declare readOnly/idempotent/non-destructive, so safety is covered; the description adds genuinely new traits: a single pinned block for determinism, null grade when undetermined, and rate/cost terms (100 free calls/day, then $0.02 USDC via x402). It does not describe error behavior or response latency, keeping it just short of 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?

Front-loads the action and the returned verdict taxonomy before the usage and cost clauses, with no filler sentences. The long verdict-class enumeration is dense but earns its place by telling the agent exactly what it will receive.

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?

No output schema exists, yet the description spells out the full return shape: verdict class, riskScore 0-100, grade A-F with null semantics, upgrade/pause/blacklist/mint flags, controller summary, and scan URL. Combined with the schema and pricing, an agent has everything needed to call it correctly.

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?

Schema coverage is 100%, so the baseline is 3, but the description adds meaning: the input can be addressed either by protocol slug OR by {chain, address}, an either-or calling mode the schema does not state. The enum values and address pattern are already in the schema, so it stops short of 5.

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?

Names a specific verb ('Compute a deterministic pre-execution control-plane verdict') and resource (an Ethereum or Base contract), and enumerates the exact verdict classes returned. An agent can distinguish it from pacta_inspect_controls or pacta_get_dossier without opening a schema.

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?

Has explicit 'When to call' (pre-trade / pre-approval gate needing a graded verdict) and 'When NOT to call' sections that name the correct alternatives and the conditions selecting them. Nothing is left to inference.

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.