MCP server for managing portfolio profiles and jobs via the Sharmaz API
This server has critical definition quality gaps. Tool names are verb-prefixed (good), but descriptions are generic and lack actionable context. Most parameters lack proper constraints, no enums, no format specifications, no range limits. The fetch-portfolio tool has a confusing parameter ('portfolio' string) that doesn't match the API call (uses userId). Error handling is minimal: checks for empty arrays (incorrect for JSON responses) and returns generic 'not found' messages without recovery guidance. No output schemas documented. Credentials (apiKey, userEmail, userPassword) are injected via config but the tool descriptions don't explain what data is returned or when to use each tool. Parameter descriptions are trivial (e.g., 'Name of the profile to create') and don't guide LLM selection.
Tool to create a job at portfolio using the Sharmaz API
Tool to create a profile at portfolio using the Sharmaz API
Tool to delete a profile at portfolio using the Sharmaz API
Tool to fetch the portfolio information from the Sharmaz API
Tool to update a job at portfolio using the Sharmaz API
Tool to update a profile at portfolio using the Sharmaz API
Credentials exposed in config object passed to registerSharmazMcp(). While not tool parameters, the pattern violates secret-injection: apiKey, userEmail, userPassword should be environment variables or vault-injected, never passed as function arguments that could be logged.
fetch-portfolio parameter 'portfolio' (string) is unused in the implementation, the tool ignores it and calls the API with userId from config. This breaks the tool contract and confuses LLMs about what the parameter controls.
No output schemas documented. Tools return raw JSON.stringify() of API responses without filtering, pagination, or field documentation. LLMs cannot plan downstream calls or extract required IDs.
| Scored | Grade | Overall | Spec posture | Rubric |
|---|---|---|---|---|
| 2026-09-23 | F | 40 | 2026-07-28+ | v2 |
Error handling checks 'if (data.length === 0)' on JSON objects, which is always false. Real errors (HTTP 4xx/5xx) are not caught. No error classification (retryable vs fatal) or recovery guidance provided.
Parameter descriptions are trivial (e.g., 'Name of the profile to create'). No constraints, formats, or examples. LLMs cannot validate input or understand when to use each tool vs alternatives.