{
  "name": "Toffu",
  "description": "AI marketing agent connected to a company's ad accounts (Google, Meta, LinkedIn), analytics, content channels, brand, and marketing memory. Delegate marketing tasks: pull performance data, change campaigns, create content, build reports, run strategy.",
  "documentation": "https://toffu.ai/agents",
  "human_page": "https://toffu.ai/agents",
  "llms_txt": "https://toffu.ai/llms.txt",
  "signup": {
    "description": "Create a real, persistent, claimable Toffu company and get an MCP API key with no human in the loop. The returned api_key is a Bearer token for the MCP endpoint.",
    "method": "POST",
    "url": "https://mcp.toffu.ai/agent/signup",
    "auth": "none",
    "body": {
      "company_name": "string, optional — the company you're onboarding",
      "email": "string, optional — a NEW email to make the account human-claimable later; must not already have a Toffu account. Omit for an anonymous machine-owned account.",
      "agent_name": "string, optional — label for the calling agent"
    },
    "returns": {
      "api_key": "Bearer token for the MCP endpoint",
      "company_id": "the created company id",
      "claim_url": "where a human signs in to claim (only when email is supplied)"
    }
  },
  "mcp": {
    "endpoint": "https://mcp.toffu.ai/mcp",
    "transport": "streamable-http",
    "authorization": "Bearer <api_key from signup>",
    "agent_card": "https://mcp.toffu.ai/.well-known/agent.json",
    "oauth_authorization_server": "https://mcp.toffu.ai/.well-known/oauth-authorization-server",
    "alternative_auth": "OAuth 2.1 + PKCE with Dynamic Client Registration (requires a human consent click, so /agent/signup is the no-human path)."
  },
  "tools": [
    {"name": "send_message", "description": "Delegate any marketing task or question to Toffu."},
    {"name": "query_campaign_performance", "description": "Campaign performance across all connected ad platforms."},
    {"name": "creative_report", "description": "Meta Ads creative performance report."},
    {"name": "propose_change", "description": "Propose a campaign change."},
    {"name": "apply_change", "description": "Apply an approved change."},
    {"name": "undo_change", "description": "Undo an applied change."},
    {"name": "fetch_memory", "description": "Search the company's marketing memory."}
  ]
}
