contract_abi

Get the ABI and source code of a verified smart contract.

Server Kxcoscan AI Tools keralpatel/kxcoscan-mcp-server
Category Read
Risk class Low
Parameters 00 required

What contract_abi does on Kxcoscan AI Tools

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.

Why contract_abi needs a policy

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…

Questions about contract_abi

What does the contract_abi tool do? +

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.

How do I enforce a policy on contract_abi? +

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.

What risk level is contract_abi? +

contract_abi is a Read tool with low risk. Read-only tools are generally safe to allow by default.

Can I rate-limit contract_abi? +

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.

How do I block contract_abi completely? +

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.

What MCP server provides contract_abi? +

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.

// LOOK UP ANOTHER 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 →

// GET IN TOUCH

Have a question or want to learn more? Send us a message.

Message sent.

We'll get back to you soon.