{
  "x402Version": 2,
  "id": 39636,
  "slug": "39636",
  "resource": "https://api.blockchainmoneymap.com/api/x402/x402-response-contract-linter",
  "description": "Lints caller-submitted agent API, MCP, and x402 response samples for machine-actionable contract completeness without making network calls.",
  "type": "http",
  "resourceType": "MCP Tool",
  "accepts": [
    {
      "scheme": "exact",
      "network": "eip155:8453",
      "payTo": "0x2211E12e6Bc8Da27B48B9DD66A55f5C3388D713a",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "amount": "10000",
      "amountUsd": 0.01,
      "maxTimeoutSeconds": 300
    }
  ],
  "outputSchema": {
    "properties": {
      "example": {
        "additionalProperties": false,
        "properties": {
          "confidence": {
            "enum": [
              "high",
              "medium",
              "low"
            ],
            "type": "string"
          },
          "decision": {
            "enum": [
              "pass",
              "warn",
              "fail",
              "insufficient_context"
            ],
            "type": "string"
          },
          "endpoint": {
            "enum": [
              "x402-response-contract-linter"
            ]
          },
          "findings": {
            "items": {
              "type": "object"
            },
            "type": "array"
          },
          "generated_at": {
            "format": "date-time",
            "type": "string"
          },
          "limitations": {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "lint_profile": {
            "enum": [
              "api",
              "mcp",
              "x402"
            ],
            "type": "string"
          },
          "metadata": {
            "additionalProperties": false,
            "properties": {
              "paymentStatus": {
                "type": "string"
              }
            },
            "required": [
              "paymentStatus"
            ],
            "type": "object"
          },
          "pricePaid": {
            "type": "object"
          },
          "product_family": {
            "enum": [
              "agent_expansion_v3_api"
            ]
          },
          "recommended_next_action": {
            "type": "string"
          },
          "request_id": {
            "type": "string"
          },
          "risk_flags": {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "score": {
            "maximum": 100,
            "minimum": 0,
            "type": "number"
          },
          "summary": {
            "type": "string"
          },
          "tool_id": {
            "enum": [
              "x402_response_contract_linter"
            ]
          },
          "version": {
            "enum": [
              "v0.1"
            ]
          },
          "x402_request_id": {
            "type": "string"
          }
        },
        "required": [
          "product_family",
          "endpoint",
          "tool_id",
          "version",
          "request_id",
          "x402_request_id",
          "generated_at",
          "decision",
          "confidence",
          "summary",
          "risk_flags",
          "recommended_next_action",
          "limitations",
          "metadata",
          "lint_profile",
          "score",
          "findings"
        ],
        "type": "object"
      },
      "type": {
        "enum": [
          "json"
        ],
        "type": "string"
      }
    },
    "required": [
      "type"
    ],
    "type": "object"
  },
  "extensions": {
    "bazaar": {
      "info": {
        "input": {
          "body": {
            "lint_profile": "x402",
            "response_sample": {
              "confidence": "high",
              "decision": "pass",
              "endpoint": "x402-response-contract-linter",
              "generated_at": "2026-07-21T12:00:00.000Z",
              "limitations": [
                "Example only."
              ],
              "metadata": {
                "paymentStatus": "not_required"
              },
              "product_family": "agent_expansion_v3_api",
              "recommended_next_action": "Keep REST, MCP, OpenAPI, and discovery response fields stable.",
              "request_id": "req_example",
              "risk_flags": [],
              "summary": "Example machine-actionable response.",
              "tool_id": "x402_response_contract_linter",
              "version": "v0.1",
              "x402_request_id": "x402_req_example"
            },
            "tool_context": {
              "currency": "USDC",
              "endpoint_path": "/api/x402/wallet-snapshot",
              "expected_price": "0.01",
              "mcp_tool_name": "bmm_wallet_snapshot",
              "network": "base",
              "operation_id": "wallet_snapshot",
              "tool_id": "wallet_snapshot"
            }
          },
          "bodyType": "json",
          "method": "POST",
          "type": "http"
        },
        "output": {
          "type": "json"
        }
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "input": {
            "additionalProperties": false,
            "properties": {
              "body": {
                "additionalProperties": false,
                "properties": {
                  "lint_profile": {
                    "enum": [
                      "api",
                      "mcp",
                      "x402",
                      "auto"
                    ],
                    "type": "string"
                  },
                  "response_sample": {
                    "type": "object"
                  },
                  "schema_sample": {
                    "type": "object"
                  },
                  "tool_context": {
                    "additionalProperties": false,
                    "properties": {
                      "currency": {
                        "enum": [
                          "USDC"
                        ],
                        "type": "string"
                      },
                      "endpoint_path": {
                        "maxLength": 160,
                        "type": "string"
                      },
                      "expected_price": {
                        "maxLength": 32,
                        "type": "string"
                      },
                      "mcp_tool_name": {
                        "maxLength": 120,
                        "type": "string"
                      },
                      "network": {
                        "maxLength": 64,
                        "type": "string"
                      },
                      "operation_id": {
                        "maxLength": 120,
                        "type": "string"
                      },
                      "tool_id": {
                        "maxLength": 120,
                        "type": "string"
                      }
                    },
                    "type": "object"
                  }
                },
                "required": [
                  "response_sample"
                ],
                "type": "object"
              },
              "bodyType": {
                "enum": [
                  "json",
                  "form-data",
                  "text"
                ],
                "type": "string"
              },
              "method": {
                "enum": [
                  "POST"
                ],
                "type": "string"
              },
              "type": {
                "const": "http",
                "type": "string"
              }
            },
            "required": [
              "type",
              "method",
              "bodyType",
              "body"
            ],
            "type": "object"
          },
          "output": {
            "properties": {
              "example": {
                "additionalProperties": false,
                "properties": {
                  "confidence": {
                    "enum": [
                      "high",
                      "medium",
                      "low"
                    ],
                    "type": "string"
                  },
                  "decision": {
                    "enum": [
                      "pass",
                      "warn",
                      "fail",
                      "insufficient_context"
                    ],
                    "type": "string"
                  },
                  "endpoint": {
                    "enum": [
                      "x402-response-contract-linter"
                    ]
                  },
                  "findings": {
                    "items": {
                      "type": "object"
                    },
                    "type": "array"
                  },
                  "generated_at": {
                    "format": "date-time",
                    "type": "string"
                  },
                  "limitations": {
                    "items": {
                      "type": "string"
                    },
                    "type": "array"
                  },
                  "lint_profile": {
                    "enum": [
                      "api",
                      "mcp",
                      "x402"
                    ],
                    "type": "string"
                  },
                  "metadata": {
                    "additionalProperties": false,
                    "properties": {
                      "paymentStatus": {
                        "type": "string"
                      }
                    },
                    "required": [
                      "paymentStatus"
                    ],
                    "type": "object"
                  },
                  "pricePaid": {
                    "type": "object"
                  },
                  "product_family": {
                    "enum": [
                      "agent_expansion_v3_api"
                    ]
                  },
                  "recommended_next_action": {
                    "type": "string"
                  },
                  "request_id": {
                    "type": "string"
                  },
                  "risk_flags": {
                    "items": {
                      "type": "string"
                    },
                    "type": "array"
                  },
                  "score": {
                    "maximum": 100,
                    "minimum": 0,
                    "type": "number"
                  },
                  "summary": {
                    "type": "string"
                  },
                  "tool_id": {
                    "enum": [
                      "x402_response_contract_linter"
                    ]
                  },
                  "version": {
                    "enum": [
                      "v0.1"
                    ]
                  },
                  "x402_request_id": {
                    "type": "string"
                  }
                },
                "required": [
                  "product_family",
                  "endpoint",
                  "tool_id",
                  "version",
                  "request_id",
                  "x402_request_id",
                  "generated_at",
                  "decision",
                  "confidence",
                  "summary",
                  "risk_flags",
                  "recommended_next_action",
                  "limitations",
                  "metadata",
                  "lint_profile",
                  "score",
                  "findings"
                ],
                "type": "object"
              },
              "type": {
                "enum": [
                  "json"
                ],
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          }
        },
        "required": [
          "input"
        ],
        "type": "object"
      }
    }
  },
  "tags": [
    "bazaar"
  ],
  "sourceHost": "api.blockchainmoneymap.com",
  "lastUpdated": "2026-10-05T23:44:21.538Z",
  "quality": {
    "calls30d": 2,
    "uniquePayers30d": 2,
    "lastCalledAt": "2026-10-05T23:44:21.182Z"
  },
  "metadata": {
    "extensions": {
      "bazaar": {
        "info": {
          "input": {
            "body": {
              "lint_profile": "x402",
              "response_sample": {
                "confidence": "high",
                "decision": "pass",
                "endpoint": "x402-response-contract-linter",
                "generated_at": "2026-07-21T12:00:00.000Z",
                "limitations": [
                  "Example only."
                ],
                "metadata": {
                  "paymentStatus": "not_required"
                },
                "product_family": "agent_expansion_v3_api",
                "recommended_next_action": "Keep REST, MCP, OpenAPI, and discovery response fields stable.",
                "request_id": "req_example",
                "risk_flags": [],
                "summary": "Example machine-actionable response.",
                "tool_id": "x402_response_contract_linter",
                "version": "v0.1",
                "x402_request_id": "x402_req_example"
              },
              "tool_context": {
                "currency": "USDC",
                "endpoint_path": "/api/x402/wallet-snapshot",
                "expected_price": "0.01",
                "mcp_tool_name": "bmm_wallet_snapshot",
                "network": "base",
                "operation_id": "wallet_snapshot",
                "tool_id": "wallet_snapshot"
              }
            },
            "bodyType": "json",
            "method": "POST",
            "type": "http"
          },
          "output": {
            "type": "json"
          }
        },
        "schema": {
          "$schema": "https://json-schema.org/draft/2020-12/schema",
          "properties": {
            "input": {
              "additionalProperties": false,
              "properties": {
                "body": {
                  "additionalProperties": false,
                  "properties": {
                    "lint_profile": {
                      "enum": [
                        "api",
                        "mcp",
                        "x402",
                        "auto"
                      ],
                      "type": "string"
                    },
                    "response_sample": {
                      "type": "object"
                    },
                    "schema_sample": {
                      "type": "object"
                    },
                    "tool_context": {
                      "additionalProperties": false,
                      "properties": {
                        "currency": {
                          "enum": [
                            "USDC"
                          ],
                          "type": "string"
                        },
                        "endpoint_path": {
                          "maxLength": 160,
                          "type": "string"
                        },
                        "expected_price": {
                          "maxLength": 32,
                          "type": "string"
                        },
                        "mcp_tool_name": {
                          "maxLength": 120,
                          "type": "string"
                        },
                        "network": {
                          "maxLength": 64,
                          "type": "string"
                        },
                        "operation_id": {
                          "maxLength": 120,
                          "type": "string"
                        },
                        "tool_id": {
                          "maxLength": 120,
                          "type": "string"
                        }
                      },
                      "type": "object"
                    }
                  },
                  "required": [
                    "response_sample"
                  ],
                  "type": "object"
                },
                "bodyType": {
                  "enum": [
                    "json",
                    "form-data",
                    "text"
                  ],
                  "type": "string"
                },
                "method": {
                  "enum": [
                    "POST"
                  ],
                  "type": "string"
                },
                "type": {
                  "const": "http",
                  "type": "string"
                }
              },
              "required": [
                "type",
                "method",
                "bodyType",
                "body"
              ],
              "type": "object"
            },
            "output": {
              "properties": {
                "example": {
                  "additionalProperties": false,
                  "properties": {
                    "confidence": {
                      "enum": [
                        "high",
                        "medium",
                        "low"
                      ],
                      "type": "string"
                    },
                    "decision": {
                      "enum": [
                        "pass",
                        "warn",
                        "fail",
                        "insufficient_context"
                      ],
                      "type": "string"
                    },
                    "endpoint": {
                      "enum": [
                        "x402-response-contract-linter"
                      ]
                    },
                    "findings": {
                      "items": {
                        "type": "object"
                      },
                      "type": "array"
                    },
                    "generated_at": {
                      "format": "date-time",
                      "type": "string"
                    },
                    "limitations": {
                      "items": {
                        "type": "string"
                      },
                      "type": "array"
                    },
                    "lint_profile": {
                      "enum": [
                        "api",
                        "mcp",
                        "x402"
                      ],
                      "type": "string"
                    },
                    "metadata": {
                      "additionalProperties": false,
                      "properties": {
                        "paymentStatus": {
                          "type": "string"
                        }
                      },
                      "required": [
                        "paymentStatus"
                      ],
                      "type": "object"
                    },
                    "pricePaid": {
                      "type": "object"
                    },
                    "product_family": {
                      "enum": [
                        "agent_expansion_v3_api"
                      ]
                    },
                    "recommended_next_action": {
                      "type": "string"
                    },
                    "request_id": {
                      "type": "string"
                    },
                    "risk_flags": {
                      "items": {
                        "type": "string"
                      },
                      "type": "array"
                    },
                    "score": {
                      "maximum": 100,
                      "minimum": 0,
                      "type": "number"
                    },
                    "summary": {
                      "type": "string"
                    },
                    "tool_id": {
                      "enum": [
                        "x402_response_contract_linter"
                      ]
                    },
                    "version": {
                      "enum": [
                        "v0.1"
                      ]
                    },
                    "x402_request_id": {
                      "type": "string"
                    }
                  },
                  "required": [
                    "product_family",
                    "endpoint",
                    "tool_id",
                    "version",
                    "request_id",
                    "x402_request_id",
                    "generated_at",
                    "decision",
                    "confidence",
                    "summary",
                    "risk_flags",
                    "recommended_next_action",
                    "limitations",
                    "metadata",
                    "lint_profile",
                    "score",
                    "findings"
                  ],
                  "type": "object"
                },
                "type": {
                  "enum": [
                    "json"
                  ],
                  "type": "string"
                }
              },
              "required": [
                "type"
              ],
              "type": "object"
            }
          },
          "required": [
            "input"
          ],
          "type": "object"
        }
      }
    }
  },
  "liveness": {
    "reliability": null
  },
  "verified": false,
  "featured": false,
  "provider": {
    "host": "api.blockchainmoneymap.com",
    "manifest_name": "api.blockchainmoneymap.com",
    "source": "cdp-mirror",
    "source_manifest_url": "https://api.cdp.coinbase.com/platform/v2/x402/discovery/resources",
    "submitted_at": "2026-10-14T01:15:01.050Z"
  },
  "exampleResponse": {
    "example": {
      "confidence": "high",
      "decision": "pass",
      "endpoint": "x402-response-contract-linter",
      "findings": [
        {}
      ],
      "generated_at": "2026-01-01T00:00:00Z",
      "limitations": [
        "string"
      ],
      "lint_profile": "api",
      "metadata": {
        "paymentStatus": "string"
      },
      "pricePaid": {},
      "product_family": "agent_expansion_v3_api",
      "recommended_next_action": "string",
      "request_id": "string",
      "risk_flags": [
        "string"
      ],
      "score": 0,
      "summary": "string",
      "tool_id": "x402_response_contract_linter",
      "version": "v0.1",
      "x402_request_id": "string"
    },
    "type": "json"
  }
}