{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://mcpforgtm.com/data/schema.json",
  "title": "StackMCP (mcpforgtm.com) data files",
  "description": "Schemas for /data/tools.json ($defs.toolsFile), /data/recipes.json ($defs.recipesFile) and /data/resources.json ($defs.resourcesFile).",
  "$defs": {
    "tool": {
      "type": "object",
      "additionalProperties": false,
      "properties": {
        "name": {
          "type": "string"
        },
        "category": {
          "enum": [
            "AI Research",
            "AI Video",
            "AI Voice & Agents",
            "Agreements & E-Signature",
            "CRM & Deal Management",
            "CRM & Marketing",
            "CRM Data Quality",
            "Cold Email & Outreach",
            "Company Intelligence",
            "Conversation Intelligence",
            "Customer Support",
            "Data Enrichment & Orchestration",
            "Databases & Ops",
            "Design & Creative",
            "Email & Calendar",
            "Email Sending",
            "Email Verification",
            "Event Marketing",
            "Forms & Surveys",
            "Government Bids & Capture",
            "Influencer Marketing",
            "Intent & Company Signals",
            "Knowledge & Workflow",
            "LinkedIn Automation & Scraping",
            "Local Marketing",
            "MCP & Agent Tooling",
            "Market Research",
            "Marketing Attribution & Analytics",
            "Marketing Sites & CMS",
            "Partner Ecosystem",
            "Payments & Billing",
            "Prospecting & Lead Data",
            "SMS & Email Marketing",
            "Sales Enablement",
            "Sales Engagement",
            "Scheduling & Booking",
            "Scraping & Extraction",
            "Team Messaging",
            "Technographics",
            "Workflow Automation"
          ]
        },
        "mcp_endpoint": {
          "type": [
            "string",
            "null"
          ],
          "pattern": "^https?://",
          "description": "Hosted MCP endpoint. Null for local or unlisted servers."
        },
        "docs_url": {
          "type": [
            "string",
            "null"
          ],
          "pattern": "^https://",
          "description": "The vendor's own MCP docs."
        },
        "auth_type": {
          "type": "string"
        },
        "transport": {
          "type": "string"
        },
        "notable_tools": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "description": "Tools the server exposes, as the vendor's docs describe them."
        },
        "last_verified": {
          "type": "string",
          "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
          "description": "Date the listing was last checked against the vendor's docs."
        },
        "added": {
          "type": "string",
          "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
          "description": "Day this listing first appeared. The changelog row uses this date, not last_verified."
        },
        "notes": {
          "type": "string",
          "description": "Research notes: what was checked and how."
        },
        "listing_type": {
          "enum": [
            "no_official_server",
            "official",
            "site_server"
          ],
          "description": "no_official_server rows track high-demand tools without an official server. site_server is this site's own MCP server, counted apart from the listings."
        },
        "roles": {
          "type": "array",
          "items": {
            "enum": [
              "ae",
              "cs",
              "leader",
              "marketing",
              "revops",
              "sdr"
            ]
          },
          "description": "Editorial: which GTM roles it's useful for."
        },
        "clients": {
          "type": "object",
          "required": [
            "claude_ai",
            "chatgpt",
            "claude_code",
            "cursor",
            "copilot"
          ],
          "additionalProperties": false,
          "properties": {
            "claude_ai": {
              "enum": [
                "no",
                "unknown",
                "yes"
              ]
            },
            "chatgpt": {
              "enum": [
                "no",
                "unknown",
                "yes"
              ]
            },
            "claude_code": {
              "enum": [
                "no",
                "unknown",
                "yes"
              ]
            },
            "cursor": {
              "enum": [
                "no",
                "unknown",
                "yes"
              ]
            },
            "copilot": {
              "enum": [
                "no",
                "unknown",
                "yes"
              ]
            },
            "setup_notes": {
              "type": "string"
            }
          },
          "description": "Apps the vendor's docs confirm, plus setup notes from those docs."
        },
        "clients_source": {
          "type": [
            "string",
            "object",
            "null"
          ],
          "pattern": "^https://",
          "additionalProperties": {
            "type": "string",
            "pattern": "^https://"
          },
          "description": "Vendor page the value came from: one URL, or one URL per sub-field. Null when nothing is confirmed."
        },
        "clients_checked": {
          "type": [
            "string",
            "null"
          ],
          "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
          "description": "Date the source was read. Null when nothing is confirmed."
        },
        "chatgpt_plugin": {
          "type": "object",
          "additionalProperties": false,
          "required": [
            "source",
            "checked"
          ],
          "properties": {
            "source": {
              "type": "string",
              "pattern": "^https://"
            },
            "checked": {
              "type": "string",
              "pattern": "^\\d{4}-\\d{2}-\\d{2}$"
            }
          },
          "description": "Vendor-confirmed ChatGPT plugin, app, or directory listing. Omitted when not confirmed."
        },
        "access": {
          "enum": [
            "read_only",
            "read_write",
            "unknown"
          ],
          "description": "read_only: no documented tool changes data."
        },
        "access_source": {
          "type": [
            "string",
            "object",
            "null"
          ],
          "pattern": "^https://",
          "additionalProperties": {
            "type": "string",
            "pattern": "^https://"
          },
          "description": "Vendor page the value came from: one URL, or one URL per sub-field. Null when nothing is confirmed."
        },
        "access_checked": {
          "type": [
            "string",
            "null"
          ],
          "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
          "description": "Date the source was read. Null when nothing is confirmed."
        },
        "write_actions": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "description": "What the server can change, from the vendor's docs."
        },
        "write_actions_source": {
          "type": [
            "string",
            "object",
            "null"
          ],
          "pattern": "^https://",
          "additionalProperties": {
            "type": "string",
            "pattern": "^https://"
          },
          "description": "Vendor page the value came from: one URL, or one URL per sub-field. Null when nothing is confirmed."
        },
        "write_actions_checked": {
          "type": [
            "string",
            "null"
          ],
          "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
          "description": "Date the source was read. Null when nothing is confirmed."
        },
        "credits": {
          "enum": [
            "none",
            "per_call",
            "some_tools",
            "unknown"
          ],
          "description": "Whether MCP calls use credits or paid usage."
        },
        "credits_source": {
          "type": [
            "string",
            "object",
            "null"
          ],
          "pattern": "^https://",
          "additionalProperties": {
            "type": "string",
            "pattern": "^https://"
          },
          "description": "Vendor page the value came from: one URL, or one URL per sub-field. Null when nothing is confirmed."
        },
        "credits_checked": {
          "type": [
            "string",
            "null"
          ],
          "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
          "description": "Date the source was read. Null when nothing is confirmed."
        },
        "credits_note": {
          "type": "string"
        },
        "credits_kind": {
          "enum": [
            "credits",
            "paid_usage",
            "usage_limit",
            ""
          ],
          "description": "What a metered call draws on: the vendor's credits, paid usage, or a usage limit such as an API quota. Empty unless credits is per_call or some_tools. Read from credits_note and credits_source."
        },
        "plan_required": {
          "type": "string",
          "description": "Minimum vendor plan, in the vendor's words, or unknown."
        },
        "plan_required_source": {
          "type": [
            "string",
            "object",
            "null"
          ],
          "pattern": "^https://",
          "additionalProperties": {
            "type": "string",
            "pattern": "^https://"
          },
          "description": "Vendor page the value came from: one URL, or one URL per sub-field. Null when nothing is confirmed."
        },
        "plan_required_checked": {
          "type": [
            "string",
            "null"
          ],
          "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
          "description": "Date the source was read. Null when nothing is confirmed."
        },
        "plan_tier": {
          "enum": [
            "any",
            "enterprise",
            "free",
            "paid",
            "preview",
            "unknown"
          ],
          "description": "Filterable summary of plan_required."
        },
        "admin_controls": {
          "type": "object",
          "required": [
            "org_approval",
            "scope_limits",
            "tool_toggles",
            "audit_log"
          ],
          "additionalProperties": false,
          "properties": {
            "org_approval": {
              "enum": [
                "no",
                "unknown",
                "yes"
              ]
            },
            "scope_limits": {
              "enum": [
                "no",
                "unknown",
                "yes"
              ]
            },
            "tool_toggles": {
              "enum": [
                "no",
                "unknown",
                "yes"
              ]
            },
            "audit_log": {
              "enum": [
                "no",
                "unknown",
                "yes"
              ]
            }
          },
          "description": "Controls the vendor provides. Settings in Claude or ChatGPT don't count."
        },
        "admin_controls_source": {
          "type": [
            "string",
            "object",
            "null"
          ],
          "pattern": "^https://",
          "additionalProperties": {
            "type": "string",
            "pattern": "^https://"
          },
          "description": "Vendor page the value came from: one URL, or one URL per sub-field. Null when nothing is confirmed."
        },
        "admin_controls_checked": {
          "type": [
            "string",
            "null"
          ],
          "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
          "description": "Date the source was read. Null when nothing is confirmed."
        },
        "setup": {
          "enum": [
            "admin_or_it",
            "developer",
            "self_serve",
            "unknown"
          ],
          "description": "Who has to act before a rep can connect it."
        },
        "setup_source": {
          "type": [
            "string",
            "object",
            "null"
          ],
          "pattern": "^https://",
          "additionalProperties": {
            "type": "string",
            "pattern": "^https://"
          },
          "description": "Vendor page the value came from: one URL, or one URL per sub-field. Null when nothing is confirmed."
        },
        "setup_checked": {
          "type": [
            "string",
            "null"
          ],
          "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
          "description": "Date the source was read. Null when nothing is confirmed."
        },
        "slug": {
          "type": "string"
        },
        "url": {
          "type": "string",
          "pattern": "^https://",
          "description": "The tool's page on mcpforgtm.com."
        },
        "markdown_url": {
          "type": "string",
          "pattern": "^https://",
          "description": "The same page as Markdown."
        },
        "category_group": {
          "enum": [
            "Agent tooling",
            "Agreements",
            "Automation",
            "CRM",
            "CRM Data Quality",
            "Conversations",
            "Data",
            "Government Bids",
            "Influencer Marketing",
            "Marketing",
            "Outreach",
            "Research",
            "Revenue",
            "Signals",
            "Workspace"
          ]
        },
        "variant_of": {
          "type": [
            "string",
            "null"
          ],
          "description": "Main listing name for EU, local or developer-portal variants."
        },
        "hosting": {
          "enum": [
            "remote",
            "local",
            "other"
          ]
        },
        "probe_limit": {
          "enum": [
            "per_account",
            "unpublished"
          ],
          "description": "Why there is no shared URL to probe: per_account (each account has its own URL) or unpublished (the vendor has not published one). Omitted when the listing has an endpoint or a local package."
        },
        "stdio": {
          "type": "object",
          "additionalProperties": false,
          "required": [
            "package",
            "args"
          ],
          "properties": {
            "package": {
              "type": "string",
              "description": "npm package the daily check installs and starts over stdio. No API key is sent."
            },
            "args": {
              "type": "array",
              "items": {
                "type": "string"
              },
              "description": "Arguments passed to the package bin. Never an API key."
            }
          },
          "description": "Local stdio package. Omitted unless this listing is local."
        },
        "credits_label": {
          "type": [
            "string",
            "null"
          ],
          "description": "The site's credits wording for this listing, from credits and credits_kind. Null when credit use isn't confirmed."
        },
        "watch_out": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "description": "Plain-language cautions generated only from the sourced fields above (decision D7)."
        },
        "status": {
          "type": [
            "object",
            "null"
          ],
          "required": [
            "status",
            "checked_at"
          ],
          "additionalProperties": false,
          "properties": {
            "status": {
              "enum": [
                "down",
                "failed",
                "needs_key",
                "unknown",
                "up",
                "up_auth"
              ]
            },
            "http": {
              "type": [
                "integer",
                "null"
              ]
            },
            "checked_at": {
              "type": "string"
            },
            "detail": {
              "type": "string"
            },
            "tool_count": {
              "type": "integer"
            }
          },
          "description": "Latest daily check. Null when this listing has not been checked yet."
        }
      },
      "required": [
        "name",
        "category",
        "mcp_endpoint",
        "docs_url",
        "auth_type",
        "transport",
        "notable_tools",
        "last_verified",
        "added",
        "notes",
        "listing_type",
        "roles",
        "clients",
        "clients_source",
        "clients_checked",
        "access",
        "access_source",
        "access_checked",
        "write_actions",
        "write_actions_source",
        "write_actions_checked",
        "credits",
        "credits_source",
        "credits_checked",
        "credits_note",
        "credits_kind",
        "plan_required",
        "plan_required_source",
        "plan_required_checked",
        "plan_tier",
        "admin_controls",
        "admin_controls_source",
        "admin_controls_checked",
        "setup",
        "setup_source",
        "setup_checked",
        "slug",
        "url",
        "markdown_url",
        "category_group",
        "variant_of",
        "hosting",
        "credits_label",
        "watch_out",
        "status"
      ]
    },
    "recipe": {
      "type": "object",
      "additionalProperties": false,
      "properties": {
        "slug": {
          "type": "string"
        },
        "title": {
          "type": "string"
        },
        "short": {
          "type": "string"
        },
        "url": {
          "type": "string",
          "pattern": "^https://"
        },
        "markdown_url": {
          "type": "string",
          "pattern": "^https://",
          "description": "Project-instructions file: goal, tools, guardrails, steps, expected output."
        },
        "for": {
          "type": "string"
        },
        "roles": {
          "type": "array",
          "items": {
            "enum": [
              "ae",
              "cs",
              "leader",
              "marketing",
              "revops",
              "sdr"
            ]
          }
        },
        "difficulty": {
          "enum": [
            "advanced",
            "beginner",
            "intermediate"
          ]
        },
        "time": {
          "type": "string"
        },
        "servers": {
          "type": "array",
          "items": {
            "type": "object",
            "required": [
              "name",
              "slug",
              "access",
              "credits"
            ],
            "additionalProperties": false,
            "properties": {
              "name": {
                "type": "string"
              },
              "slug": {
                "type": "string"
              },
              "access": {
                "enum": [
                  "read_only",
                  "read_write",
                  "unknown"
                ]
              },
              "credits": {
                "enum": [
                  "none",
                  "per_call",
                  "some_tools",
                  "unknown"
                ]
              }
            }
          }
        },
        "works_in": {
          "type": "array",
          "items": {
            "enum": [
              "claude_ai",
              "chatgpt",
              "claude_code",
              "cursor",
              "copilot"
            ]
          },
          "description": "Apps that every server in the recipe confirms."
        },
        "writes": {
          "type": "boolean",
          "description": "True when a step writes, sends or spends after the user approves it."
        },
        "added": {
          "type": [
            "string",
            "null"
          ],
          "pattern": "^\\d{4}-\\d{2}-\\d{2}$"
        },
        "featured": {
          "type": "boolean"
        }
      },
      "required": [
        "slug",
        "title",
        "short",
        "url",
        "markdown_url",
        "for",
        "roles",
        "difficulty",
        "time",
        "servers",
        "works_in",
        "writes",
        "added",
        "featured"
      ]
    },
    "resource": {
      "type": "object",
      "additionalProperties": false,
      "description": "A hand-picked link. Editorial, never a source for a listing fact.",
      "properties": {
        "title": {
          "type": "string"
        },
        "url": {
          "type": "string",
          "pattern": "^https://"
        },
        "type": {
          "enum": [
            "article",
            "guide",
            "podcast",
            "thread",
            "video"
          ]
        },
        "author_or_outlet": {
          "type": "string"
        },
        "vendor": {
          "type": [
            "string",
            "null"
          ],
          "description": "The vendor's name when a software vendor wrote it, else null."
        },
        "published": {
          "type": "string",
          "pattern": "^\\d{4}-\\d{2}-\\d{2}$"
        },
        "added": {
          "type": "string",
          "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
          "description": "Date it was added to the library."
        },
        "topics": {
          "type": "array",
          "items": {
            "enum": [
              "agent-safety",
              "ai-for-marketing",
              "ai-in-the-crm",
              "ai-prospecting",
              "mcp-and-connectors",
              "using-ai-agents"
            ]
          }
        },
        "roles": {
          "type": "array",
          "items": {
            "enum": [
              "ae",
              "cs",
              "leader",
              "marketing",
              "revops",
              "sdr"
            ]
          }
        },
        "why": {
          "type": "string",
          "description": "One sentence in our own words on why it's useful."
        },
        "tools": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "description": "Slugs of listed tools it covers."
        },
        "tool_pages": {
          "type": "array",
          "items": {
            "type": "string",
            "pattern": "^https://"
          }
        }
      },
      "required": [
        "title",
        "url",
        "type",
        "author_or_outlet",
        "vendor",
        "published",
        "added",
        "topics",
        "roles",
        "why",
        "tools",
        "tool_pages"
      ]
    },
    "toolsFile": {
      "type": "object",
      "additionalProperties": false,
      "properties": {
        "schema_version": {
          "type": "string"
        },
        "schema_url": {
          "type": "string",
          "pattern": "^https://"
        },
        "generated_at": {
          "type": "string",
          "pattern": "^\\d{4}-\\d{2}-\\d{2}$"
        },
        "site": {
          "type": "string",
          "pattern": "^https://"
        },
        "license": {
          "type": "string",
          "pattern": "^https://"
        },
        "attribution": {
          "type": "string"
        },
        "rules": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "description": "Rules for agents that use this data."
        },
        "data_as_of": {
          "type": "string",
          "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
          "description": "Newest last_verified date across the listings. Older listings may have been checked earlier."
        },
        "methodology": {
          "type": "string"
        },
        "counts": {
          "type": "object",
          "required": [
            "listings",
            "products",
            "hosted",
            "tracked_without_official_server"
          ],
          "additionalProperties": false,
          "properties": {
            "listings": {
              "type": "integer"
            },
            "products": {
              "type": "integer"
            },
            "hosted": {
              "type": "integer"
            },
            "tracked_without_official_server": {
              "type": "integer"
            }
          }
        },
        "labels": {
          "type": "object",
          "description": "Display labels for each enum value, as the site shows them."
        },
        "tools": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/tool"
          }
        }
      }
    },
    "recipesFile": {
      "type": "object",
      "additionalProperties": false,
      "properties": {
        "schema_version": {
          "type": "string"
        },
        "schema_url": {
          "type": "string",
          "pattern": "^https://"
        },
        "generated_at": {
          "type": "string",
          "pattern": "^\\d{4}-\\d{2}-\\d{2}$"
        },
        "site": {
          "type": "string",
          "pattern": "^https://"
        },
        "license": {
          "type": "string",
          "pattern": "^https://"
        },
        "attribution": {
          "type": "string"
        },
        "rules": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "description": "Rules for agents that use this data."
        },
        "count": {
          "type": "integer"
        },
        "template_url": {
          "type": "string",
          "pattern": "^https://"
        },
        "recipes": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/recipe"
          }
        }
      }
    },
    "resourcesFile": {
      "type": "object",
      "additionalProperties": false,
      "properties": {
        "schema_version": {
          "type": "string"
        },
        "schema_url": {
          "type": "string",
          "pattern": "^https://"
        },
        "generated_at": {
          "type": "string",
          "pattern": "^\\d{4}-\\d{2}-\\d{2}$"
        },
        "site": {
          "type": "string",
          "pattern": "^https://"
        },
        "license": {
          "type": "string",
          "pattern": "^https://"
        },
        "attribution": {
          "type": "string"
        },
        "rules": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "description": "Rules for agents that use this data."
        },
        "count": {
          "type": "integer"
        },
        "page_url": {
          "type": "string",
          "pattern": "^https://"
        },
        "note": {
          "type": "string"
        },
        "labels": {
          "type": "object",
          "description": "Display labels for type, topics and roles."
        },
        "resources": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/resource"
          }
        }
      }
    }
  }
}
