MCP Tools Overview
ByteMCP provides 4 MCP tools that AI assistants can use to query Bitcoin ATM locations.
Available Tools
Section titled “Available Tools”| Tool | Purpose | Key Parameters |
|---|---|---|
find_nearest_bitcoin_atm | Find ATMs near a location | location, limit, maxDistance |
get_atm_details | Get details for a specific ATM | atmId |
check_atm_status | Check ATM status in an area | location, radius |
list_atms_by_city | List all ATMs in a city | state, city |
How Tools Work
Section titled “How Tools Work”When an AI assistant receives a user query like “Find Bitcoin ATMs near Miami”, it:
- Recognizes Intent - Understands the user wants ATM locations
- Selects Tool - Chooses
find_nearest_bitcoin_atm - Extracts Parameters - Identifies “Miami” as the location
- Calls ByteMCP - Sends the tool request via MCP
- Formats Response - Presents results in a readable format
Tool Response Format
Section titled “Tool Response Format”All tools return structured data that AI assistants format for display:
{ "success": true, "data": { "locations": [...], "count": 5, "searchArea": "Miami, FL" }}Common Parameters
Section titled “Common Parameters”Location Input
Section titled “Location Input”Tools accept locations in multiple formats:
- Address: “123 Main St, Miami, FL”
- City/State: “Miami, FL” or “Miami, Florida”
- ZIP Code: “33101”
- Coordinates:
lat: 25.7617, lon: -80.1918
Distance Units
Section titled “Distance Units”All distances are returned in miles.
Limits
Section titled “Limits”limit: Maximum results (1-50, default 10)maxDistance: Maximum search radius (1-100 miles, default 25)
Status Information
Section titled “Status Information”Tools include real-time status:
- Open/Closed - Based on current time in ATM’s timezone
- Operating Hours - Full schedule by day of week
- Next Opening - When closed ATMs will reopen
Example Queries
Section titled “Example Queries”Here are example natural language queries and which tools handle them:
| Query | Tool Used |
|---|---|
| ”Find Bitcoin ATMs near me” | find_nearest_bitcoin_atm |
| ”What are the hours for ATM #456?” | get_atm_details |
| ”How many ATMs are open in Dallas?” | check_atm_status |
| ”List all ATMs in Austin, Texas” | list_atms_by_city |
Next Steps
Section titled “Next Steps”Explore each tool in detail: