Available Tools

Complete reference for all MCP tools available on the Fenceline server, organized by category and generated from the server's tool registry.

RAG & Business Intelligence

Vector search and business data analysis tools for comprehensive insights.

rag.answerQuery

Answer a question using comprehensive search and return sources.

scope: mcp:read · risk: read_only

Parameters:

  • query (string, required)
  • context (array, optional)
  • contractorId (string, optional)

rag.getStats

Get vector counts by entity type for a contractor namespace.

scope: mcp:read · risk: read_only

Parameters:

  • contractorId (string, optional)

rag.search

Vector search across contractor data for the given types.

scope: mcp:read · risk: read_only

Parameters:

  • query (string, required)
  • types (array, optional)
  • topK (number, optional)
  • contractorId (string, optional)
  • filters (object, optional)

rag.searchComprehensive

Comprehensive multi-entity search across a contractor namespace.

scope: mcp:read · risk: read_only

Parameters:

  • query (string, required)
  • topK (number, optional)
  • contractorId (string, optional)
  • filters (object, optional)

Material Management

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

materials.getDetails

Get detailed information about a specific material by ID or name.

scope: mcp:read · risk: read_only

Parameters:

  • materialId (string, optional)
  • materialName (string, optional)
  • contractorId (string, optional)

materials.listAll

List all materials for a contractor with optional grouping.

scope: mcp:read · risk: read_only

Parameters:

  • materialType (string, optional)
  • productType (string, optional)
  • includeArchived (boolean, optional)
  • groupBy (string, optional)
  • contractorId (string, optional)

materials.search

Search materials by natural language with optional filters.

scope: mcp:read · risk: read_only

Parameters:

  • query (string, required)
  • filters (object, optional)
  • contractorId (string, optional)

Permit Analysis

Permit requirement analysis and application record tools; portal submission is unavailable.

permits.analyze_requirements

Analyze permit requirements from stored jurisdiction coverage. Requires a jurisdictionId — resolving a jurisdiction from a raw address is not supported.

scope: mcp:read · risk: read_only

Parameters:

  • address (string, required)
  • fenceType (string, required)
  • height (number, required)
  • jurisdictionId (string, required)
  • contractorId (string, optional)

permits.check_status

Check current status of permit application.

scope: mcp:read · risk: read_only

Parameters:

  • applicationId (string, required)
  • sessionId (string, optional)

Supplier Data

Supported supplier catalog and pricing tools.

vendors.calculate_bom

Calculate complete bill of materials including ancillary items.

scope: mcp:read · risk: read_only

Parameters:

  • products (array, required)
  • projectSpecs (object, optional)

vendors.get_pricing

Get current pricing for specific materials with contractor discounts.

scope: mcp:read · risk: read_only

Parameters:

  • materials (array, required)
  • vendorId (string, optional)
  • contractorId (string, optional)
  • deliveryZip (string, optional)

vendors.resolve_estimate_pricing

Convert estimate with generic products to real supplier quotes with tiered contractor pricing.

scope: mcp:read · risk: read_only

Parameters:

  • estimateId (string, optional)
  • estimateItems (array, required)
  • preferences (object, required)

vendors.search_inventory

Search vendor inventory for materials and pricing.

scope: mcp:read · risk: read_only

Parameters:

  • query (string, required)
  • category (string, optional)
  • location (string, optional)
  • vendorIds (array, optional)
  • contractorId (string, optional)

Context Management

Session and context management tools for multi-contractor environments.

context.clear

Clear current session context.

scope: mcp:read · risk: read_only

Parameters:

No parameters required.

context.get

Get current session context.

scope: mcp:read · risk: read_only

Parameters:

No parameters required.

context.set

Set session context such as contractorId and userId.

scope: mcp:read · risk: read_only

Parameters:

  • contractorId (string, optional)
  • userId (string, optional)
  • flags (object, optional)

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.