A boilerplate MCP server with Stripe integration for paid tools and Google/GitHub authentication, running on Cloudflare Workers
This boilerplate demonstrates basic tool structure with consistent naming (verb_noun pattern) and complete input schemas across all 6 tools. However, descriptions are minimal (10-20 chars), parameter descriptions are absent, and output schemas are undocumented. Tool names like 'add', 'calculate', 'onetime_add' lack clarity about payment/subscription requirements upfront. No error handling guidance, no recovery paths, and no documentation of side effects (payment processing). The server exposes payment-related tools but lacks permission gates, audit trails, or security documentation. Follows a boilerplate pattern but falls short of production-grade quality.
This tool adds two numbers together.
This tool performs a calculation on two numbers.
This tool checks for active subscriptions and one-time purchases for the logged in user's Stripe customer ID.
Adds two numbers together for metered usage.
Adds two numbers together for one-time payment.
Adds two numbers together for paid subscribers.
Parameter descriptions missing entirely. Input schemas define types (number, string, enum) but lack descriptions explaining what each parameter controls or constrains. LLMs cannot infer parameter semantics from names alone.
Tool descriptions are too brief (10-30 chars). 'Adds two numbers together' lacks context about payment requirements, when to use this vs alternatives, and what happens on invocation. Descriptions should be 50-200 chars and answer WHAT, WHEN, and WHY.
Output schemas are not documented. No indication of what fields are returned, their types, or structure. LLMs cannot plan downstream tool calls or extract required data without knowing response shape.
| Scored | Grade | Overall | Spec posture | Rubric |
|---|---|---|---|---|
| 2026-09-23 | F | 48 | 2026-07-28+ | v2 |
No error handling or recovery guidance. Tools that process payments (onetime_add, subscription_add, metered_add) lack documentation of failure modes, retry logic, or what the LLM should do if payment fails.
Payment-gated tools lack permission gates and audit trails. No documentation of which user/agent can invoke paid tools, no logging of payment attempts, and no confirmation/dry-run pattern for destructive or costly operations.