Skip to main content
Glama

Pacta, by Fractal Neurons — DeFi Control & Dependency Checks

Diff Governance Proposal Against Live Chain State

pacta_diff_proposal
Read-onlyIdempotent

Re-run the pinned control-plane chain reads for a tracked Aave, Euler, Morpho, or Sky governance forum proposal live on-chain and return any pinned-vs-live controller, Safe quorum, or timelock diffs. Proposal must exist in https://pacta.wtf/api/v1/proposals.json as -. When to call: checking whether contracts touched by a tracked governance proposal changed since snapshot block. When NOT to call: for arbitrary contracts outside tracked proposals, call pacta_inspect_controls. Read-only; free: 100 calls/day (no key), then $0.01 Base USDC via x402.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "forum": "<forum>",
      "topicId": "<topicId>"
    },
    "name": "pacta_diff_proposal"
  }
}

Input Schema

NameRequiredDescriptionDefault
forumYesGovernance forum namespace.
topicIdYesPositive integer governance forum topic ID from proposals.json.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.8/5.0
Behavior5/5

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

Annotations already declare readOnlyHint, idempotentHint, non-destructive, and closed-world, so the safety profile is covered; the description then adds what annotations cannot: a hard prerequisite (the proposal must already exist in proposals.json keyed as <forum>-<topicId>) and a concrete cost model (100 free calls/day without a key, then $0.01 Base USDC via x402). It also enumerates the diff categories returned, which tells the agent what a successful call actually yields.

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?

Dense but front-loaded: purpose first, then prerequisite, then call/no-call guidance, then cost. The pricing sentence is the least essential, but it is materially useful for an agent deciding whether to invoke repeatedly. Minor cramming of prerequisite and pricing into one block, but no filler.

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?

There is no output schema, and the description compensates by naming the diff dimensions returned. Combined with the prerequisite, the explicit alternative for out-of-scope cases, and the rate-limit/cost model, an agent has everything needed to decide and invoke 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; the description goes beyond it by explaining that forum and topicId form a composite identity ('<forum>-<topicId>') that must already be present in proposals.json. That relationship between the two parameters is not stated in the schema, though no additional format or validation detail is given.

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?

States a specific verb and resource: re-runs pinned control-plane chain reads for a tracked governance proposal and returns pinned-vs-live diffs for controllers, Safe quorum, and timelocks. It names the exact protocol namespaces (Aave, Euler, Morpho, Sky) and explicitly distinguishes itself from pacta_inspect_controls for non-tracked contracts.

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?

Uses explicit 'When to call' / 'When NOT to call' framing: call when checking whether contracts touched by a tracked proposal changed since the snapshot block, and do not call for arbitrary contracts, routing those to pacta_inspect_controls. The exclusion and the named alternative leave nothing 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.