Skip to main content
Glama
chainfetch

ChainFETCH MCP Server

Official
by chainfetch

get_nft_instance_info

Retrieve detailed information about a specific NFT instance using its token address and instance ID for blockchain analysis.

Instructions

Get NFT instance information

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
tokenYesThe token address
instance_idYesThe instance ID

Implementation Reference

  • The switch case handler that executes the get_nft_instance_info tool by extracting parameters and making an API request to the ChainFetch endpoint for the specific NFT token instance.
    case 'get_nft_instance_info':
      const { token: nftToken, instance_id } = args;
      return await this.makeRequest(`/api/v1/ethereum/token-instances/${nftToken}/${instance_id}`, 'GET', {}, null, token);
  • index.js:488-505 (registration)
    Tool registration in the listTools response, defining the name, description, and input schema for get_nft_instance_info.
    {
      name: 'get_nft_instance_info',
      description: 'Get NFT instance information',
      inputSchema: {
        type: 'object',
        properties: {
          token: {
            type: 'string',
            description: 'The token address',
          },
          instance_id: {
            type: 'string',
            description: 'The instance ID',
          },
        },
        required: ['token', 'instance_id'],
      },
    },
  • Input schema definition for the get_nft_instance_info tool, specifying required parameters token and instance_id.
    inputSchema: {
      type: 'object',
      properties: {
        token: {
          type: 'string',
          description: 'The token address',
        },
        instance_id: {
          type: 'string',
          description: 'The instance ID',
        },
      },
      required: ['token', 'instance_id'],
    },

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/chainfetch/chainfetch-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server