Mobile client for LibreChat with agent editor, tool marketplace, and MCP server integration
This is a Kotlin mobile client library, not an MCP server. It exposes 6 tools via HTTP to a LibreChat backend, but lacks MCP protocol implementation. Tools have basic descriptions and schemas, but descriptions are thin (avg ~80 chars, well below the 194-char baseline). No error handling guidance, no output schemas documented, no tool annotations. Parameters are typed but lack depth. The codebase shows good internal testing (ToolFavoritesRepositoryImplTest) but tool definitions are not MCP-compliant.
Pins one marketplace item via `PUT /api/user/settings/favorites/tools/:itemType/:itemId`
Fetches the canonical set of user's pinned marketplace items from `GET /api/user/settings/favorites/tools`
Installs a per-tool user API key via `POST /api/user/plugins`. [authFields] is the upstream auth-field map -- e.g. `LIBRECHAT_CODE_API_KEY -> key` for Code Interpreter. Caller is responsible for assembling the right field names for each tool.
Unpins one marketplace item via `DELETE /api/user/settings/favorites/tools/:itemType/:itemId`
Revokes previously installed keys for [toolId] via the same endpoint.
Calls upstream `GET /api/agents/tools/:toolId/auth`
Not an MCP server, this is a Kotlin mobile client library. No MCP protocol transport, no tool registration via MCP, no stateless request handling. Cannot be used as an MCP server.
Output schemas not documented. Tools return results but LLMs cannot infer what fields to expect. E.g., getToolFavorites returns a list but structure is opaque.
Descriptions are too brief (avg 80 chars vs 194-char baseline). 'Calls upstream GET /api/agents/tools/:toolId/auth' lacks context on when to use, what it returns, or error recovery.
| Scored | Grade | Overall | Spec posture | Rubric |
|---|---|---|---|---|
| 2026-09-23 | F | 41 | 2026-07-28+ | v2 |
No error handling guidance. Tools can fail (404, 500, auth errors) but descriptions do not explain what to do next or how to recover.
Parameter 'authFields' in installToolKey is an untyped object with no enum or schema constraints. LLMs cannot infer valid field names (LIBRECHAT_CODE_API_KEY, etc.).