getAssets

Used to look up multiple NFTs or Tokens by public key (32 byte base58 encoded address)

Server Solana MCP Demo metaplex-foundation/das-mcp-server
Category Read
Risk class Low
Parameters 00 required

What getAssets does on Solana MCP Demo

AI agents call getAssets to retrieve information from Solana MCP Demo without modifying anything — typically the context-gathering step in research, monitoring, and reporting workflows, before the agent takes action elsewhere.

Why getAssets needs a policy

This tool retrieves blockchain data (NFT and token information) based on a provided public key parameter. It is a read-only query operation that does not modify state, execute code, delete data, or involve financial transactions. The blast radius of misuse is minimal—an agent could only query public blockchain data that is already publicly accessible.

From the tool's definition Tool description states it is 'used to look up multiple NFTs or Tokens by public key' - a retrieval/query operation with no modification or execution capability.

Questions about getAssets

What does the getAssets tool do? +

Used to look up multiple NFTs or Tokens by public key (32 byte base58 encoded address). It is categorised as a Read tool in the Solana MCP Demo MCP Server, which means it retrieves data without modifying state.

How do I enforce a policy on getAssets? +

Register the Solana MCP Demo MCP server in PolicyLayer and add a rule for getAssets: 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 Solana MCP Demo. Nothing to install.

What risk level is getAssets? +

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

Can I rate-limit getAssets? +

Yes. Add a rate_limit block to the getAssets 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 getAssets completely? +

Set action: deny in the PolicyLayer policy for getAssets. 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 getAssets? +

getAssets is provided by the Solana MCP Demo MCP server (metaplex-foundation/das-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.