Command Palette

Search for a command to run...

UnylyUnyly
Browse all

Customer Info Validator

FreeNot checked

Validates customer information completeness by checking caller-provided data against required fields, returning present and missing fields.

GitHubEmbed

About

Validates customer information completeness by checking caller-provided data against required fields, returning present and missing fields.

README

Customer Info Validator is a Gate 2 Cloudflare Workers + TypeScript MCP app for checking whether caller-provided customer information contains all caller-specified required fields.

App Identity

Use Case

The only supported use case is validating customer information completeness. The tool accepts a customer information object and a caller-provided required field list, then returns checked fields, present fields, missing fields, completeness status, source label, and structured errors.

MCP Tool

  • Tool Name: validate_customer_info_completeness
  • Tool Title: Validate Customer Information Completeness

Input

  • customer_info: object, required, allows arbitrary caller-provided customer fields.
  • required_fields: array of strings, required, runtime validates empty arrays and blank field names.
  • source_label: string, optional.
  • request_intent: string, optional, used only to reject out-of-scope requests.

Output

Every tool response returns the same top-level structure:

  • status: success or error
  • complete: boolean
  • required_fields: string array
  • checked_fields: string array
  • present_fields: string array
  • missing_fields: string array
  • source_label: string
  • errors: structured error array

Error Contract

Supported error codes:

  • missing_required_input
  • invalid_input_type
  • empty_input
  • out_of_scope
  • internal_error

Each error object includes code, message, and field.

Out of Scope

The app does not infer or fabricate missing information, score customers, predict conversion, create sales strategies, contact customers, write to CRM systems, create follow-up tasks, generate or send quotations, approve, publish, submit, purchase, transfer, delete, call external APIs, or modify external systems.

Routes

  • GET /: minimal public HTML page.
  • GET /health: returns { "status": "ok" }.
  • POST /mcp: JSON-RPC MCP endpoint supporting initialize, tools/list, and tools/call.

The app does not use /sse, /, or /{app-slug}/mcp as an MCP endpoint.

Local Commands

npm install
npm run typecheck
npm run dev
npm run test:mcp:local

npm run test:mcp:local starts the local Worker, waits for health, exercises the HTTP and MCP routes, validates tool annotations, runs positive and error cases, checks unknown tool behavior, validates structuredContent against outputSchema, and exits nonzero on failure.

Safety Architecture

Current architecture is read-only, stateless, and local to caller-provided input. It has no login, OAuth, database, external API client, CRM write path, message sending, form submission, approval action, purchase action, transfer action, or external system mutation.

Schema / Runtime Boundary

The JSON Schema defines field names, primitive types, arrays, objects, and top-level additionalProperties: false. Runtime type validation still checks every argument and field type. Business validation handles empty customer_info, empty required_fields, blank field names, field trimming, de-duplication, valid content checks, and out-of-scope request_intent detection so business errors are returned through the structured Error Contract.

Processing order:

  1. arguments
  2. runtime type validation
  3. business validation
  4. deterministic completeness logic
  5. unified response builder

Deployment Sync Rule

Any future production code change must follow:

Code Patch -> Build -> Deploy -> Production Verification

Patch-after-deploy drift is not allowed. Formal deployment and production verification are not part of Gate 2 and must be performed only in the appropriate later gate.

Gate Status

This repository is currently scoped to Gate 2 Build + Connect. It has not performed Gate 2.5 Developer Mode real listing tests, formal production deployment, formal submission, or final audit approval.

from github.com/YanKe1816/customer-info-validator

Installing Customer Info Validator

This server has no published package — it is built from source. Open the repository and follow its README.

▸ github.com/YanKe1816/customer-info-validator

FAQ

Is Customer Info Validator MCP free?

Yes, Customer Info Validator MCP is free — one-click install via Unyly at no cost.

Does Customer Info Validator need an API key?

No, Customer Info Validator runs without API keys or environment variables.

Is Customer Info Validator hosted or self-hosted?

A hosted option is available: Unyly runs the server in the cloud, no local setup required.

How do I install Customer Info Validator in Claude Desktop, Claude Code or Cursor?

Open Customer Info Validator on unyly.org, pick your client tab (Claude Desktop, Claude Code, Cursor) and press Install — the config is generated automatically, no JSON editing.

Related MCPs

Compare Customer Info Validator with

Not sure what to pick?

Find your stack in 60 seconds

Author?

Embed badge for your README

Browse similar

All development MCPs