Skip to main content
Glama

Contract Control-plane Verdict

pacta_verdict
Read-onlyIdempotent

Check a token contract's safety verdict, risk score, grade, and control flags—upgrade, owner, pause, blacklist, mint—before depositing. Returns controller and Pacta record details.

Instructions

Token safety / contract control-plane verdict in one call: verdict, riskScore 0-100 and grade A-F (both null when not determined), a one-line verdict, upgrade / owner / pause / blacklist / mint capability flags, the controller (EOA, Safe threshold, timelock delay), the indexed Pacta record when there is one, and a shareable scan URL; one pinned block on Ethereum or Base. Give slug, or chain + address. Free: 100 calls per caller per UTC day (no key, no payment), then $0.02 Base USDC per call 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_verdict"
  }
}

Input Schema

NameRequiredDescriptionDefault
slugNoPublished protocol slug (https://pacta.wtf/api/v1/lookup.json); or give chain + address.
chainNo
addressNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnly, idempotent, non-destructive, closed-world), yet the description still adds substantive behavior: null semantics for verdict/riskScore/grade when undetermined, single pinned-block evaluation on Ethereum or Base, and a metered pricing model with a per-caller daily free tier. The only gap is that it doesn't explain what happens on an ambiguous slug-plus-address combination or on lookup failure.

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?

Purpose and return payload are front-loaded in a single dense sentence, followed by the input rule and pricing. Every clause carries information, though the long semicolon-chained enumeration is heavy and slightly harder to scan than a short bulleted structure would be.

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?

There is no output schema, so the description must enumerate return values, and it does so comprehensively including nullability, plus it covers input modes and cost. For a composite read-only verdict tool this is close to sufficient; only edge-case input resolution behavior is left unstated.

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 only 33% (chain and address have no descriptions), so the description must carry weight; its 'Give slug, or chain + address' line communicates the alternative input modes, which the flat schema does not express. Still, it adds no detail on address format, chain behavior differences, or precedence when both a slug and a chain+address are supplied.

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

Purpose4/5

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

The description opens with a specific verb+resource ('Token safety / contract control-plane verdict in one call') and enumerates the returned fields (verdict, riskScore, grade, capability flags, controller, Pacta record, scan URL), which lets an agent distinguish it from narrower siblings like pacta_scan_control_plane or pacta_who_controls_contract. It does not explicitly name any sibling, so the differentiation is inferential rather than stated.

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?

It gives input-selection guidance ('Give slug, or chain + address') and clear cost/quota context (100 free calls per UTC day, then $0.02 USDC via x402), which helps an agent decide whether to call. However, it never says when to prefer this composite verdict over the more granular sibling tools, nor any exclusion conditions.

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