{
 "type": "mcp",
 "name": "agent4.io",
 "registry_name": "io.agent4/agent4-tenant",
 "also_published_as": [],
 "description": "Build and run grounded business agents over MCP: agents, knowledge bases, skills, Storylines.",
 "url": "https://api.agent4.io/v1/mcp",
 "transport": "streamable-http",
 "website": "https://agent4.io",
 "repo": null,
 "ours": false,
 "publisher": "io.agent4",
 "categories": [
  "agent-infra",
  "dev-tools",
  "business"
 ],
 "tests": {
  "tested_at": "2026-11-25T09:15:55.820Z",
  "http_status": 200,
  "initialize": "ok",
  "tools_list": "ok",
  "tool_count": 50,
  "latency_ms": 331,
  "tools_list_ms": 440,
  "protocol_version": "2025-06-18",
  "oauth_discovery": null,
  "server_info": {
   "name": "agent4-io",
   "version": ""
  },
  "error": null
 },
 "signals": {
  "github_stars": null,
  "license": null,
  "repo_pushed_at": null,
  "repo_archived": null,
  "npm_downloads_30d": null,
  "adoption_note": null,
  "registry_updated_at": "2026-07-30T23:59:24.588172Z",
  "registry_published_at": "2026-07-30T23:59:24.588172Z",
  "pypi_downloads": "missing"
 },
 "checks": {
  "latency": 98.9,
  "tool_docs": 100,
  "breadth": 100,
  "freshness": 50,
  "license": "missing",
  "adoption": "missing",
  "protocol": 100
 },
 "score": 52.3,
 "missing": [
  "license",
  "adoption"
 ],
 "tools": [
  "list_agents",
  "get_agent",
  "create_agent",
  "update_agent",
  "list_tools",
  "list_mcp_servers",
  "create_share",
  "list_shares",
  "configure_share",
  "set_pwa_branding",
  "set_custom_domain",
  "list_skills",
  "get_skill",
  "create_skill",
  "update_skill",
  "test_skill_trigger",
  "list_knowledge_bases",
  "get_knowledge_base",
  "create_knowledge_base",
  "update_knowledge_base",
  "add_knowledge_text",
  "add_knowledge_file",
  "search_knowledge_base",
  "build_knowledge_index",
  "get_knowledge_index",
  "patch_knowledge_index",
  "improve_prompt",
  "diagnose_prompt",
  "test_planner_trigger",
  "preview_plan",
  "usage_stats",
  "tenant_info",
  "search_agent4_docs",
  "list_end_users",
  "get_end_user",
  "list_user_sessions",
  "list_page_contexts",
  "upsert_page_context",
  "resolve_page_context",
  "page_context_stats",
  "list_storylines",
  "get_storyline",
  "create_storyline",
  "update_storyline",
  "validate_storyline",
  "publish_storyline",
  "unpublish_storyline",
  "clone_storyline",
  "export_storyline",
  "import_storyline"
 ],
 "tool_docs": [
  {
   "n": "list_agents",
   "d": "List all agents in this tenant (name + published state)."
  },
  {
   "n": "get_agent",
   "d": "Get one agent's full configuration (soul/task/tools/skills/knowledge_bases/model/params)."
  },
  {
   "n": "create_agent",
   "d": "Create an agent. `name` is lower-cased on save — it is a key, not a display name. soul = persona/identity; task = duties and boundaries; tools = tool-name white"
  },
  {
   "n": "update_agent",
   "d": "Update **part** of an agent — fields you don't pass stay as they are. ⚠️ List-field semantics, don't mix them up: `tools=[...]` / `skills=[...]` / `knowledge_ba"
  },
  {
   "n": "list_tools",
   "d": "List tool names assignable to agents, with their descriptions (incl. the tenant's connected MCP tools)."
  },
  {
   "n": "list_mcp_servers",
   "d": "List the MCP servers connected in this tenant's tool library (read-only; secret fields omitted)."
  },
  {
   "n": "create_share",
   "d": "Create a **share / integration entry point** for an agent — this is how end users actually reach it. **`published=True` only means \"visible\", not \"reachable\"**:"
  },
  {
   "n": "list_shares",
   "d": "List an agent's shares (token / label / disabled / chat link / embed URL / appearance config). When the top-level `pretty_url` is non-empty it is the preferred "
  },
  {
   "n": "configure_share",
   "d": "Configure this share — its name and its **appearance** — fields you don't pass stay as they are (server-side partial merge). - `label`: the name at the top of t"
  },
  {
   "n": "set_pwa_branding",
   "d": "Configure a specific **agent's** PWA branding and install experience (applies to that agent's `/s/` standalone chat pages — what gets installed to the home scre"
  },
  {
   "n": "set_custom_domain",
   "d": "Bind the client's own domain to this tenant's chat pages: `https://chat.client.com/` serves the tenant's branded page (or a specific agent's chat), the address "
  },
  {
   "n": "list_skills",
   "d": "List this tenant's skills."
  },
  {
   "n": "get_skill",
   "d": "Get one skill's full content (including the complete instructions text)."
  },
  {
   "n": "create_skill",
   "d": "Create a skill. description = \"when to use\" (goes into the system prompt, keep it short); instructions = the detailed guide (fetched on demand via load_skill). "
  },
  {
   "n": "update_skill",
   "d": "Update part of a skill — fields you don't pass stay as they are (server-side PATCH merge, no GET+PUT round-trip). ⚠️ `tools=[...]` is **full-list replacement**;"
  },
  {
   "n": "test_skill_trigger",
   "d": "Reality-check whether your prompts actually trigger tool calls (dry-run) — run this after writing/changing a skill instead of counting corpses in production. Re"
  },
  {
   "n": "list_knowledge_bases",
   "d": "List this tenant's knowledge bases (with doc/chunk counts and relevance cutoff)."
  },
  {
   "n": "get_knowledge_base",
   "d": "Get one knowledge base's configuration (including the full instructions text shown to the model)."
  },
  {
   "n": "create_knowledge_base",
   "d": "Create a knowledge base. **Write `description` — it is what routes questions to this base.** Before each answer the platform reads every attached base's `descri"
  },
  {
   "n": "update_knowledge_base",
   "d": "Update part of a knowledge base — fields you don't pass stay as they are (server-side PATCH merge)."
  },
  {
   "n": "add_knowledge_text",
   "d": "Add a **text** document to a knowledge base (chunking + embedding happen synchronously; returns the real chunk count). For **local files** (pdf/docx…) see `add_"
  },
  {
   "n": "add_knowledge_file",
   "d": "Add a local file's content to a knowledge base (txt/md/html/pdf/docx). **This MCP runs on the platform server and cannot read paths on YOUR machine.** For text "
  },
  {
   "n": "search_knowledge_base",
   "d": "Search this knowledge base; returns matching chunks with distances. Uses **exactly the same retrieval path as real conversations** — use it to validate the cuto"
  },
  {
   "n": "build_knowledge_index",
   "d": "Build (or rebuild) the structured index for a knowledge base — the second leg beside vector search. Vector search answers \"what does this passage say\". It **can"
  },
  {
   "n": "get_knowledge_index",
   "d": "Show the structured index profile: per column coverage, type, numeric range, top values, warnings. **The warnings are the point.** On a real 4,500-document cata"
  },
  {
   "n": "patch_knowledge_index",
   "d": "Change the structured index schema from one sentence of plain language. Example requests: \"also track the author so users can find other books by them\", \"I want"
  },
  {
   "n": "improve_prompt",
   "d": "Rewrite a field's text to work better as an AI system prompt; returns the improved text. field ∈ persona | task | greeting | storyline_task | storyline_opening "
  },
  {
   "n": "diagnose_prompt",
   "d": "Read a field and return a list of **specific** improvement suggestions (string array). field: same values as improve_prompt. current = the text to diagnose (req"
  },
  {
   "n": "test_planner_trigger",
   "d": "Dry-run the Dynamic Planner's escalation judge: would these messages be offered a step-by-step plan? Use it after editing the agent's `task`, since the task tex"
  },
  {
   "n": "preview_plan",
   "d": "Generate a plan for a goal and return it for review **without persisting anything** — no temporary storyline, no enrollment, no user affected. Use it to inspect"
  },
  {
   "n": "usage_stats",
   "d": "Usage statistics. group ∈ total | agent | user | space | day | model. Metadata only — token counts and event counts, never any conversation content. Use group=\""
  },
  {
   "n": "tenant_info",
   "d": "This tenant's basic info and quota (plus custom-domain binding status, if any)."
  },
  {
   "n": "search_agent4_docs",
   "d": "Search agent4.io's own product docs — concepts (what a thing *is*) and cookbook recipes (which tool to *call*). Use when you're unsure how an agent4.io feature "
  },
  {
   "n": "list_end_users",
   "d": "List this tenant's **end users** (the people chatting with your agents) — roster only, never any conversation content. Each user carries: display name, login me"
  },
  {
   "n": "get_end_user",
   "d": "Get one end user's detail: basic profile (name, contact email/phone, city, timezone) + their spaces. Never any conversation content. Carries a `console_url` to "
  },
  {
   "n": "list_user_sessions",
   "d": "List one end user's **sessions** — metadata only: agent, title (AI summary), message count, tokens, timestamps. **Message bodies are not returned.** Transcripts"
  },
  {
   "n": "list_page_contexts",
   "d": "List all page playbooks of this tenant (with match rules, greeting mode, position)."
  },
  {
   "n": "upsert_page_context",
   "d": "Create or fully replace a page playbook. `context` is the page background the **server** injects for the agent — write \"who lands on this page, what they are de"
  },
  {
   "n": "resolve_page_context",
   "d": "Given a URL (or key), show which playbook it resolves to — always verify after writing a match rule. Globs make it easy to write rules that \"look right but neve"
  },
  {
   "n": "page_context_stats",
   "d": "Open counts and suggested-question click counts per playbook — find copy nobody clicks."
  },
  {
   "n": "list_storylines",
   "d": "List this tenant's storylines (optionally filtered by agent). Includes state, version, default flag."
  },
  {
   "n": "get_storyline",
   "d": "Get one storyline's full definition (whole graph + profile_schema + top-level fields)."
  },
  {
   "n": "create_storyline",
   "d": "Create a storyline draft. After creating, self-check with validate_storyline, then publish_storyline. user_visibility — what the end user sees of their own run:"
  },
  {
   "n": "update_storyline",
   "d": "Update **part** of a storyline draft — fields you don't pass stay as they are (GET-then-merge on top of a full PUT underneath). concurrency: \"user\" = progress b"
  },
  {
   "n": "validate_storyline",
   "d": "Validate the storyline graph (entry / dead ends / unreachable / dangling / cross-line targets / rule dimensions). Returns {ok, errors}. Must pass before publish"
  },
  {
   "n": "publish_storyline",
   "d": "Publish a storyline: validates first (blocking errors → 422), then freezes an immutable version and marks it published."
  },
  {
   "n": "unpublish_storyline",
   "d": "Unpublish (archive): no more auto-enrolment; in-flight users silently degrade to the plain agent on their next turn (progress kept — re-publishing resumes it)."
  },
  {
   "n": "clone_storyline",
   "d": "Clone a storyline into a new draft (new key, unpublished, doesn't claim default, no chain pointer) for tweaking."
  },
  {
   "n": "export_storyline",
   "d": "Export a portable storyline JSON (schema_version + definition; no tenant/version/id) for backup, migration or re-import."
  },
  {
   "n": "import_storyline",
   "d": "Import an exported storyline JSON as a draft. **Artifacts like \"generate a storyline from a novel / source material\" land here.** payload = the structure return"
  }
 ],
 "passed": true,
 "auth_required": false,
 "fail_reason": null,
 "category_confidence": 0.967,
 "category_source": "hand",
 "category_confirmed": true,
 "category_scores": {
  "agent-infra": 1,
  "docs": 0.65,
  "real-estate": 0.52,
  "dev-tools": 0.24
 },
 "subcategory": "orchestration",
 "id": "io-agent4-agent4-tenant",
 "listing": {
  "plan": "curated",
  "fee_usd": null,
  "note": "Listing fees are not active. Placement is earned only by test results."
 },
 "search_keywords": "agent4io io agent4 agent4 tenant io.agent4/agent4-tenant io agent4 agent4-tenant ioagent4agent4tenant api.agent4.io api agent4 io api agent4 io agent4",
 "status": "listed",
 "first_seen": "2026-11-24",
 "uptime_days": "3/3",
 "override": {
  "category": "agent-infra",
  "subcategory": "orchestration",
  "note": "hand label round 2"
 },
 "liveness": {
  "last_handshake": "2026-11-25T09:15:55.820Z",
  "tool_list_sha256": "fbb4a4b4f5f9360decc8609b06226d5526ab8f683b247b4dc97948aa4a099fa0",
  "error_rate_7d": "missing",
  "window_days": 7,
  "signed": false,
  "note": "This directory already re-tests listings daily. A 7-day per-tool error history is not stored on the Free-plan Status DO, so error_rate_7d is missing until that history exists."
 },
 "fmf_paid": {
  "note": "Paid data only FMF Tools has, pay per call with x402 (Base USDC) or MPP (Tempo); no signup",
  "etsy_movers": {
   "what": "Today's top 20 Etsy shops by sales acceleration from the FMF Tools Etsy Pulse panel (no input)",
   "endpoint": "https://etsy-movers.fmf-x402.workers.dev/etsy/movers/today",
   "price_usd": 0.01,
   "example": "GET https://etsy-movers.fmf-x402.workers.dev/etsy/movers/today -> 402 challenge; pay, retry -> {shops:[...20]}",
   "mcp": "https://etsy-movers.fmf-x402.workers.dev/mcp"
  },
  "top_converters": [
   {
    "endpoint": "https://mpp-agent-data.fmf-x402.workers.dev/mpp/daily/onthisday-lang",
    "what": "On this day in another Wikipedia language",
    "price_usd": 0.002,
    "paid_calls_7d": 2
   },
   {
    "endpoint": "https://mpp-agent-data.fmf-x402.workers.dev/mpp/daily/onthisday",
    "what": "On this day + random fact",
    "price_usd": 0.002,
    "paid_calls_7d": 2
   },
   {
    "endpoint": "https://mpp-agent-data.fmf-x402.workers.dev/mpp/funny/holiday",
    "what": "Funny or unofficial holiday of the day",
    "price_usd": 0.002,
    "paid_calls_7d": 1
   },
   {
    "endpoint": "https://mpp-tools.fmf-x402.workers.dev/mpp/dns/lookup",
    "what": "DNS lookup (all record types)",
    "price_usd": 0.0005,
    "paid_calls_7d": 1
   }
  ],
  "top_converters_date": "2026-11-25",
  "recipes": {
   "what": "Which paid API to call for an agent task, ranked by receipt-verified outcomes",
   "endpoint": "https://agent-recipes.fmf-x402.workers.dev/mpp/recipes/find",
   "price_usd": 0.003
  }
 },
 "health": {
  "last_verified": "2026-11-25T09:15:55.820Z",
  "tool_count": 50,
  "latency_ms_daily_test": 331,
  "price_range_usd": null,
  "uptime_7d": 1,
  "uptime_30d": 1,
  "checks_7d": 2,
  "p50_latency_ms_7d": 303,
  "last_checked": "2026-11-25T09:15:55.820Z",
  "last_30_days": "............................1.",
  "history_since": "2026-11-25"
 },
 "install": "https://tools.fmf-x402.workers.dev/api/install/io-agent4-agent4-tenant",
 "maintainer_verified": false,
 "badge": {
  "svg": "https://tools.fmf-x402.workers.dev/badge/io-agent4-agent4-tenant.svg",
  "markdown": "[![FMF Tools: tested](https://tools.fmf-x402.workers.dev/badge/io-agent4-agent4-tenant.svg)](https://tools.fmf-x402.workers.dev/tool/io-agent4-agent4-tenant?ref=badge)"
 }
}