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
| Error | Description |
|---|---|
| Tool not found | The requested tool doesn't exist on the MCP server |
| Schema validation failed | Parameters don't match the tool's schema |
| Execution error | Tool execution failed (e.g. permission denied) |
| Server unreachable | MCP 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.