FastAPI-based AI orchestration service with tool management, MCP server integration, and agent execution
AI Engine exposes 12 tools for managing custom tools and MCP server configurations. Tool naming follows verb_noun convention (list_, create_, get_, update_, delete_, test_, ping_) which is strong. Descriptions are present and moderately detailed (avg ~80-120 chars), meeting the 10-1024 char baseline. However, parameter descriptions are sparse or generic in several tools. Input schemas are visible and typed (string, integer, object, boolean), but lack granularity, e.g., 'config' parameters accept generic objects without field documentation. Output schemas are not documented in the source. Error handling is minimal; no recovery guidance or actionable error messages visible. The server manages tool/MCP-server CRUD operations but lacks composition patterns (e.g., no batch operations, limited chaining support). Security: API key auth is enforced via middleware, but no per-tool permission scoping or audit trail visible.
Create a new MCP server configuration
Create a new tool with HTTP or agent configuration
Delete an MCP server (soft delete via is_active flag)
Delete a tool (soft delete via is_active flag)
Retrieve a specific MCP server by ID
Retrieve a specific tool by ID
List all MCP servers with optional filtering by project
Generic 'config' parameter lacks field documentation. create_tool and create_mcp_server accept config as untyped object; LLMs cannot infer required/optional fields, structure, or valid values.
No output schema documentation. Tools return ToolResponse, MCP ServerResponse objects, but response field structure is not visible in source. LLMs cannot plan downstream calls or extract required IDs.
Destructive operations (delete_tool, delete_mcp_server) lack confirmation or dry-run support. No recovery guidance in error responses. Agents can permanently delete resources without safeguards.
Inferred effective spec: <=2025-11-25.
| Scored | Grade | Overall | Spec posture | Rubric |
|---|---|---|---|---|
| 2026-09-23 | D | 57 | <=2025-11-25 | v2 |
List all tools with optional filtering by project
Verify connectivity for HTTP/SSE MCP servers
Execute the tool's HTTP config with sample inputs
Update an existing MCP server configuration
Update an existing tool
Parameter descriptions are generic or missing detail. E.g., 'config' is described as 'Tool configuration (api, method, headers, body, query_params, properties)' but does not specify which fields are required, data types, or constraints.
No error handling guidance. HTTPException responses (404, 409) are raised but no recovery hints provided. LLMs cannot self-correct or suggest alternatives.