Available Tools

Complete reference for all MCP tools available on the Fenceline server, organized by category.

RAG & Business Intelligence

Vector search and business data analysis tools for comprehensive insights.

rag.search

Vector search across contractor data for specific types.

Parameters:

  • query (string, required) - Search query
  • types (array, optional) - Data types to search: project, material, estimate, message, note, contractor
  • topK (number, optional) - Number of results (1-50, default: 5)
  • contractorId (string, optional) - Specific contractor ID

rag.searchComprehensive

Comprehensive multi-entity search across a contractor namespace.

Parameters:

  • query (string, required) - Search query
  • topK (number, optional) - Number of results (1-50, default: 10)
  • contractorId (string, optional) - Contractor ID

rag.answerQuery

Answer a question using comprehensive search and return sources.

Parameters:

  • query (string, required) - Question to answer
  • context (array, optional) - Additional context strings
  • contractorId (string, optional) - Contractor ID

Material Management

AI-powered material search, pricing, and inventory management tools.

materials.search

Search materials by natural language with optional filters.

Parameters:

  • query (string, required) - Material search query
  • filters (object, optional) - Price and type filters
  • contractorId (string, optional) - Contractor ID

materials.getDetails

Get detailed information about a specific material.

Parameters:

  • materialId (string, optional) - Specific material ID
  • materialName (string, optional) - Material name
  • contractorId (string, optional) - Contractor ID

materials.listAll

List all materials for a contractor with optional grouping.

Parameters:

  • materialType (string, optional) - Filter by material type
  • productType (string, optional) - Filter by product type
  • includeArchived (boolean, optional) - Include archived materials
  • groupBy (string, optional) - Group by: materialType, productType, style

Permit Automation

Municipal permit processing, compliance checking, and automation tools.

permits.analyze_requirements

Analyze permit requirements for a specific project and location.

Parameters:

  • address (string, required) - Project address
  • fenceType (string, required) - Type of fence (wood, vinyl, chain-link, etc.)
  • height (number, required) - Fence height in feet
  • linearFeet (number, optional) - Total linear feet

Vendor Integration

Supplier connection, inventory search, and order management tools.

vendors.search_inventory

Search vendor inventory for materials and pricing.

Parameters:

  • query (string, required) - Product search query
  • location (string, optional) - Location for local suppliers
  • filters (object, optional) - Price and availability filters

Web Automation

Browser automation tools for municipal portals and supplier websites.

browser.navigate

Navigate to a website for data extraction or interaction.

Parameters:

  • url (string, required) - URL to navigate to
  • waitFor (string, optional) - Element to wait for

Context Management

Session and context management tools for multi-contractor environments.

context.set

Set session context such as contractorId and userId.

Parameters:

  • contractorId (string, optional) - Contractor ID
  • userId (string, optional) - User ID
  • flags (object, optional) - Additional context flags

context.get

Get current session context information.

Parameters:

No parameters required.

context.clear

Clear current session context.

Parameters:

No parameters required.

Usage Examples

For detailed usage examples, see the Code Examples page.

Interactive Testing

Test any of these tools in real-time using our Interactive Console.