token_price

Get the current USD price of any cryptocurrency token

Category Read
Risk class Low
Parameters 00 required

What token_price does on AgentPay x402 — Economic-intelligence layer for AI Agents

AI agents call token_price to retrieve information from AgentPay x402 — Economic-intelligence layer for AI Agents without modifying anything — typically the context-gathering step in research, monitoring, and reporting workflows, before the agent takes action elsewhere.

Why token_price needs a policy

This tool only queries and returns current market price information for cryptocurrency tokens. It is purely a read operation that retrieves data without modifying, executing code, deleting anything, or moving money. Even in a financial context, price lookups are read-only and carry minimal risk of misuse by an AI agent.

From the tool's definition Tool name: 'token_price'. Description: 'Get the current USD price of any cryptocurrency token'. This retrieves price data with no side effects.

Questions about token_price

What does the token_price tool do? +

Get the current USD price of any cryptocurrency token. It is categorised as a Read tool in the AgentPay x402 — Economic-intelligence layer for AI Agents MCP Server, which means it retrieves data without modifying state.

How do I enforce a policy on token_price? +

Register the AgentPay x402 — Economic-intelligence layer for AI Agents MCP server in PolicyLayer and add a rule for token_price: 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 AgentPay x402 — Economic-intelligence layer for AI Agents. Nothing to install.

What risk level is token_price? +

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

Can I rate-limit token_price? +

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

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

token_price is provided by the AgentPay x402 — Economic-intelligence layer for AI Agents MCP server (romudille-bit/agentpay). 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.