NAIF Gravity Diagnostic — Free MCP/API/Webhook Triage

Free MCP, API auth, webhook and schema diagnostics with bounded checks and safe quote routing.

Should I use this

Quality & Safety

A
Description quality
100%
Schema completeness
81%
Naming quality
80%
Poisoning risk
100%
Permission match
100%
Protocol compliance
100%

Based on automated analysis of tool definitions and protocol compliance.

Context Cost

~1,863Tokens (tool definitions)
~5.1 KBTypical response size
Moderate attention impact (1.46% of 128k context)

This is the approximate number of tokens consumed each time the server's tools are loaded into a model's context. Higher counts reduce the attention available for other tasks.

Install

One-Click Install

Add this to your `claude_desktop_config.json` file:

{
  "mcpServers": {
    "diagnostic": {
      "url": "https://naifgravity.com/mcp/diagnostic"
    }
  }
}

Remote endpoints

https://naifgravity.com/mcp/diagnosticstreamable-http

What it can do

Tool inventory

Tools (4)

🟢 Read-only🟡 Write🔴 Delete⚪ Unknown
⚪diagnose_mcp_failure(error_message, error_code, protocol_version, transport, context)

Diagnose sanitized MCP initialize, discovery, transport, capability and tool-schema failures. Returns bounded free checks and never performs a repair or payment.

Input Schema

{
  "type": "object",
  "properties": {
    "error_message": {
      "type": "string",
      "minLength": 3,
      "maxLength": 4096
    },
    "error_code": {
      "type": "string",
      "maxLength": 64
    },
    "protocol_version": {
      "type": "string",
      "maxLength": 64
    },
    "transport": {
      "type": "string",
      "enum": [
        "streamable-http",
        "sse",
        "stdio"
      ]
    },
    "context": {
      "type": "string",
      "maxLength": 2048
    }
  },
  "required": [
    "error_message"
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}

Output Schema

{
  "type": "object",
  "properties": {
    "diagnosis": {
      "type": "string"
    },
    "failure_class": {
      "type": "string"
    },
    "confidence": {
      "type": "number",
      "minimum": 0,
      "maximum": 1
    },
    "confidence_label": {
      "type": "string",
      "enum": [
        "high",
        "medium",
        "low"
      ]
    },
    "free_checks": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "repair_available": {
      "type": "boolean"
    },
    "repair_scope": {
      "type": [
        "string",
        "null"
      ]
    },
    "quote_endpoint": {
      "type": [
        "string",
        "null"
      ]
    },
    "collision_id": {
      "type": [
        "string",
        "null"
      ]
    },
    "evidence_hash": {
      "type": "string"
    },
    "secrets_redacted": {
      "type": "boolean"
    },
    "trace_id": {
      "type": "string"
    },
    "policy": {
      "type": "object",
      "properties": {
        "free_diagnosis": {
          "type": "boolean"
        },
        "automatic_quote": {
          "type": "boolean"
        },
        "automatic_checkout": {
          "type": "boolean"
        },
        "automatic_payment": {
          "type": "boolean"
        },
        "automatic_execution": {
          "type": "boolean"
        },
        "raw_input_stored": {
          "type": "boolean"
        }
      },
      "required": [
        "free_diagnosis",
        "automatic_quote",
        "automatic_checkout",
        "automatic_payment",
        "automatic_execution",
        "raw_input_stored"
      ],
      "additionalProperties": false
    }
  },
  "required": [
    "diagnosis",
    "failure_class",
    "confidence",
    "confidence_label",
    "free_checks",
    "repair_available",
    "repair_scope",
    "quote_endpoint",
    "collision_id",
    "evidence_hash",
    "secrets_redacted",
    "trace_id",
    "policy"
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "additionalProperties": false
}
⚪diagnose_api_auth_401(error_message, http_status, endpoint, method, context)

Diagnose a sanitized HTTP 401 authentication failure without accepting credentials or contacting the target endpoint.

Input Schema

{
  "type": "object",
  "properties": {
    "error_message": {
      "type": "string",
      "minLength": 3,
      "maxLength": 4096
    },
    "http_status": {
      "type": "number",
      "const": 401
    },
    "endpoint": {
      "description": "Only scheme, host and path are retained; query and fragment are discarded.",
      "type": "string",
      "maxLength": 2048,
      "format": "uri"
    },
    "method": {
      "type": "string",
      "enum": [
        "GET",
        "POST",
        "PUT",
        "PATCH",
        "DELETE",
        "HEAD",
        "OPTIONS"
      ]
    },
    "context": {
      "type": "string",
      "maxLength": 2048
    }
  },
  "required": [
    "error_message",
    "http_status"
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}

Output Schema

{
  "type": "object",
  "properties": {
    "diagnosis": {
      "type": "string"
    },
    "failure_class": {
      "type": "string"
    },
    "confidence": {
      "type": "number",
      "minimum": 0,
      "maximum": 1
    },
    "confidence_label": {
      "type": "string",
      "enum": [
        "high",
        "medium",
        "low"
      ]
    },
    "free_checks": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "repair_available": {
      "type": "boolean"
    },
    "repair_scope": {
      "type": [
        "string",
        "null"
      ]
    },
    "quote_endpoint": {
      "type": [
        "string",
        "null"
      ]
    },
    "collision_id": {
      "type": [
        "string",
        "null"
      ]
    },
    "evidence_hash": {
      "type": "string"
    },
    "secrets_redacted": {
      "type": "boolean"
    },
    "trace_id": {
      "type": "string"
    },
    "policy": {
      "type": "object",
      "properties": {
        "free_diagnosis": {
          "type": "boolean"
        },
        "automatic_quote": {
          "type": "boolean"
        },
        "automatic_checkout": {
          "type": "boolean"
        },
        "automatic_payment": {
          "type": "boolean"
        },
        "automatic_execution": {
          "type": "boolean"
        },
        "raw_input_stored": {
          "type": "boolean"
        }
      },
      "required": [
        "free_diagnosis",
        "automatic_quote",
        "automatic_checkout",
        "automatic_payment",
        "automatic_execution",
        "raw_input_stored"
      ],
      "additionalProperties": false
    }
  },
  "required": [
    "diagnosis",
    "failure_class",
    "confidence",
    "confidence_label",
    "free_checks",
    "repair_available",
    "repair_scope",
    "quote_endpoint",
    "collision_id",
    "evidence_hash",
    "secrets_redacted",
    "trace_id",
    "policy"
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "additionalProperties": false
}
⚪diagnose_webhook_signature(error_message, signature_header_present, retry_count, payload_size_bytes, context)

Diagnose a sanitized webhook signature/delivery failure without accepting the raw payload, signature value or signing secret.

Input Schema

{
  "type": "object",
  "properties": {
    "error_message": {
      "type": "string",
      "minLength": 3,
      "maxLength": 4096
    },
    "signature_header_present": {
      "type": "boolean"
    },
    "retry_count": {
      "type": "integer",
      "minimum": 0,
      "maximum": 100
    },
    "payload_size_bytes": {
      "type": "integer",
      "minimum": 0,
      "maximum": 10000000
    },
    "context": {
      "type": "string",
      "maxLength": 2048
    }
  },
  "required": [
    "error_message"
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}

Output Schema

{
  "type": "object",
  "properties": {
    "diagnosis": {
      "type": "string"
    },
    "failure_class": {
      "type": "string"
    },
    "confidence": {
      "type": "number",
      "minimum": 0,
      "maximum": 1
    },
    "confidence_label": {
      "type": "string",
      "enum": [
        "high",
        "medium",
        "low"
      ]
    },
    "free_checks": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "repair_available": {
      "type": "boolean"
    },
    "repair_scope": {
      "type": [
        "string",
        "null"
      ]
    },
    "quote_endpoint": {
      "type": [
        "string",
        "null"
      ]
    },
    "collision_id": {
      "type": [
        "string",
        "null"
      ]
    },
    "evidence_hash": {
      "type": "string"
    },
    "secrets_redacted": {
      "type": "boolean"
    },
    "trace_id": {
      "type": "string"
    },
    "policy": {
      "type": "object",
      "properties": {
        "free_diagnosis": {
          "type": "boolean"
        },
        "automatic_quote": {
          "type": "boolean"
        },
        "automatic_checkout": {
          "type": "boolean"
        },
        "automatic_payment": {
          "type": "boolean"
        },
        "automatic_execution": {
          "type": "boolean"
        },
        "raw_input_stored": {
          "type": "boolean"
        }
      },
      "required": [
        "free_diagnosis",
        "automatic_quote",
        "automatic_checkout",
        "automatic_payment",
        "automatic_execution",
        "raw_input_stored"
      ],
      "additionalProperties": false
    }
  },
  "required": [
    "diagnosis",
    "failure_class",
    "confidence",
    "confidence_label",
    "free_checks",
    "repair_available",
    "repair_scope",
    "quote_endpoint",
    "collision_id",
    "evidence_hash",
    "secrets_redacted",
    "trace_id",
    "policy"
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "additionalProperties": false
}
⚪diagnose_json_schema_failure(error_message, schema_path, instance_path, expected_type, actual_type, ...)

Diagnose a bounded JSON Schema or MCP input-schema type mismatch using only sanitized paths and types; no raw payload is required.

Input Schema

{
  "type": "object",
  "properties": {
    "error_message": {
      "type": "string",
      "minLength": 3,
      "maxLength": 4096
    },
    "schema_path": {
      "type": "string",
      "maxLength": 1024,
      "pattern": "^(?:\\/(?:[^~/]|~[01])*)*$"
    },
    "instance_path": {
      "type": "string",
      "maxLength": 1024,
      "pattern": "^(?:\\/(?:[^~/]|~[01])*)*$"
    },
    "expected_type": {
      "type": "string",
      "enum": [
        "string",
        "integer",
        "number",
        "boolean",
        "object",
        "array",
        "null"
      ]
    },
    "actual_type": {
      "type": "string",
      "enum": [
        "string",
        "integer",
        "number",
        "boolean",
        "object",
        "array",
        "null"
      ]
    },
    "context": {
      "type": "string",
      "maxLength": 2048
    }
  },
  "required": [
    "error_message"
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}

Output Schema

{
  "type": "object",
  "properties": {
    "diagnosis": {
      "type": "string"
    },
    "failure_class": {
      "type": "string"
    },
    "confidence": {
      "type": "number",
      "minimum": 0,
      "maximum": 1
    },
    "confidence_label": {
      "type": "string",
      "enum": [
        "high",
        "medium",
        "low"
      ]
    },
    "free_checks": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "repair_available": {
      "type": "boolean"
    },
    "repair_scope": {
      "type": [
        "string",
        "null"
      ]
    },
    "quote_endpoint": {
      "type": [
        "string",
        "null"
      ]
    },
    "collision_id": {
      "type": [
        "string",
        "null"
      ]
    },
    "evidence_hash": {
      "type": "string"
    },
    "secrets_redacted": {
      "type": "boolean"
    },
    "trace_id": {
      "type": "string"
    },
    "policy": {
      "type": "object",
      "properties": {
        "free_diagnosis": {
          "type": "boolean"
        },
        "automatic_quote": {
          "type": "boolean"
        },
        "automatic_checkout": {
          "type": "boolean"
        },
        "automatic_payment": {
          "type": "boolean"
        },
        "automatic_execution": {
          "type": "boolean"
        },
        "raw_input_stored": {
          "type": "boolean"
        }
      },
      "required": [
        "free_diagnosis",
        "automatic_quote",
        "automatic_checkout",
        "automatic_payment",
        "automatic_execution",
        "raw_input_stored"
      ],
      "additionalProperties": false
    }
  },
  "required": [
    "diagnosis",
    "failure_class",
    "confidence",
    "confidence_label",
    "free_checks",
    "repair_available",
    "repair_scope",
    "quote_endpoint",
    "collision_id",
    "evidence_hash",
    "secrets_redacted",
    "trace_id",
    "policy"
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "additionalProperties": false
}

Community

Rate this Server

Evidence

Recent observations

verifiedversion not recorded4 tools