Skip to main content
Glama

get_floor_price

Retrieve the current floor price of an NFT collection by providing its contract address. This tool helps users assess collection value and make informed decisions in NFT markets.

Instructions

Get floor price for an NFT collection

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
contractAddressYesThe contract address of the NFT collection

Implementation Reference

  • index.ts:551-564 (registration)
    Registration of the 'get_floor_price' tool in the listTools response, including name, description, and input schema definition.
    { name: "get_floor_price", description: "Get floor price for an NFT collection", inputSchema: { type: "object", properties: { contractAddress: { type: "string", description: "The contract address of the NFT collection", }, }, required: ["contractAddress"], }, },
  • Type definition for the input parameters of the get_floor_price tool.
    type GetFloorPriceParams = { contractAddress: string };
  • Validation function to check if arguments match GetFloorPriceParams type, used in handler.
    const isValidGetFloorPriceParams = (args: any): args is GetFloorPriceParams => { return ( typeof args === "object" && args !== null && typeof args.contractAddress === "string" ); };

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/itsanishjain/alchemy-sdk-mcp'

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