🍋 LemonCake — Billing & budgets for AI agents
🍋 LemonCake — Servidor MCP de Cartera de Agente IA y Pago por llamada en USDC
🎮 Prueba al instante — no requiere registro. Haz clic en "Try in Browser" arriba → deja AMBOS campos de variables de entorno VACÍOS → haz clic en Start Inspector. El modo demo accede a Wikipedia real / httpbin / APIs de divisas en vivo. Sin cuenta, sin tarjeta, sin clave API.
📦 Cambio de nombre en v0.5.0: el paquete npm ahora es
pay-per-call-mcp(anteslemon-cake-mcp). El nombre antiguo sigue funcionando como un envoltorio ligero, pero las nuevas configuraciones deben usarnpx -y pay-per-call-mcp.
Dale una cartera a tu agente de IA. Pagos en USDC por llamada para cualquier API HTTP — directamente desde Claude Desktop, Cursor, Cline o cualquier cliente MCP. Sin intervención humana, sin registros por API, sin gestionar claves API.
El servidor MCP de LemonCake permite que clientes compatibles con MCP como Claude Desktop / Cursor / Cline llamen a APIs de pago con USDC sin intervención humana.
English ↓ Quickstart · Tools · Use Cases · Compatibility
🚀 3 minutos para empezar
Para usar el servidor MCP necesitas una cuenta de LemonCake y saldo en USDC.
Crear cuenta gratuita — Solo con tu correo electrónico.
Recargar saldo — Mínimo $5 USDC o JPYC (Billing).
Copiar el JWT de comprador — Desde Dashboard → API Keys.
Configurar en el archivo
claude_desktop_config.jsona continuación.
📚 Más información: Documentación de inicio rápido
Related MCP server: pay-mcp
📦 Instalación
Para Claude Desktop
Añade esto a ~/Library/Application Support/Claude/claude_desktop_config.json (macOS) o
%APPDATA%\Claude\claude_desktop_config.json (Windows):
{
"mcpServers": {
"pay-per-call": {
"command": "npx",
"args": ["-y", "pay-per-call-mcp"],
"env": {
"LEMON_CAKE_BUYER_JWT": "eyJhbGci..."
}
}
}
}Reinicia Claude Desktop y verás las herramientas de LemonCake en el icono 🔨.
Para Cursor / Cline / Otros clientes MCP
De manera similar, configura el comando de inicio del servidor como npx -y pay-per-call-mcp y establece la variable de entorno LEMON_CAKE_BUYER_JWT.
Requisito de Node.js: v20 o superior
🛠️ Herramientas proporcionadas
Nombre de la herramienta | Uso | Parámetros principales |
| Guía de configuración inicial (devuelve cómo crear cuenta/recargar) | — |
| Lista de APIs de pago disponibles en el marketplace de LemonCake |
|
| Llamada con pago a un servicio específico vía Pay Token |
|
| Obtener saldo actual en USDC y límites KYA | — |
| Verificar número de registro de factura calificada con la API de la Agencia Tributaria |
|
| Estadísticas de uso e historial de pagos por servicio | — |
Todos los esquemas de argumentos están disponibles en el Inspector MCP o mediante tools/list.
🎮 Modo Demo (pruébalo sin credenciales)
Si inicias el servidor sin configurar nada en LEMON_CAKE_BUYER_JWT / LEMON_CAKE_PAY_TOKEN, entrarás automáticamente en MODO DEMO. Funciona sin registro:
list_services→ El marketplace real + 3 demos:demo_search(Wikipedia),demo_echo(httpbin),demo_fx(open.er-api).call_service→ Los serviciosdemo_*devuelven datos reales de APIs gratuitas (sin cargo, sin autenticación).check_balance→ Devuelve un saldo simulado de$1.00(mode: "demo").check_tax/get_service_stats→ Funcionan normalmente (no requieren autenticación).
→ Puedes verificar el comportamiento de la implementación sin configurar nada, incluso en el Inspector de Glama o en el entorno de prueba de npm. Cuando quieras llamar a APIs de pago reales, configura LEMON_CAKE_PAY_TOKEN.
💡 Prueba estos prompts (Prompts MCP)
Este servidor es compatible con la capacidad de prompts de MCP. Los siguientes preajustes aparecerán en el "selector de prompts" de Glama Inspector / Claude Desktop / Cursor y se pueden ejecutar con un clic:
Nombre del Prompt | Contenido | Autenticación |
🎮 | Ejecuta setup → list_services → demo_search → demo_fx en modo demo | No necesaria |
🛍 | Lista todos los servicios del marketplace real y recomienda top 3 por uso | No necesaria |
🇯🇵 | Verifica el número de registro de factura en la Agencia Tributaria + juicio de retención | No necesaria |
💰 | Demuestra gestión de presupuesto con check_balance → call_service → check_balance | Demo OK / PAY_TOKEN para servicios reales |
🔄 | Compara la misma consulta entre demo_search y Serper real | Demo OK / PAY_TOKEN para comparar |
🏯 | Investigación de empresas japonesas combinando gBizINFO + Agencia Tributaria + e-Gov | PAY_TOKEN (la parte demo no lo requiere) |
→ Al habilitar el MCP pay-per-call (antes lemon-cake) en Glama / Claude Desktop, los anteriores aparecerán automáticamente como candidatos.
💡 Ejemplo de uso
En Claude Desktop:
"Llama a
demo_agent_search_apicon LemonCake por 0.50 USDC y busca 'AI agent payments'"
Claude automáticamente:
Verifica el estado de configuración con
setup(solo la primera vez).Ejecuta
call_service(serviceId="demo_agent_search_api", limitUsdc="0.50", body={query:"AI agent payments"}).Resume y responde con los resultados.
🎯 Casos de uso
Agentes de investigación autónomos — Deja que tu agente pague por llamadas a APIs premium de búsqueda, scraping o datos sin darle tu tarjeta de crédito.
Flujos de trabajo multi-API — Un JWT, un saldo, docenas de APIs. Sin registros por proveedor ni rotación de claves.
Gastos conscientes del cumplimiento — Los límites KYA (Know-Your-Agent) limitan cuánto puede gastar un agente por sesión/día.
Automatización de impuestos japoneses —
check_taxvalida números de factura calificada contra la API de la Agencia Tributaria para cumplimiento fiscal.Reintentos idempotentes —
idempotencyKeyhace quecall_servicesea seguro para reintentar sin cobrar doble.
✅ Clientes probados
Cliente | Estado | Notas |
Claude Desktop (macOS / Windows) | ✅ | Objetivo principal |
Cursor | ✅ | Transporte stdio |
Cline (VS Code) | ✅ | Transporte stdio |
Claude Code CLI | ✅ | Transporte stdio |
Continue.dev | ✅ | Soporte MCP desde v0.9 |
Clientes MCP personalizados | ✅ | Cualquier cliente que hable MCP 1.10+ sobre stdio |
🔐 Variables de entorno
Nombre de variable | Obligatorio | Descripción |
| ✅ | Buyer JWT (obtenido en Settings → API Keys del dashboard) |
| — | Pay Token JWT (necesario para |
| — | Endpoint de la API (predeterminado: |
🏃 Desarrollo local
git clone https://github.com/evidai/lemon-cake.git
cd lemon-cake/mcp-server
npm install
npm run build
npm startDocker
docker build -t pay-per-call-mcp .
docker run --rm -i -e LEMON_CAKE_BUYER_JWT=eyJhbGci... pay-per-call-mcpLa imagen también se utiliza para la vista previa en el navegador del Inspector de Glama.
🔗 Enlaces relacionados
📄 Licencia
MIT © LemonCake
Available Tools
6 toolscall_serviceA
Invoke an upstream API service through LemonCake's pay-per-call proxy. Each successful call automatically debits USDC from your wallet via the permit you signed. LemonCake never holds your USDC — the transfer is direct wallet → provider on Base.
PRECONDITIONS:
• LEMON_CAKE_PERMIT env var must be set for real services. Get one in ~30 seconds at
https://lemoncake.xyz/start/v2 (sign in with Google, sign 1 EIP-712 permit, copy the blob).
If missing, the tool returns a structured PERMIT_MISSING error with how-to-fix steps.
• DEMO MODE: any serviceId starting with demo_ works WITHOUT a permit and hits real
free upstreams (Wikipedia / httpbin / Open-Meteo / Nominatim / MyMemory / dictionaryapi /
worldtimeapi / open.er-api). 8 demos cover search / echo / fx / translate / weather /
geocode / time / dictionary — useful for Glama Inspector or new-user trial. They are
marked with mode: "demo" and incur no charge.
• serviceId must come from list_services.
BEHAVIOR: • Returns the upstream response body verbatim (JSON or text), plus the X-Charge-Id and X-Amount-Usdc headers reported by the proxy. • HTTP 402 Payment Required is returned as a normal result (NOT thrown) so the agent can autonomously stop spending when the daily $25 permit cap is exhausted. • Pass the same idempotencyKey to retry safely without double-charging. • This tool spends real money and contacts an external service — it is non-idempotent by default and has external side effects.
x402-COMPATIBLE INTERFACE:
• Successful calls include an x402Receipt field with { scheme, chain, asset, amount,
recipient, paymentIntentId, settledAt }. Same shape as on-chain x402 receipts so the
agent's payment-handling logic is portable.
• If upstream returns an x402 challenge (WWW-Authenticate: x402, X-402-* headers, or
body.x402), it's parsed into x402Challenge for the agent to reason about.
• If upstream returns 202 + Retry-After + X-Payment-Status: pending, the result is
{ status: "PAYMENT_PENDING", paymentIntentId, retryAfterMs, retryContract }.
Re-call with the same idempotencyKey to resume — no double-charge.
Returns: { status, chargeId, amountUsdc, response, x402Receipt?, x402Challenge?, hint? }
| Name | Required | Description | Default |
|---|---|---|---|
| body | No | JSON request body (only used for POST/PUT/PATCH). | |
| path | No | Sub-path on the service (e.g. "/search", "/v1/completions"). Defaults to "/". | / |
| method | No | HTTP method to use against the service. Defaults to GET. | GET |
| serviceId | Yes | ID of the service to call (obtain from list_services). | |
| idempotencyKey | No | Optional idempotency key (UUID recommended). Identical keys within the proxy's retention window return the cached result without re-charging. |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Description elaborates on behavioral traits beyond annotations: it details payment mechanics, HTTP 402 handling, idempotency via key, x402 interface, and demo mode. It confirms non-idempotent, external side effects, and spending money—fully consistent with annotations.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
Description is well-structured into sections (Preconditions, Behavior, x402-COMPATIBLE INTERFACE, Returns) and front-loads the core purpose. It is somewhat lengthy due to the tool's complexity, but each sentence adds value. Minor redundancy could be trimmed.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Given no output schema, the description fully explains the return format and error states (PERMIT_MISSING, HTTP 402, payment pending). It covers all aspects: preconditions, behavior, demo mode, x402 handling, and retry logic. No gaps.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema description coverage is 100%, so the schema already documents each parameter well. The description adds context like idempotencyKey retry logic and serviceId sourcing, but does not significantly enhance per-parameter understanding beyond what the schema provides.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states: 'Invoke an upstream API service through LemonCake's pay-per-call proxy.' This specific verb+resource, combined with detailed behavioral context, distinguishes it from sibling tools like check_balance, list_services, and setup.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
Description provides explicit preconditions (LEMON_CAKE_PERMIT env var, demo mode, serviceId from list_services) and behavior (spends money, external side effects). It indirectly guides when to use this tool vs alternatives by stating serviceId must come from list_services. Could be slightly more explicit about when not to use it, but is sufficient.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
check_balanceARead-onlyIdempotent
Check the current on-chain USDC balance of the wallet that owns the configured permit.
PRECONDITIONS: • DEMO MODE (no LEMON_CAKE_PERMIT): returns a canned $1.00 demo balance so trial users see something useful before signing. • LIVE: queries Base USDC.balanceOf(owner) directly + reports remaining daily permit cap. LemonCake's backend doesn't store the balance — it's read from the chain.
Use BEFORE call_service to confirm sufficient funds and remaining daily cap.
Returns: { balanceUsdc, dailyCap, remainingToday, ownerAddress, [mode], [note] }
| Name | Required | Description | Default |
|---|---|---|---|
No parameters | |||
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Beyond annotations (readOnly, idempotent), the description discloses demo mode behavior (canned $1.00) and live mode (queries chain, reports daily cap). It also notes that the backend does not store balance.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
Well-structured with clear sections (preconditions, usage, returns). Front-loaded with main purpose. No redundant sentences.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Complete for a zero-param read-only tool. Describes all relevant behaviors, return fields, and usage context. No gaps.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
No parameters exist; schema coverage is 100%. The description adds value by detailing the return fields (balanceUsdc, dailyCap, etc.), compensating for the lack of output schema.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description specifies the exact verb 'check' and resource 'on-chain USDC balance of the wallet that owns the configured permit.' It clearly distinguishes from sibling tools like call_service or check_tax.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
Explicitly recommends using this tool BEFORE call_service to confirm funds and daily cap. Also outlines preconditions for demo vs. live mode, providing clear context for usage.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
check_taxARead-onlyIdempotent
Run a Japanese tax compliance check on a single transaction. No authentication required.
Performs three checks in one call:
Validates the qualified-invoice registration number (T-number) against the NTA registry.
Determines whether source-withholding (源泉徴収) applies based on the service description.
If withholding applies, computes the withholding amount and net payable.
Intended for Japanese corporations that pay AI / API services and need to file withholding correctly under the qualified-invoice (インボイス制度) regime.
Returns: { invoice: { valid, name, ... }, withholding: { required, rate, amount, net } } Errors: invalid registrationNumber returns invoice.valid = false (not an exception).
| Name | Required | Description | Default |
|---|---|---|---|
| grossAmountJpy | Yes | Gross transaction amount in JPY, tax inclusive. | |
| registrationNumber | Yes | Qualified-invoice registration number issued by the Japanese NTA (e.g. "T1234567890123"). | |
| serviceDescription | Yes | Plain-text description of what was purchased. Used to classify whether source-withholding applies. |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
The description adds significant context beyond annotations: it states no authentication required, details the three checks performed, and explains error handling (invalid registrationNumber returns invoice.valid = false, not an exception). This aligns with the readOnlyHint and idempotentHint.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is well-structured with a bullet list of checks, clear sections, and no unnecessary words. It is concise yet informative.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Despite having no output schema, the description provides a complete picture: it explains the three checks, the return object structure, error handling, and intended usage. For a complex tax compliance tool, this is highly complete.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema coverage is 100%, so baseline is 3. However, the description adds detailed meaning: it explains how each parameter is used in the three checks and describes the return object structure (invoice and withholding fields), which goes beyond the schema.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the tool's purpose: 'Run a Japanese tax compliance check on a single transaction.' It lists three specific checks and differentiates from sibling tools, as no other tax check tool exists among the siblings.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description explicitly states the intended use case: 'Japanese corporations that pay AI / API services' and notes that no authentication is required. It provides context for when to use it, though it could be more explicit about when not to use it.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
get_service_statsARead-onlyIdempotent
Return public usage statistics for every approved service on the marketplace. No authentication required.
Use this AFTER list_services and BEFORE call_service to pick a service based on real-world traction (call counts, USDC revenue, last-used timestamp).
Returns: an array of { serviceId, callCount, totalRevenueUsdc, lastCalledAt }.
| Name | Required | Description | Default |
|---|---|---|---|
No parameters | |||
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Annotations already declare readOnlyHint=true, destructiveHint=false, openWorldHint=true, idempotentHint=true. The description adds that no authentication is required and specifies the output format, adding value beyond annotations.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
Three sentences: purpose, usage guidance, return format. Front-loaded with key information, no wasted words.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
For a tool with no parameters and no output schema, the description fully explains functionality, usage sequence, and return structure. Adequate for the complexity.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
No parameters, so baseline is 4. The description does not need to elaborate on parameters.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the tool returns public usage statistics for every approved service. It uses specific verb 'Return' and resource 'usage statistics for every approved service', and distinguishes from siblings by providing ordering context.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
Explicitly states when to use this tool: 'Use this AFTER list_services and BEFORE call_service to pick a service based on real-world traction.' This provides clear context and exclusion of alternatives.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
list_servicesARead-onlyIdempotent
List approved API services available on the LemonCake marketplace. No authentication required.
Use this BEFORE call_service to discover serviceId values and per-call USDC pricing.
When LEMON_CAKE_PERMIT is missing, 8 demo services are prepended: demo_search → Wikipedia opensearch demo_echo → httpbin.org/anything demo_fx → live FX rates (open.er-api) demo_translate → 80+ languages (MyMemory) demo_weather → current weather any lat/lon (Open-Meteo) demo_geocode → place name → lat/lon (OpenStreetMap Nominatim) demo_time → IANA timezone time + DST (worldtimeapi) demo_dictionary → English definitions / synonyms (dictionaryapi.dev) All real upstreams, no auth, free. Live users (permit set) see real marketplace entries; demo_* IDs remain callable directly.
Each item: { id, name, provider, type ('API' | 'MCP'), pricePerCall, [usage], [mode] }.
Errors: HTTP-level errors are returned as Error: API <status>: <body>.
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Maximum number of services to return (default 50, max 100). |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Annotations already indicate read-only, idempotent, and non-destructive behavior. The description adds valuable context: no authentication required, demo services prepended when permit missing, error format, and output structure. No contradictions with annotations.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is well-structured with a clear purpose statement, usage direction, and detailed list of demo services. It is slightly lengthy but each sentence adds value, and bullet-like formatting aids readability.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
For a list tool with no output schema, the description includes output structure (fields), error handling, and relationship to sibling tools. It covers the demo behavior comprehensively, making it complete for an AI agent.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
The only parameter 'limit' is fully described in the schema (type, default, min, max, description). The description does not add additional meaning beyond what the schema provides, so baseline score of 3 is appropriate.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states 'List approved API services available on the LemonCake marketplace' with a specific verb and resource. It distinguishes from sibling tools like call_service by explicitly mentioning its role as a prerequisite for discovering serviceId values.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description explicitly advises to 'Use this BEFORE call_service to discover serviceId values and per-call USDC pricing' and explains the demo service behavior when LEMON_CAKE_PERMIT is missing. It does not explicitly say when not to use it, but the context is clear.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
setupARead-onlyIdempotent
Show the LemonCake MCP first-run setup guide. No authentication required. Call this tool FIRST to learn what is missing and how to obtain a permit.
If LEMON_CAKE_PERMIT is not set, the server is in DEMO MODE: list_services returns 8 free demo services (search / echo / fx / translate / weather / geocode / time / dictionary) powered by real upstreams (Wikipedia, httpbin, Open-Meteo, Nominatim, etc.). call_service and check_balance respond with mock data so you can verify integration before signing.
Returns the current credential status (permit presence), demo-mode flag, and step-by-step instructions for getting a permit at /start/v2, including a sample MCP client config snippet ready to paste.
Returns: { version, apiUrl, mode, credentials, availableTools, setupSteps, permitUrl, docs } Errors: none — this tool always succeeds.
| Name | Required | Description | Default |
|---|---|---|---|
No parameters | |||
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Built upon annotations (readOnlyHint, idempotentHint, destructiveHint), the description adds key behaviors: no authentication required, always succeeds, returns specific fields, and explains demo mode behavior. No contradictions.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is well-structured with a clear purpose, context on demo mode, and a list of return fields. Every sentence adds value, and it is front-loaded with the main purpose.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Without an output schema, the description includes the complete return object fields. It covers error behavior (none), authentication needs, and the demo mode vs. full mode scenario, making it fully self-contained for a setup guide.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
No parameters exist, so baseline is 4. The description does not add parameter info, but that's irrelevant here. Schema coverage is 100%.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description starts with a clear verb+resource: 'Show the LemonCake MCP first-run setup guide.' It distinguishes itself from sibling tools by stating 'Call this tool FIRST,' making its unique purpose obvious.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
Explicitly advises when to use the tool: 'Call this tool FIRST to learn what is missing and how to obtain a permit.' It explains the context of demo mode and provides guidance on what to expect based on credential status.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
6 tool updates
v0.5.9- Added
call_service - Added
check_balance - Added
check_tax - Added
get_service_stats - Added
list_services - Added
setup
6 tool updates
v0.5.4- Removed
call_service - Removed
check_balance - Removed
check_tax - Removed
get_service_stats - Removed
list_services - Removed
setup
6 tool updates
v0.5.2- Added
call_service - Added
check_balance - Added
check_tax - Added
get_service_stats - Added
list_services - Added
setup
6 tool updates
v0.5.1- Removed
call_service - Removed
check_balance - Removed
check_tax - Removed
get_service_stats - Removed
list_services - Removed
setup
6 tool updates
v0.1.0- First observed
call_service - First observed
check_balance - First observed
check_tax - First observed
get_service_stats - First observed
list_services - First observed
setup
TDQS
Scored across 6 tools
Each tool has a clearly distinct role: setup guides onboarding, list_services discovers offerings, call_service executes paid calls, check_balance monitors funds, check_tax handles compliance, and get_service_stats provides marketplace analytics. There is no meaningful overlap or ambiguity between them.
Tool names follow a consistent snake_case verb_noun pattern: list_services, call_service, check_balance, check_tax, get_service_stats. Even 'setup' fits as a single-word imperative without breaking the overall stylistic consistency.
Six tools is a well-scoped count for a billing/proxy service: onboarding, discovery, execution, balance checking, tax compliance, and usage stats each earn their place. The server feels neither bloated nor thin.
The core lifecycle is well covered: discover services, call them, check balance, and verify tax obligations. Minor gaps exist, such as no explicit transaction-history or budget-configuration tool, but the daily cap and receipt fields mitigate these and the main workflows are complete.
Maintenance
Related MCP Connectors
30 pay-per-call APIs for AI agents: compliance, trade, safety, web, data. USDC on Base via x402.
Non-custodial stablecoin bill-pay rails on Celo & Base for AI agents, settled on-chain via MCP.
Payment infrastructure for AI agents: spending rules, approval flows, single-use virtual cards.
Wallet and payments for AI agents: auto-pay x402 APIs in USDC on XDC, within on-chain limits.
Related MCP Servers
- AlicenseAqualityCmaintenanceEnables AI agents to manage USDC wallets on Solana, allowing them to send payments, create invoices, and access paid APIs within human-defined spending limits. It uses threshold signatures to provide agents with financial autonomy while ensuring secure oversight and transaction approval.3640 npm4Apache 2.0
- AlicenseNot gradedqualityBmaintenanceUSDC payments for AI agents on Base. Direct transfers, pre-funded tabs, x402 paywall handling, and service discovery.74 npmMIT

@arispay/payagent-mcpofficial
AlicenseAqualityAmaintenanceEnables AI agents to call paid APIs and settle HTTP 402 payment challenges with USDC on Base, without private keys ever being involved.7173 npmMIT- AlicenseAqualityCmaintenanceLets AI agents discover, pay for, and call any HTTP API per request using USDC, with gasless nanopayments and no API keys or accounts needed.539 npmMIT