Standard Tools

Complete reference for AIDP's standard MCP tools.

Available Tools

AIDP provides 5 standard MCP tools for business discovery and information retrieval:

  1. search_businesses - Search for businesses using natural language

  2. get_business - Get detailed information about a specific business

  3. get_business_hours - Check business hours and availability

  4. get_business_services - Get services offered by a business

  5. get_business_reviews - Get customer reviews and ratings


search_businesses

Search for businesses using natural language queries.

Parameters

{
  "query": "string (required)",
  "location": {
    "lat": "number (required)",
    "lon": "number (required)",
    "distance": "string (optional, default: '10km')"
  },
  "category": "string (optional)",
  "limit": "number (optional, default: 10, max: 50)",
  "offset": "number (optional, default: 0)"
}

Example Request

Example Response

Use Cases

  • Discovery: "Find coffee shops near me"

  • Specific Needs: "Restaurants with outdoor seating"

  • Contextual: "Where can I get breakfast at 6am"


get_business

Get detailed information about a specific business.

Parameters

Example Request

Example Response

Use Cases

  • Detailed Info: Get complete business profile

  • Decision Making: Compare multiple businesses

  • Recommendations: Provide comprehensive information


get_business_hours

Check if a business is currently open and get hours information.

Parameters

Example Request

Example Response

Use Cases

  • Availability Check: "Is this business open now?"

  • Planning: "What time does it close?"

  • Special Hours: Check holiday hours


get_business_services

Get services and offerings from a business.

Parameters

Example Request

Example Response

Use Cases

  • Service Discovery: "What services do they offer?"

  • Pricing: "How much does it cost?"

  • Availability: "Can I book this service?"


get_business_reviews

Get customer reviews and ratings for a business.

Parameters

Example Request

Example Response

Use Cases

  • Social Proof: Show customer feedback

  • Decision Making: Help users choose businesses

  • Quality Assessment: Understand business reputation


Error Handling

All tools return consistent error responses:

Common Error Codes

  • INVALID_PARAMETERS - Missing or invalid parameters

  • BUSINESS_NOT_FOUND - Business ID doesn't exist

  • RATE_LIMIT_EXCEEDED - Too many requests

  • AUTHENTICATION_ERROR - Invalid API key

  • SERVICE_UNAVAILABLE - Temporary service issue


Best Practices

1. Cache Results

Cache business data to reduce API calls:

2. Handle Pagination

For large result sets, use pagination:

3. Provide Context

Include user context for better results:


Next Steps


Support

Last updated