RP Model Context Protocol Server in TypeScript
Server has 10 tools with visible schemas and descriptions, but quality is inconsistent. Naming lacks action verbs (e.g., 'refund-protect-quote' instead of 'create-refund-quote'). Descriptions are present but generic (avg ~80 chars, below 194-char baseline). Parameters have types and descriptions, but many lack constraints (enums, ranges). Critical issue: VendorCode and Secret exposed as parameters violates secret-injection pattern. Output schemas are not documented. Error handling is absent from visible code. Tools 6-9 (widget/React code generation) have minimal descriptions and unclear purpose.
Return API contract for Refund Protect Quote request to be use in a service
Cancel a transaction for Refund Protect using a Booking Reference
Create, obtain or generate a Quote for Refund Protect product
Lookup for an existing Quote for Refund Protect product using QuoteId
Create or Generate a transaction for Refund Protect using a QuoteId
Lookup for an existing transaction for Refund Protect using a Booking Reference or Sales Id
Credentials (VendorCode, Secret) exposed as tool parameters. Violates secret-injection pattern, credentials will appear in agent logs and traces.
Tool names lack action verbs. 'refund-protect-quote' should be 'create-refund-quote' or 'get-refund-quote'. LLMs infer intent from verb-noun naming.
rp-react-component-render has empty input schema (no parameters). Unclear what this tool does or how to invoke it. Description is vague ('Render the widget content').
| Scored | Grade | Overall | Spec posture | Rubric |
|---|---|---|---|---|
| 2026-09-23 | F | 46 | 2026-07-28+ | v2 |
Generate React code to install the widget, this is a provider and should be inserted in the root level of the project
Render the widget content in the specified component of the source code
Install Refund Protect javascript widget, this should be created once in the source code. Insert the code returned as an script
This is the code to render the Refund Protect javascript widget once its installed. Add the div with pgr-payment-container and call updateQuoteData action.
No output schemas documented. LLMs cannot plan downstream calls or extract required fields. Responses are unstructured text.
No error handling visible. Tools do not guide LLM on recovery (e.g., 'Quote not found. Try create-refund-quote first'). No categorization of retryable vs fatal errors.