Skip to main content
Glama

Who Controls This Contract or Token

pacta_who_controls_contract
Read-onlyIdempotent

Check who controls a contract or token before depositing: owner, admin, upgradeable proxy, timelock, multisig, mint or pause rights, using block-pinned Ethereum and Base facts.

Instructions

who controls this contract / token: owner, admin, upgradeable proxy, timelock, multisig, can mint, can pause; rug check, token safety. Block-pinned chain facts on Ethereum and Base confirmed by two independent RPC providers, with Foundry cast commands; never guesses or rates. Free: 100 calls per caller per UTC day (no key, no payment).

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": {
      "chain": "<chain>",
      "address": "<address>"
    },
    "name": "pacta_who_controls_contract"
  }
}

Input Schema

NameRequiredDescriptionDefault
chainYes
addressYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.9/5.0
Behavior5/5

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

Beyond the annotations (readOnly, idempotent, non-destructive, closed-world), the description discloses that facts are block-pinned, corroborated by two independent RPC providers, and accompanied by Foundry cast commands — a strong statement about reliability and reproducibility. It also states a concrete quota (100 calls per caller per UTC day, no key or payment required), which is operationally actionable and appears nowhere in the structured fields.

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 is front-loaded in the first clause, followed by verification methodology and then cost/quota — a sensible information ordering in three semicolon-delimited segments. Some phrasing is keyword padding ('rug check, token safety') and 'never guesses or rates' is ambiguous, mildly diluting an otherwise tight definition.

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?

For a two-parameter, no-output-schema read tool with solid annotations, the description supplies the missing operational context: supported chains, verification method, and rate limits. The main remaining gap is that, absent an output schema, it only loosely indicates what the returned control facts look like.

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 0%, so the description must carry parameter meaning; it does add that only Ethereum and Base are supported, reinforcing the chain enum, and the address format is already constrained by the schema pattern. However, it says nothing about address semantics (contract vs token vs proxy address), which matters given the tool checks both contracts and tokens.

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 names a specific analytical resource: the control plane of a contract/token, enumerated as owner, admin, upgradeable proxy, timelock, multisig, mint and pause powers. An agent can tell it computes authority facts rather than, say, proposal diffs or wallet exposure. It never names a sibling, though — pacta_scan_control_plane in particular sounds close — so differentiation is left to inference.

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?

'rug check, token safety' implies a due-diligence use case, and the Ethereum/Base scoping hints at applicability, but there is no explicit when-to-use or when-not-to-use statement and no alternative tool is named. The agent must infer from the sibling list which of the several control/scan tools to pick.

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