Get the ABI and source code of a verified smart contract.
AI agents call contract_abi to retrieve information from Kxcoscan AI Tools without modifying anything — typically the context-gathering step in research, monitoring, and reporting workflows, before the agent takes action elsewhere.
This tool retrieves publicly available information about smart contracts from a blockchain explorer. It does not modify, delete, execute code, or create financial transactions—it only reads and returns contract interface definitions and source code. The data queried is already public on the blockchain and verified. This is a standard blockchain data query operation with minimal risk if misused by an AI agent.
From the tool's definition Tool name is 'contract_abi' and description states 'Get the ABI and source code of a verified smart contract.' The verb 'Get' and the read-only nature of retrieving public blockchain contract metadata (ABI and source code for verified contracts) indicate a…
Attacks that exploit this kind of access
Get the ABI and source code of a verified smart contract. It is categorised as a Read tool in the Kxcoscan AI Tools MCP Server, which means it retrieves data without modifying state.
Register the Kxcoscan AI Tools MCP server in PolicyLayer and add a rule for contract_abi: allow, deny, rate-limit, or require approval. Point your MCP client at the PolicyLayer proxy URL and the rule is enforced on every call, before it reaches Kxcoscan AI Tools. Nothing to install.
contract_abi is a Read tool with low risk. Read-only tools are generally safe to allow by default.
Yes. Add a rate_limit block to the contract_abi rule in your PolicyLayer policy. For example, setting max: 10 and window: 60 limits the tool to 10 calls per minute. Rate limits are tracked per agent session and reset automatically.
Set action: deny in the PolicyLayer policy for contract_abi. The AI agent will receive a policy violation error and cannot call the tool. You can also include a reason field to explain why the tool is blocked.
contract_abi is provided by the Kxcoscan AI Tools MCP server (keralpatel/kxcoscan-mcp-server). PolicyLayer sits as a proxy in front of this server to enforce policies before tool calls reach the server.
Every MCP server has a record like this.
Type a name, get the same breakdown: verified identity, auth posture, risk grade, capabilities, recommended policy.
Teams ship this data inside their own products. See what a licence covers →