Static source inference · medium confidence · detected: Logging
Deprecated protocol patterns detected
Summary
PromptLab MCP exhibits significant inconsistency across its 18 tools. While descriptions are present, they are superficial (averaging ~45 characters, well below the 194-character baseline for A-grade tools). Schemas are declared but lack critical constraints, enum values are missing for filter parameters (primaryIndustry, businessType, unitType), numeric ranges are undefined, and there is no documentation of output structures. The tool naming is solid (verb_noun pattern followed consistently), but parameter documentation is weak and error handling is minimal. No validation constraints are surfaced to the LLM, inviting invalid inputs. Output schemas are not documented anywhere, forcing LLMs to reason about response structures blindly. This server is typical of mid-tier community MCP implementations: functional but lacking production polish.
Tools (18)
addCartItemwriteauthsource verified65/100
Add an item to the shopping cart
checkoutwriteauthsource verified62/100
Checkout and create order from catalog items
clearCartwriteauthsource verified58/100
Clear all items from the shopping cart
createAccountwriteauthsource verified68/100
Create a new supplier account
createBagTypewriteauthsource verified62/100
Create a new bag type with specified capacity and unit type
Missing output schema documentation. No visible documentation of what fields are returned by any tool, forcing LLMs to guess response structure and blocking effective downstream tool composition.
Parameter descriptions are minimal (<20 characters for many parameters) and lack actionable constraints. Parameters like 'sortBy', 'sortOrder', 'unitType', 'businessType', and 'primaryIndustry' have no documentation of valid values, forcing LLMs to guess or pass invalid inputs.
Document output schemas for every tool. State which fields are returned, their types, and whether they can be chained into downstream tool calls. Example for createAccount: 'Returns { id: string, name: string, website?: string, createdAt: ISO8601-date }. Pass the id to updateAccount or deleteAccount.'
Expand tool descriptions from 40-55 chars to 100-200 chars. Include: (1) what the tool does, (2) when to use it instead of similar tools, (3) what it returns, (4) any prerequisites. Example: 'Create a new supplier account in the system. Use this to onboard vendors not yet in the database. Requires a unique account name. Returns account ID for use in other supplier operations.'
Add enum constraints to all choice/filter parameters. Explicitly list valid values in both the parameter description and schema. Examples: sortOrder: [asc, desc], businessType: [consulting, manufacturing, retail, other], unitType: [kg, lb, box, pallet].
Document numeric ranges and defaults for pagination and filtering. State: page 1-based, default limit=20, max=100. State: months=1-36, capacity must be >0, quantity must be >0.
Add actionable error responses. Categorize errors as: RETRYABLE (rate limit, timeout), USER_FIXABLE (validation failure, provide the constraint), FATAL (authorization failure). Example: 'Invalid businessType: "tech_startup". Must be one of: [consulting, manufacturing, retail, other]. Please retry with a valid value.'
Implement tool annotations in the schema. Mark deleteAccount and deleteBagType with destructiveHint=true. Mark all GET operations with readOnlyHint=true. Mark idempotent operations (e.g., createAccount with same input) with idempotentHint=true.
Spec posture evidence
Inferred effective spec: <=2025-11-25.
Relies on Logging (deprecated) - log to stderr or use OpenTelemetry
No enum constraints on filter/choice parameters. 'sortOrder' should constrain to [asc, desc]. 'businessType' and 'primaryIndustry' lack predefined values. Without enums, LLMs hallucinate invalid filter values causing API failures.
Tool descriptions are superficial (40-55 characters, baseline is 194). Examples: 'Create a new supplier account' (35 chars), 'Delete a supplier account by ID' (32 chars). These do not explain WHEN to use the tool, what it returns, or dependencies on related tools.
No pagination limits documented. listAccounts and listCatalog accept 'limit' parameter but do not state maximum allowed value or default behavior. This can lead to LLMs requesting thousands of items, exhausting context windows.
Parameter descriptions lack specificity on data types and formats. E.g., 'operatingCountries' is an array but no description states format (country codes? names? ISO 3166-1?). 'linkedIn' accepts a URL but no validation or format guidance is provided.
No tool annotations (readOnlyHint, destructiveHint, idempotentHint) visible in tool definitions. Modern MCP spec enables these to help agents reason about side effects and retry safety. Their absence requires LLMs to infer from descriptions.
Add dry-run or confirmation steps for destructive operations. Before deleting an account, return a confirmation token requiring explicit approval. This prevents accidental mass deletions triggered by agent errors.
Reduce required parameters by providing smart defaults. E.g., listAccounts default page=1, limit=20. This lets simple calls succeed without forcing agents to reason about pagination.
Document parameter data types and formats in descriptions. Examples: 'website (URL format, must start with http:// or https://)', 'operatingCountries (array of ISO 3166-1 country codes, e.g., ["US", "CA", "GB"])', 'linkedIn (full profile URL, e.g., https://linkedin.com/in/username)'.
Add pagination documentation to descriptions of list_* tools. State: 'Returns paginated results (default 20 per page, max 100). Use page and limit to navigate results. Response includes total count for UI rendering.'
For filter parameters, provide usage examples in descriptions. E.g., 'primaryIndustry: Filter results to a single industry classification (e.g., "Technology", "Finance", "Manufacturing"). Omit to see all industries.'
Implement per-tool input validation in handlers. Reject invalid enum values, negative numbers, and malformed URLs before calling backend services. Return clear, actionable error messages referencing the constraint violated.