Skip to main content
Glama

aeX402 — Cross-Chain DeFi MCP: LINQ, AMM, Bridge, AI

describe_program

Introspect ANY specific program/contract address on a chain. Solana/Slonana: returns executable, owner, data size, and whether it is a known program. EVM: RPC-verified facts (is-contract, code size, ERC-20 name/symbol/decimals, EIP-1967 proxy → implementation) PLUS Blockscout explorer enrichment when available.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
chainYessolana | slonana | robinhood | hyperevm | ethereum | base | stable | plasma | tempo | codex
addressYesProgram id (base58, Solana/Slonana) or contract address (0x…, EVM)

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
chainYes
erc20NoERC-20 name/symbol/decimals. EVM only — omitted when the address is not an ERC-20, or the chain is Solana/Slonana
knownNocurated registry entry {id,name,type,note} when the address is recognised
ownerNoowning program. Solana/Slonana only — omitted when the chain is EVM
proxyNoEIP-1967 proxy standard + implementation. EVM only — omitted when the address is not a proxy, or the chain is Solana/Slonana
existsNoSolana/Slonana only — omitted when the chain is EVM (isContract is the EVM equivalent)
addressYes
dataLenNoaccount data length in bytes. Solana/Slonana only — omitted when the chain is EVM (codeSize is the EVM equivalent)
codeSizeNoEVM bytecode length in bytes. EVM only — omitted when the chain is Solana/Slonana (dataLen is the Solana equivalent)
lamportsNoSolana/Slonana only — omitted when the chain is EVM
isProgramNoSolana/Slonana only — omitted when the chain is EVM
executableNoSolana/Slonana only — omitted when the chain is EVM
isContractNoEVM only — omitted when the chain is Solana/Slonana, where executable/isProgram carry this instead

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed10 schema fields changed
    • addedOutput schema / properties / codeSize / description
      Added value: +"EVM bytecode length in bytes. EVM only — omitted when the chain is Solana/Slonana (dataLen is the Solana equivalent)"
    • changedOutput schema / properties / dataLen / description
      Previous value: -"account data length in bytes"New value: +"account data length in bytes. Solana/Slonana only — omitted when the chain is EVM (codeSize is the EVM equivalent)"
    • changedOutput schema / properties / erc20 / description
      Previous value: -"ERC-20 name/symbol/decimals when applicable"New value: +"ERC-20 name/symbol/decimals. EVM only — omitted when the address is not an ERC-20, or the chain is Solana/Slonana"
    • addedOutput schema / properties / executable / description
      Added value: +"Solana/Slonana only — omitted when the chain is EVM"
    • addedOutput schema / properties / exists / description
      Added value: +"Solana/Slonana only — omitted when the chain is EVM (isContract is the EVM equivalent)"
    • addedOutput schema / properties / isContract / description
      Added value: +"EVM only — omitted when the chain is Solana/Slonana, where executable/isProgram carry this instead"
    • addedOutput schema / properties / isProgram / description
      Added value: +"Solana/Slonana only — omitted when the chain is EVM"
    • addedOutput schema / properties / lamports / description
      Added value: +"Solana/Slonana only — omitted when the chain is EVM"
    • addedOutput schema / properties / owner / description
      Added value: +"owning program. Solana/Slonana only — omitted when the chain is EVM"
    • changedOutput schema / properties / proxy / description
      Previous value: -"EIP-1967 proxy standard + implementation when applicable"New value: +"EIP-1967 proxy standard + implementation. EVM only — omitted when the address is not a proxy, or the chain is Solana/Slonana"
  2. Changed6 schema fields changed
    • addedOutput schema / properties / codeSize
      Added value: +{
      +  "type": "integer"
      +}
    • addedOutput schema / properties / erc20
      Added value: +{
      +  "description": "ERC-20 name/symbol/decimals when applicable",
      +  "type": "object"
      +}
    • addedOutput schema / properties / isContract
      Added value: +{
      +  "type": "boolean"
      +}
    • changedOutput schema / properties / known / description
      Previous value: -"curated name, when the address is one we recognise"New value: +"curated registry entry {id,name,type,note} when the address is recognised"
    • changedOutput schema / properties / known / type
      Previous value: -"string"New value: +[
      +  "object",
      +  "null"
      +]
    • addedOutput schema / properties / proxy
      Added value: +{
      +  "description": "EIP-1967 proxy standard + implementation when applicable",
      +  "type": "object"
      +}
  3. Changed5 schema fields changed
    • addedOutput schema / properties / dataLen
      Added value: +{
      +  "description": "account data length in bytes",
      +  "type": "integer"
      +}
    • removedOutput schema / properties / dataSize
      Removed value: -{
      -  "type": "integer"
      -}
    • addedOutput schema / properties / executable
      Added value: +{
      +  "type": "boolean"
      +}
    • addedOutput schema / properties / known
      Added value: +{
      +  "description": "curated name, when the address is one we recognise",
      +  "type": "string"
      +}
    • addedOutput schema / properties / lamports
      Added value: +{
      +  "type": "integer"
      +}
  4. Changed1 schema field changed
    • changedInput schema / properties / chain / description
      Previous value: -"solana | slonana | robinhood | hyperevm"New value: +"solana | slonana | robinhood | hyperevm | ethereum | base | stable | plasma | tempo | codex"
  5. First observed

TDQS

A3.7/5.0
Behavior3/5

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

With no annotations provided, the description carries the full burden of behavioral disclosure. It does convey that the tool performs RPC verification and optionally adds Blockscout enrichment ('when available'), which are useful behavioral traits. However, it does not mention potential failure modes, rate limits, or what happens for invalid addresses, which would be expected for a tool with no annotation safety hints. It is not misleading but lacks depth.

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?

The description is two sentences and front-loaded with the primary purpose. The second sentence packs a lot of detail efficiently without excessive wordiness. It is well-structured, though the second sentence is long and could be split for readability; still, it remains concise and scannable.

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 tool with an output schema (not shown) and high schema coverage, the description provides a solid overview of the tool's behavior and output categories. It covers both chain families and the enrichment condition, which is sufficient for an agent to decide whether to call it. It does not address edge cases like invalid addresses or unsupported chains, but the schema already constrains the chain values, and the output schema presumably defines the return structure. The description is complete enough given the available structured data.

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?

The schema covers both parameters at 100%, so the description's contribution is limited. It does add meaning by clarifying that the chain parameter splits into two families (Solana/Slonana vs EVM) and that the address format differs accordingly, which reinforces the schema. However, it does not provide examples or further syntax details beyond the schema, so it meets the baseline for high coverage without exceeding it.

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 opens with a clear, specific verb ('Introspect') and resource ('program/contract address'), and immediately distinguishes two execution paths (Solana/Slonana vs EVM) with concrete facts returned for each. This makes the tool's function unmistakable and separates it from siblings like discover_programs, which targets discovery rather than introspection.

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?

The description implies when to use the tool: when you have a specific address and want verified facts about it. However, it does not explicitly state when not to use it or name alternative tools such as solana_getAccountInfo or evm_rpc, which could also handle raw account/RPC introspection. The guidance is implicit rather than explicit, so it falls short of a 4.

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.

Resources