Mjara Docs
Arif MCP

Tool Discovery

Arif MCP uses a standard discovery flow to find and cache tools from external servers.

Discovery Flow

Tool Schema Format

MCP servers return tools in a standard JSON format:

{
  "tools": [
    {
      "name": "custom_analysis",
      "description": "Analyze business data",
      "inputSchema": {
        "type": "object",
        "properties": {
          "data": { "type": "string" },
          "metric": { "type": "string" }
        },
        "required": ["data", "metric"]
      }
    }
  ]
}

Execution Flow

Error Handling

ErrorDescription
Tool not foundThe requested tool doesn't exist on the MCP server
Schema validation failedParameters don't match the tool's schema
Execution errorTool execution failed (e.g. permission denied)
Server unreachableMCP server is down or unreachable

If the MCP server is down, Arif AI continues to work using built-in tools only. Individual tool errors don't affect the chat session.

On this page