Skip to main content
Glama

NEAR MCP

Official

contract_view_functions

Query and retrieve available functions from a NEAR smart contract using contract ID and network selection on the NEAR MCP server.

Instructions

View available functions on a NEAR smart contract.

Input Schema

NameRequiredDescriptionDefault
contractIdYes
networkIdNomainnet

Input Schema (JSON Schema)

{ "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "properties": { "contractId": { "type": "string" }, "networkId": { "default": "mainnet", "enum": [ "testnet", "mainnet" ], "type": "string" } }, "required": [ "contractId" ], "type": "object" }

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/nearai/near-mcp'

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