Skip to main content
Glama

Pacta, by Fractal Neurons — DeFi Control & Dependency Checks

Inspect Specific Timelock Operation State

pacta_inspect_timelock_op
Read-onlyIdempotent

Read the block-pinned on-chain state (pending, ready, done, or unset), minimum delay, and ready timestamp of a specific OpenZeppelin TimelockController operation {timelock, opId} on Ethereum or Base. When to call: checking a known bytes32 operation ID on a specific TimelockController contract. When NOT to call: to browse all queued operations without knowing an opId, call pacta_get_live_timelocks instead. 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": {
      "timelock": "<timelock>",
      "opId": "<opId>"
    },
    "name": "pacta_inspect_timelock_op"
  }
}

Input Schema

NameRequiredDescriptionDefault
opIdYes32-byte 0x-prefixed TimelockController operation ID.
chainNoTarget EVM chain: 'ethereum' (chainId 1) or 'base' (chainId 8453).
timelockYes40-hex-character 0x contract or token address.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.7/5.0
Behavior5/5

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

Beyond the annotations (readOnly, idempotent, non-destructive), the description discloses that state is block-pinned (snapshot-consistent reads), enumerates the possible state outcomes, and states the access model: 100 free calls/day without a key, then $0.01 Base USDC via x402. That cost/auth and determinism context is exactly what annotations cannot convey.

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

Conciseness5/5

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

Three sentences: what it returns first, then when/when-not, then cost and access. Every sentence carries distinct information with no repetition of the schema or title.

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?

With no output schema, the description takes on the burden of describing the return payload and does so by naming the state values, minimum delay, and ready timestamp. Combined with the chain scope, access terms, and sibling routing, an agent has everything needed to invoke it correctly.

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 the schema already documents the address pattern, the bytes32 opId pattern, and the chain enum with chainIds. The description only restates the parameter pair and the chain options, adding no syntax or format meaning beyond the structured fields, so the baseline 3 applies.

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 and resource ('Read the block-pinned on-chain state ... of a specific OpenZeppelin TimelockController operation') and even enumerates the returned fields (state, minimum delay, ready timestamp) plus the supported chains. An agent can distinguish this from pacta_get_live_timelocks purely from the text.

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?

It provides an explicit 'When to call' condition (a known bytes32 opId on a specific TimelockController) and an explicit 'When NOT to call' rule that names the alternative tool for browsing without an opId. Nothing about selection 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.