MCP reference: the router

One URL for everything: POST /api/mcp/pro. 11 tools. This page is generated from the server's own tools/list, and the example responses are real calls to the same handler, so it can't drift from the code.

Connection

Server instructions

Sent in initialize:

whoelse Pro: the "<Token> who else?" protocol (write it exactly like that, no comma). For anything local (466 intents: coffee, plumber, ride to the airport, apartments...) call search {q, city} first: it answers from the UNS v1.0 search engine (real places in dc, nyc, sf; AI helpers always labeled; ride prices are labeled "Estimate, not a quote"). Show its cards as returned. Call route with the user's words to find the section and its parsed slots; ask the user the missing questions in plain language; then call call_section {section, tool: "search", arguments} (or use that section's own server at /api/mcp/<section>). Browse the namespace read-only with ls (/, /ride, /ride/dc), describe (a section's slots, lanes, tools) and whois (owner_type human/business/ai + is_ai; no contact details). Show the base results first, then the who-else rows by lane. Rows marked example are example data, not real people. Posting needs the x-whoelse-client header. Never show percentages.

Tools

route · Route a request

read-only idempotent

Which wired section a request belongs to (free text or a "<Token> who else?" line), with that section's understand result. A big umbrella ask ("holiday in Mexico", "moving house", "wedding in June") comes back as routed:false with a `plan`: [{line, section|null, base, slots, ...}] and one question for the whole plan (see the plan tool). Unwired tokens come back with routed:false and, when the house app has the section, its link.

Input schema

ArgumentTypeRequiredNotes
textstringrequired
Raw inputSchema (JSON)
{
  "type": "object",
  "properties": {
    "text": {
      "type": "string"
    }
  },
  "required": [
    "text"
  ]
}

Example request

{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "route",
    "arguments": {
      "text": "Ride who else? to the airport tomorrow at 6am"
    }
  }
}
The same call with curl
curl -sX POST https://<api-host>/api/mcp/pro \
  -H "content-type: application/json" -H "accept: application/json, text/event-stream" \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"route","arguments":{"text":"Ride who else? to the airport tomorrow at 6am"}}}'

Example response (real output from the handler, shortened; example rows carry their own label)

{
  "routed": true,
  "section": "ride",
  "endpoint": "/api/mcp/ride",
  "display": "Ride who else?",
  "protocol": false,
  "via": {
    "stage": "grammar",
    "matched": [
      "ride",
      "airport"
    ],
    "fallback": {
      "enabled": false,
      "clef": false
    }
  },
  "search": {
    "tool": "search",
    "arguments": {
      "intent": "AIRPORT_TRANSFER",
      "when": "tomorrow"
    }
  },
  "intent": {
    "base": "AIRPORT_TRANSFER",
    "token": "AIRPORT RIDE",
    "label": "airport transfer",
    "family": "mobility",
    "emoji": "🚦"
  },
  "understand": {
    "section": "ride",
    "display": "Ride who else?",
    "token": "RIDE",
    "grammar": {
      "entry": "TAXI",
      "n": 137
    },
    "understood_by": "grammar",
    "slots": [
      {
        "key": "taxi-origin",
        "label": "From",
        "value": "current location",
        "source": "default"
      },
      {
        "key": "destination",
        "label": "To",
        "value": "airport",
        "source": "said"
      },
      "… 3 more"
    ],
    "house": [
      {
        "key": "when",
        "value": "tomorrow",
        "source": "said"
      },
      {
        "key": "near",
        "value": "near me",
        "source": "default"
      },
      "… 2 more"
    ],
    "said": [
      "destination",
      "departure",
      "… 1 more"
    ],
    "next": [
      {
        "key": "travelers",
        "label": "Riders",
        "q": "How many people are riding?",
        "values": [
          "1",
          "2",
          "… 3 more"
        ],
        "default": "1"
      },
      {
        "key": "preference",
        "label": "Priority",
        "q": "What matters most on this ride?",
        "values": [
          "fastest",
          "cheapest",
          "… 2 more"
        ],
        "default": "fastest"
      },
      "… 1 more"
    ],
    "sides": [
      {
        "side_id": "RIDE.rider",
        "role": "wants",
        "label": "Need a ride",
        "responders": [
          "person"
        ]
      },
      {
        "side_id": "RIDE.driver",
        "role": "does",
        "label": "Driving",
        "responders": [
          "person",
          "business"
        ]
      },
      "… 1 more"
    ],
    "card": {
      "query": "Ride who else?",
      "grammar": "TAXI who else?",
      "kv": [
        "taxi-origin=current location",
        "destination=airport",
        "… 7 more"
      ]
    },
    "params": {
      "destination": "airport",
      "departure": "specific time",
      "taxi-origin": "current location",
      "travelers": "1",
      "preference": "fastest",
      "when": "tomorrow",
      "near": "near me",
      "side": "everyone",
      "lanes": "person,business,agent"
    },
    "detail": {
      "departure": "tomorrow 6:00 AM"
    }
  }
}
Response shape (inferred from this example)
PathType
$object
$.routedboolean
$.sectionstring
$.endpointstring
$.displaystring
$.protocolboolean
$.viaobject
$.via.stagestring
$.via.matchedarray
$.via.matched[]string
$.via.fallbackobject
$.via.fallback.enabledboolean
$.via.fallback.clefboolean
$.searchobject
$.search.toolstring
$.search.argumentsobject
$.search.arguments.intentstring
$.search.arguments.whenstring
$.intentobject
$.intent.basestring
$.intent.tokenstring
$.intent.labelstring
$.intent.familystring
$.intent.emojistring
$.understandobject
$.understand.sectionstring
$.understand.displaystring
$.understand.tokenstring
$.understand.grammarobject
$.understand.grammar.entrystring
$.understand.grammar.nnumber
$.understand.understood_bystring
$.understand.slotsarray
$.understand.slots[]object
$.understand.housearray
$.understand.house[]object
$.understand.saidarray
$.understand.said[]string
$.understand.nextarray
$.understand.next[]object
$.understand.sidesarray
$.understand.sides[]object
$.understand.cardobject
$.understand.card.querystring
$.understand.card.grammarstring
$.understand.card.kvarray
$.understand.paramsobject
$.understand.params.destinationstring
$.understand.params.departurestring
$.understand.params.taxi-originstring
$.understand.params.travelersstring
$.understand.params.preferencestring
$.understand.params.whenstring
$.understand.params.nearstring
$.understand.params.sidestring
$.understand.params.lanesstring
$.understand.detailobject
$.understand.detail.departurestring

intents · List sections

read-only idempotent

The 5 wired Pro sections with their scoped MCP endpoints.

Input schema

No arguments.

Raw inputSchema (JSON)
{
  "type": "object",
  "properties": {}
}

Example request

{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "intents",
    "arguments": {}
  }
}
The same call with curl
curl -sX POST https://<api-host>/api/mcp/pro \
  -H "content-type: application/json" -H "accept: application/json, text/event-stream" \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"intents","arguments":{}}}'

Example response (real output from the handler, shortened; example rows carry their own label)

{
  "sections": [
    {
      "section": "ride",
      "token": "RIDE",
      "display": "Ride who else?",
      "grammar": "TAXI 137",
      "action": "Every way there",
      "endpoint": "/api/mcp/ride"
    },
    {
      "section": "homes",
      "token": "HOUSING",
      "display": "Homes who else?",
      "grammar": "AIRBNB 340",
      "action": "Price on the map",
      "endpoint": "/api/mcp/homes"
    },
    "… 3 more"
  ],
  "note": "Each section is its own MCP server at the endpoint shown."
}
Response shape (inferred from this example)
PathType
$object
$.sectionsarray
$.sections[]object
$.sections[].sectionstring
$.sections[].tokenstring
$.sections[].displaystring
$.sections[].grammarstring
$.sections[].actionstring
$.sections[].endpointstring
$.notestring

ls · List the namespace

read-only idempotent

Read-only namespace listing, like a shell: path "/" (default) lists the sections and /places; "/ride" lists the v1.0 cities (dc, nyc, sf); "/ride/dc" lists the entries there with owner_type (human, business, ai) and is_ai. Entries are labeled example data; real posted asks are never listed or quoted. No contact details.

Input schema

ArgumentTypeRequiredNotes
pathstringoptionale.g. "/", "ride", "ride/dc", "/places/dc"
aibooleanoptionalInclude AI entries in sections where AI is opt-in (date). Default false; other sections always list AI entries, labeled is_ai.
Raw inputSchema (JSON)
{
  "type": "object",
  "properties": {
    "path": {
      "type": "string",
      "description": "e.g. \"/\", \"ride\", \"ride/dc\", \"/places/dc\""
    },
    "ai": {
      "type": "boolean",
      "description": "Include AI entries in sections where AI is opt-in (date). Default false; other sections always list AI entries, labeled is_ai."
    }
  }
}

Example request

{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "ls",
    "arguments": {
      "path": "ride/dc"
    }
  }
}
The same call with curl
curl -sX POST https://<api-host>/api/mcp/pro \
  -H "content-type: application/json" -H "accept: application/json, text/event-stream" \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"ls","arguments":{"path":"ride/dc"}}}'

Example response (real output from the handler, shortened; example rows carry their own label)

{
  "path": "/ride/dc",
  "kind": "city",
  "source": "catalog",
  "example": true,
  "title": "Ride who else? · Washington, DC",
  "entries": [
    {
      "name": "Example neighbor also looking for ride",
      "path": "/ride/dc/rider.human",
      "kind": "entry",
      "role": "wants",
      "side": "Need a ride",
      "owner_type": "human",
      "is_ai": false,
      "example": true
    },
    {
      "name": "Example ride person in DC",
      "path": "/ride/dc/driver.human",
      "kind": "entry",
      "role": "does",
      "side": "Driving",
      "owner_type": "human",
      "is_ai": false,
      "example": true
    },
    "… 4 more"
  ],
  "real_asks": 0,
  "note": "Example data: stand-ins that show where real entries will appear. No real person, business or bot is behind them."
}
Response shape (inferred from this example)
PathType
$object
$.pathstring
$.kindstring
$.sourcestring
$.exampleboolean
$.titlestring
$.entriesarray
$.entries[]object
$.entries[].namestring
$.entries[].pathstring
$.entries[].kindstring
$.entries[].rolestring
$.entries[].sidestring
$.entries[].owner_typestring
$.entries[].is_aiboolean
$.entries[].exampleboolean
$.real_asksnumber
$.notestring

describe · Describe a section

read-only idempotent

Read-only: one section's machinery: the protocol line ("<Token> who else?"), v0.3 grammar slots with their allowed values, the people / businesses / AI lanes and sides, its MCP tools (with read/write annotations), endpoints and example protocol lines and requests.

Input schema

ArgumentTypeRequiredNotes
sectionstringrequiredride, homes, date, wine or book-club (tokens and labels work too)
Raw inputSchema (JSON)
{
  "type": "object",
  "properties": {
    "section": {
      "type": "string",
      "description": "ride, homes, date, wine or book-club (tokens and labels work too)"
    }
  },
  "required": [
    "section"
  ]
}

Example request

{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "describe",
    "arguments": {
      "section": "ride"
    }
  }
}
The same call with curl
curl -sX POST https://<api-host>/api/mcp/pro \
  -H "content-type: application/json" -H "accept: application/json, text/event-stream" \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"describe","arguments":{"section":"ride"}}}'

Example response (real output from the handler, shortened; example rows carry their own label)

{
  "section": "ride",
  "token": "RIDE",
  "label": "Ride",
  "protocol_line": "Ride who else?",
  "grammar": {
    "entry": "TAXI",
    "n": 137,
    "version": "v0.3"
  },
  "action": {
    "name": "compare_options",
    "label": "Every way there"
  },
  "cities": [
    {
      "id": "dc",
      "label": "Washington, DC",
      "path": "/ride/dc"
    },
    {
      "id": "nyc",
      "label": "New York, NY",
      "path": "/ride/nyc"
    },
    "… 1 more"
  ],
  "slots": [
    {
      "key": "taxi-origin",
      "label": "From",
      "question": null,
      "values": [
        "current location",
        "home",
        "… 3 more"
      ],
      "default": "current location"
    },
    {
      "key": "destination",
      "label": "To",
      "question": "Where to?",
      "values": [
        "city center",
        "station",
        "… 3 more"
      ],
      "default": null,
      "free_detail": true
    },
    "… 3 more"
  ],
  "house_params": [
    {
      "key": "when",
      "label": "When",
      "question": null,
      "values": [
        "now",
        "tonight",
        "… 3 more"
      ],
      "default": null,
      "free_text": false
    },
    {
      "key": "near",
      "label": "Where",
      "question": "Where? (or \"near me\")",
      "values": null,
      "default": "near me",
      "free_text": true
    },
    "… 4 more"
  ],
  "lanes": [
    {
      "lane": "people",
      "owner_type": "human",
      "is_ai": false,
      "sides": [
        {
          "side_id": "RIDE.rider",
          "role": "wants",
          "label": "Need a ride"
        },
        {
          "side_id": "RIDE.driver",
          "role": "does",
          "label": "Driving"
        },
        "… 1 more"
      ]
    },
    {
      "lane": "businesses",
      "owner_type": "business",
      "is_ai": false,
      "sides": [
        {
          "side_id": "RIDE.driver",
          "role": "does",
          "label": "Driving"
        },
        {
          "side_id": "RIDE.referrer",
          "role": "knows",
          "label": "Knows a driver"
        }
      ]
    },
    "… 1 more"
  ],
  "endpoints": {
    "section": "/api/mcp/ride",
    "router": "/api/mcp/pro",
    "visual_request": "/api/ask?base=RIDE&city=DC&layout=landing"
  },
  "examples": {
    "protocol_line": "Ride who else?",
    "requests": [
      "need a ride to JFK at 6am for 2",
      "cheapest way to Union Station tomorrow",
      "… 1 more"
    ],
    "note": "The protocol line is always \"<Token> who else?\" (no comma). The requests are plain words the grammar parses; they are examples, not stored asks."
  },
  "example_data_note": "Example data: stand-ins that show where real entries will appear. No real person, business or bot is behind them.",
  "source": "catalog",
  "tools": [
    {
      "name": "understand",
      "title": "Understand a request",
      "read_only": true,
      "description": "Parse a plain-language Ride ask into \"Ride who else?\" slots (v0.3 TAXI grammar). Returns the filled slots, what to ask next, the side labels and an em…"
    },
    {
      "name": "whats_on",
      "title": "What's on now",
      "read_only": true,
      "description": "The Ride section as the visual app shows it right now (signature block, supply, who-else rows). Same request as the visual section."
    },
    "… 8 more"
  ]
}
Response shape (inferred from this example)
PathType
$object
$.sectionstring
$.tokenstring
$.labelstring
$.protocol_linestring
$.grammarobject
$.grammar.entrystring
$.grammar.nnumber
$.grammar.versionstring
$.actionobject
$.action.namestring
$.action.labelstring
$.citiesarray
$.cities[]object
$.cities[].idstring
$.cities[].labelstring
$.cities[].pathstring
$.slotsarray
$.slots[]object
$.slots[].keystring
$.slots[].labelstring
$.slots[].questionnull
$.slots[].valuesarray
$.slots[].defaultstring
$.house_paramsarray
$.house_params[]object
$.house_params[].keystring
$.house_params[].labelstring
$.house_params[].questionnull
$.house_params[].valuesarray
$.house_params[].defaultnull
$.house_params[].free_textboolean
$.lanesarray
$.lanes[]object
$.lanes[].lanestring
$.lanes[].owner_typestring
$.lanes[].is_aiboolean
$.lanes[].sidesarray
$.endpointsobject
$.endpoints.sectionstring
$.endpoints.routerstring
$.endpoints.visual_requeststring
$.examplesobject
$.examples.protocol_linestring
$.examples.requestsarray
$.examples.requests[]string
$.examples.notestring
$.example_data_notestring
$.sourcestring
$.toolsarray
$.tools[]object
$.tools[].namestring
$.tools[].titlestring
$.tools[].read_onlyboolean
$.tools[].descriptionstring

whois · Who is this name

read-only idempotent

Read-only: what a namespace name is. Returns the entry's owner_type (human, business or ai), the is_ai flag, its section, city and side, and whether it is example data. A section, city, entry name, path or UNS place name works. Never returns contact details, owner ids or ask text.

Input schema

ArgumentTypeRequiredNotes
namestringrequirede.g. "ride", "/ride/dc/referrer.ai", "Union Station"
Raw inputSchema (JSON)
{
  "type": "object",
  "properties": {
    "name": {
      "type": "string",
      "description": "e.g. \"ride\", \"/ride/dc/referrer.ai\", \"Union Station\""
    }
  },
  "required": [
    "name"
  ]
}

Example request

{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "whois",
    "arguments": {
      "name": "ride/dc/referrer.ai"
    }
  }
}
The same call with curl
curl -sX POST https://<api-host>/api/mcp/pro \
  -H "content-type: application/json" -H "accept: application/json, text/event-stream" \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"whois","arguments":{"name":"ride/dc/referrer.ai"}}}'

Example response (real output from the handler, shortened; example rows carry their own label)

{
  "query": "ride/dc/referrer.ai",
  "found": true,
  "count": 1,
  "matches": [
    {
      "kind": "entry",
      "name": "Ride helper (AI bot)",
      "path": "/ride/dc/referrer.ai",
      "section": "ride",
      "section_label": "Ride",
      "protocol_line": "Ride who else?",
      "city": "dc",
      "city_label": "Washington, DC",
      "side": {
        "side_id": "RIDE.referrer",
        "role": "knows",
        "label": "Knows a driver"
      },
      "owner_type": "ai",
      "is_ai": true,
      "example": true,
      "data_label": "Example data",
      "what": "An AI helper on the Knows a driver side of \"Ride who else?\" in Washington, DC. Someone who knows ride well enough to point you to the right place or p…",
      "ai_disclosure": {
        "role": "Ride helper",
        "scope": "Can help with ride options and fare ranges.",
        "opt_in": null
      },
      "can_help_with": "Can help with ride options and fare ranges.",
      "…": "3 more keys"
    }
  ],
  "privacy": "Names, owner type and the is_ai flag only. No contact details, owner ids or ask text."
}
Response shape (inferred from this example)
PathType
$object
$.querystring
$.foundboolean
$.countnumber
$.matchesarray
$.matches[]object
$.matches[].kindstring
$.matches[].namestring
$.matches[].pathstring
$.matches[].sectionstring
$.matches[].section_labelstring
$.matches[].protocol_linestring
$.matches[].citystring
$.matches[].city_labelstring
$.matches[].sideobject
$.matches[].owner_typestring
$.matches[].is_aiboolean
$.matches[].exampleboolean
$.matches[].data_labelstring
$.matches[].whatstring
$.matches[].ai_disclosureobject
$.matches[].can_help_withstring
$.matches[].contactstring
$.matches[].sourcestring
$.matches[].adapterstring
$.privacystring

plan · Plan an umbrella ask

read-only idempotent

Read-only: decompose an umbrella ask ("holiday in Mexico", "moving house", "wedding in June", typos allowed) into a plan: one "<Token> who else?" line per part, slots carried across (destination, dates, from, party), and the single most useful missing question for the whole plan. Each part says whether it maps to a live Pro section or has none yet; parts with no section carry a free prefilled hand-off link (never invented results) and a `propose section <name>` hint. Free: no AI model, nothing stored or sent. If the ask names two or more of the parts ("hotel and flight for my honeymoon in cancun") the plan is exactly those parts (mode:"named") and the umbrella's other parts come back in `add` as optional extras; `include:[label]` moves them into the plan. Optional slots:{destination,dates,from,party} override what was parsed; no_question:true suppresses the question.

Input schema

ArgumentTypeRequiredNotes
textstringrequired
slotsobjectoptional{destination, dates, from, party, length}
no_questionbooleanoptional
includearray of stringoptionalOptional parts to add to a named-parts plan: labels or bases from the previous result's `add` list
Raw inputSchema (JSON)
{
  "type": "object",
  "properties": {
    "text": {
      "type": "string"
    },
    "slots": {
      "type": "object",
      "description": "{destination, dates, from, party, length}"
    },
    "no_question": {
      "type": "boolean"
    },
    "include": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "Optional parts to add to a named-parts plan: labels or bases from the previous result's `add` list"
    }
  },
  "required": [
    "text"
  ]
}

Example request

{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "plan",
    "arguments": {
      "text": "hotel and flight for my honeymoon in cancun"
    }
  }
}
The same call with curl
curl -sX POST https://<api-host>/api/mcp/pro \
  -H "content-type: application/json" -H "accept: application/json, text/event-stream" \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"plan","arguments":{"text":"hotel and flight for my honeymoon in cancun"}}}'

Example response (real output from the handler, shortened; example rows carry their own label)

{
  "routed": false,
  "umbrella": {
    "id": "holiday",
    "label": "Holiday",
    "matched": [
      {
        "trigger": "honeymoon",
        "said": "honeymoon",
        "fuzzy": false,
        "via": "exact"
      }
    ]
  },
  "slots": {
    "party": "2",
    "destination": "Cancun"
  },
  "missing": [
    "dates",
    "from"
  ],
  "question": {
    "slot": "dates",
    "text": "When are you going?"
  },
  "mode": "named",
  "named": [
    "Hotel",
    "Flight"
  ],
  "plan": [
    {
      "search": {
        "tool": "search",
        "arguments": {
          "intent": "HOTEL",
          "city": "Cancun"
        }
      },
      "line": "Hotel who else?",
      "label": "Hotel",
      "section": "homes",
      "base": "HOTEL",
      "slots": {
        "party": "2",
        "destination": "Cancun"
      },
      "status": "live",
      "optional": false,
      "deal": "stay",
      "seed": "hotel in Cancun for 2",
      "handoff": null,
      "propose": null,
      "why": "catalog base HOTEL → Pro section homes (stay)"
    },
    {
      "search": {
        "tool": "search",
        "arguments": {
          "intent": "FLIGHT",
          "city": "Cancun"
        }
      },
      "line": "Flight who else?",
      "label": "Flight",
      "section": null,
      "base": "FLIGHT",
      "slots": {
        "party": "2",
        "destination": "Cancun"
      },
      "status": "no_section_yet",
      "optional": false,
      "seed": "flight in Cancun for 2",
      "handoff": {
        "kind": "google_flights",
        "label": "Search flights on Google Flights",
        "url": "https://www.google.com/travel/flights?q=Flights%20to%20Cancun",
        "query": "Flights to Cancun",
        "note": "Opens a free search with your details filled in. Nothing is sent from here."
      },
      "propose": "propose section flight",
      "why": "catalog base FLIGHT has no Pro section yet"
    }
  ],
  "add": [
    {
      "search": {
        "tool": "search",
        "arguments": {
          "intent": "AIRPORT_TRANSFER",
          "city": "Cancun"
        }
      },
      "line": "Airport transfer who else?",
      "label": "Airport transfer",
      "section": "ride",
      "base": "AIRPORT_TRANSFER",
      "slots": {
        "party": "2",
        "destination": "Cancun"
      },
      "status": "live",
      "optional": true,
      "seed": "airport transfer in Cancun for 2",
      "handoff": null,
      "propose": null,
      "why": "catalog base AIRPORT_TRANSFER → Pro section ride"
    },
    {
      "line": "Tour guide who else?",
      "label": "Tour guide",
      "section": null,
      "base": "TOUR_GUIDE",
      "slots": {
        "party": "2",
        "destination": "Cancun"
      },
      "status": "no_section_yet",
      "optional": true,
      "seed": "tour guide in Cancun for 2",
      "handoff": {
        "kind": "google_maps",
        "label": "Search on Google Maps",
        "url": "https://www.google.com/maps/search/?api=1&query=tour%20guide%20Cancun",
        "query": "tour guide Cancun",
        "note": "Opens a free search with your details filled in. Nothing is sent from here."
      },
      "propose": "propose section tour guide",
      "why": "plan-only base TOUR_GUIDE (proposed for the ontology; nearest catalog base TOUR)"
    },
    "… 1 more"
  ],
  "message": "You named 2 parts in Cancun, so here is a plan of exactly those: one \"<Token> who else?\" line per part (1 live in Pro, 1 with no section yet). Optiona…",
  "example_data": "Live parts run the section's MCP, whose rows are labeled example data. Parts with no section yet return no results at all, only a hand-off link.",
  "via": {
    "stage": "umbrella",
    "umbrella": "holiday",
    "matched": [
      "honeymoon"
    ],
    "fallback": {
      "used": false,
      "reason": "umbrella plans are free and never call the matcher"
    }
  }
}
Response shape (inferred from this example)
PathType
$object
$.routedboolean
$.umbrellaobject
$.umbrella.idstring
$.umbrella.labelstring
$.umbrella.matchedarray
$.umbrella.matched[]object
$.slotsobject
$.slots.partystring
$.slots.destinationstring
$.missingarray
$.missing[]string
$.questionobject
$.question.slotstring
$.question.textstring
$.modestring
$.namedarray
$.named[]string
$.planarray
$.plan[]object
$.plan[].searchobject
$.plan[].linestring
$.plan[].labelstring
$.plan[].sectionstring
$.plan[].basestring
$.plan[].slotsobject
$.plan[].statusstring
$.plan[].optionalboolean
$.plan[].dealstring
$.plan[].seedstring
$.plan[].handoffnull
$.plan[].proposenull
$.plan[].whystring
$.addarray
$.add[]object
$.add[].searchobject
$.add[].linestring
$.add[].labelstring
$.add[].sectionstring
$.add[].basestring
$.add[].slotsobject
$.add[].statusstring
$.add[].optionalboolean
$.add[].seedstring
$.add[].handoffnull
$.add[].proposenull
$.add[].whystring
$.messagestring
$.example_datastring
$.viaobject
$.via.stagestring
$.via.umbrellastring
$.via.matchedarray
$.via.matched[]string
$.via.fallbackobject
$.via.fallback.usedboolean
$.via.fallback.reasonstring

agent_catalog · Agent sandbox: what an agent is made of

read-only idempotent

Read-only: what an AI agent is made of in the Pro sandbox: the rules (always labeled AI, is_ai true, excluded from human metrics, dry run only, no model calls), the free sources it may consult, template fields and presets, example asks per section, and the definition shape agent_dry_run takes. Nothing is stored.

Input schema

No arguments.

Raw inputSchema (JSON)
{
  "type": "object",
  "properties": {}
}

Example request

{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "agent_catalog",
    "arguments": {}
  }
}
The same call with curl
curl -sX POST https://<api-host>/api/mcp/pro \
  -H "content-type: application/json" -H "accept: application/json, text/event-stream" \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"agent_catalog","arguments":{}}}'

Example response (real output from the handler, shortened; example rows carry their own label)

{
  "v": "whoelse.agent@0.1",
  "rules": [
    "Every output is labeled AI and flagged is_ai:true; an agent never poses as a person.",
    "Agents are excluded from human metrics (counts_as_human:false, exclude_from_metrics:true). The uns source's search request is flagged is_ai and exclud…",
    "… 3 more"
  ],
  "limits": {
    "name": 24,
    "template": 400,
    "ask": 200,
    "sections": 5,
    "maxRuns": 10
  },
  "sections": [
    {
      "id": "ride",
      "protocol_line": "Ride who else?",
      "example_asks": [
        "need a ride to JFK at 6am for 2",
        "cheapest way to Union Station tomorrow",
        "… 1 more"
      ]
    },
    {
      "id": "homes",
      "protocol_line": "Homes who else?",
      "example_asks": [
        "2 bedroom apartment to rent near the park",
        "a weekend stay by the beach for two",
        "… 1 more"
      ]
    },
    "… 3 more"
  ],
  "cities": [
    "dc",
    "nyc",
    "… 1 more"
  ],
  "sources": [
    {
      "id": "understand",
      "title": "Grammar parse",
      "tool": "understand",
      "does": "Reads the ask with the deterministic v0.3 grammar (no AI fill): which slots are said, what is still missing.",
      "cost": "free"
    },
    {
      "id": "search",
      "title": "Example rows",
      "tool": "search",
      "does": "The section's who-else rows for the city: counts and names of EXAMPLE people and businesses (never real asks).",
      "cost": "free"
    },
    "… 3 more"
  ],
  "template_fields": [
    {
      "id": "protocol_line",
      "needs_source": null,
      "does": "The exact protocol line, e.g. \"Ride who else?\"."
    },
    {
      "id": "section",
      "needs_source": null,
      "does": "Section label, e.g. Ride."
    },
    "… 12 more"
  ],
  "presets": [
    {
      "id": "brief",
      "title": "Brief",
      "sources": [
        "understand",
        "search"
      ],
      "template": "I read your {section} ask: {slots}. Near {city} there are {counts} (example data): {rows}. Still open: {missing}. {protocol_line}"
    },
    {
      "id": "questions",
      "title": "Ask back",
      "sources": [
        "understand"
      ],
      "template": "To help with {section} I need a bit more: {questions} {protocol_line}"
    },
    "… 1 more"
  ],
  "definition_shape": {
    "name": "Scout",
    "sections": [
      "ride",
      "homes"
    ],
    "recipe": {
      "sources": [
        "understand",
        "search"
      ],
      "template": "I read your {section} ask: {slots}. Near {city} there are {counts} (example data): {rows}. Still open: {missing}. {protocol_line}",
      "city": "dc"
    }
  }
}
Response shape (inferred from this example)
PathType
$object
$.vstring
$.rulesarray
$.rules[]string
$.limitsobject
$.limits.namenumber
$.limits.templatenumber
$.limits.asknumber
$.limits.sectionsnumber
$.limits.maxRunsnumber
$.sectionsarray
$.sections[]object
$.sections[].idstring
$.sections[].protocol_linestring
$.sections[].example_asksarray
$.citiesarray
$.cities[]string
$.sourcesarray
$.sources[]object
$.sources[].idstring
$.sources[].titlestring
$.sources[].toolstring
$.sources[].doesstring
$.sources[].coststring
$.template_fieldsarray
$.template_fields[]object
$.template_fields[].idstring
$.template_fields[].needs_sourcenull
$.template_fields[].doesstring
$.presetsarray
$.presets[]object
$.presets[].idstring
$.presets[].titlestring
$.presets[].sourcesarray
$.presets[].templatestring
$.definition_shapeobject
$.definition_shape.namestring
$.definition_shape.sectionsarray
$.definition_shape.sections[]string
$.definition_shape.recipeobject
$.definition_shape.recipe.sourcesarray
$.definition_shape.recipe.templatestring
$.definition_shape.recipe.citystring

agent_dry_run · Dry-run an AI agent on example asks

read-only idempotent

Dry-run a declarative AI agent on example asks and return its draft answer with a step-by-step trace. Stateless: the agent definition travels in the call ({name, sections, recipe:{sources, template|preset, city}}). Grammar, example rows and templates only: no AI model is called, nothing is posted, sent or stored, real asks are never read. Every draft is labeled AI (is_ai true, counts_as_human false). Give ask (your own text), example (1-based), or all:true for up to 10 example asks.

Input schema

ArgumentTypeRequiredNotes
agentobjectrequired{name, sections:[ride|homes|date|wine|book-club], recipe:{sources:[understand|search|whats_on|namespace], template:"...{fields}..." or preset:"brief|questions|pointer", city:"dc|nyc|sf"}}
askstringoptional
exampleintegeroptional
allbooleanoptional
validatebooleanoptionalOnly check the definition; run nothing.
Raw inputSchema (JSON)
{
  "type": "object",
  "properties": {
    "agent": {
      "type": "object",
      "description": "{name, sections:[ride|homes|date|wine|book-club], recipe:{sources:[understand|search|whats_on|namespace], template:\"...{fields}...\" or preset:\"brief|questions|pointer\", city:\"dc|nyc|sf\"}}"
    },
    "ask": {
      "type": "string"
    },
    "example": {
      "type": "integer",
      "minimum": 1
    },
    "all": {
      "type": "boolean"
    },
    "validate": {
      "type": "boolean",
      "description": "Only check the definition; run nothing."
    }
  },
  "required": [
    "agent"
  ]
}

Example request

{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "agent_dry_run",
    "arguments": {
      "agent": {
        "name": "Scout",
        "sections": [
          "ride"
        ],
        "recipe": {
          "preset": "brief",
          "city": "dc"
        }
      },
      "example": 1
    }
  }
}
The same call with curl
curl -sX POST https://<api-host>/api/mcp/pro \
  -H "content-type: application/json" -H "accept: application/json, text/event-stream" \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"agent_dry_run","arguments":{"agent":{"name":"Scout","sections":["ride"],"recipe":{"preset":"brief","city":"dc"}},"example":1}}}'

Example response (real output from the handler, shortened; example rows carry their own label)

{
  "v": "whoelse.agent@0.1",
  "dry_run": true,
  "agent": {
    "v": "whoelse.agent@0.1",
    "name": "Scout",
    "sections": [
      "ride"
    ],
    "recipe": {
      "preset": "brief",
      "sources": [
        "understand",
        "search"
      ],
      "template": "I read your {section} ask: {slots}. Near {city} there are {counts} (example data): {rows}. Still open: {missing}. {protocol_line}",
      "city": "dc"
    },
    "is_ai": true,
    "label": "Scout (AI)"
  },
  "count": 1,
  "runs": [
    {
      "v": "whoelse.agent@0.1",
      "dry_run": true,
      "agent": {
        "name": "Scout",
        "label": "Scout (AI)",
        "is_ai": true,
        "owner_type": "ai",
        "sections": [
          "ride"
        ]
      },
      "ask": {
        "text": "need a ride to JFK at 6am for 2",
        "kind": "example",
        "example": true
      },
      "guarantees": {
        "is_ai": true,
        "owner_type": "ai",
        "counts_as_human": false,
        "exclude_from_metrics": true,
        "dry_run": true,
        "posted": false,
        "sent": false,
        "delivered": false,
        "stored": false,
        "llm": {
          "used": false,
          "paid": false
        },
        "example_data": true
      },
      "section": "ride",
      "protocol": "Ride who else?",
      "slots": [
        {
          "key": "taxi-origin",
          "label": "From",
          "value": "current location",
          "source": "default"
        },
        {
          "key": "destination",
          "label": "To",
          "value": "airport",
          "detail": "JFK",
          "source": "grammar"
        },
        "… 3 more"
      ],
      "draft": "AI agent Scout (AI): I read your Ride ask: To: airport (JFK); Leaving: specific time (6:00 AM); Riders: 2. Near Washington, DC there are 3 example peo…",
      "label": "AI agent Scout (AI)",
      "steps": [
        {
          "n": 1,
          "source": "route",
          "tool": "route (grammar aliases)",
          "status": "ok",
          "summary": "Ride who else? (set by you)"
        },
        {
          "n": 2,
          "source": "understand",
          "tool": "understand",
          "status": "ok",
          "summary": "3 slots read by grammar, 1 question still open",
          "understood_by": "grammar"
        },
        "… 3 more"
      ]
    }
  ],
  "guarantees": {
    "is_ai": true,
    "owner_type": "ai",
    "counts_as_human": false,
    "exclude_from_metrics": true,
    "dry_run": true,
    "posted": false,
    "sent": false,
    "delivered": false,
    "stored": false,
    "llm": {
      "used": false,
      "paid": false
    },
    "example_data": true
  },
  "note": "Dry run: nothing was posted, sent or stored. Every draft is labeled AI. Example asks are example data."
}
Response shape (inferred from this example)
PathType
$object
$.vstring
$.dry_runboolean
$.agentobject
$.agent.vstring
$.agent.namestring
$.agent.sectionsarray
$.agent.sections[]string
$.agent.recipeobject
$.agent.recipe.presetstring
$.agent.recipe.sourcesarray
$.agent.recipe.templatestring
$.agent.recipe.citystring
$.agent.is_aiboolean
$.agent.labelstring
$.countnumber
$.runsarray
$.runs[]object
$.runs[].vstring
$.runs[].dry_runboolean
$.runs[].agentobject
$.runs[].askobject
$.runs[].guaranteesobject
$.runs[].sectionstring
$.runs[].protocolstring
$.runs[].slotsarray
$.runs[].draftstring
$.runs[].labelstring
$.runs[].stepsarray
$.guaranteesobject
$.guarantees.is_aiboolean
$.guarantees.owner_typestring
$.guarantees.counts_as_humanboolean
$.guarantees.exclude_from_metricsboolean
$.guarantees.dry_runboolean
$.guarantees.postedboolean
$.guarantees.sentboolean
$.guarantees.deliveredboolean
$.guarantees.storedboolean
$.guarantees.llmobject
$.guarantees.llm.usedboolean
$.guarantees.llm.paidboolean
$.guarantees.example_databoolean
$.notestring

my_asks · My asks

read-only idempotent

Your posted asks across all 5 sections (by x-whoelse-client or sign-in), with status and replies.

Input schema

No arguments.

Raw inputSchema (JSON)
{
  "type": "object",
  "properties": {}
}

Example request

{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "my_asks",
    "arguments": {}
  }
}
The same call with curl
curl -sX POST https://<api-host>/api/mcp/pro \
  -H "content-type: application/json" -H "accept: application/json, text/event-stream" \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"my_asks","arguments":{}}}'

Example response (real output from the handler, shortened; example rows carry their own label)

{
  "asks": []
}
Response shape (inferred from this example)
PathType
$object
$.asksarray

call_section · Call a section's tool

write needs x-whoelse-client

Run any section tool through this one server, so a single connection covers everything: {section, tool, arguments}. Tools: understand, whats_on, search, section_action, book (reads), and post_my_ask, contact, report, withdraw_ask (writes: need x-whoelse-client or sign-in). Same results and limits as that section's own /api/mcp/<section>.

Input schema

ArgumentTypeRequiredNotes
sectionstringrequiredOne of: ride homes date wine book-club
toolstringrequiredOne of: understand whats_on search section_action book post_my_ask my_asks contact report withdraw_ask
argumentsobjectoptionalThat tool's own arguments, e.g. {"params":{"destination":"airport"},"near":"Washington, DC"}. See tools/list on /api/mcp/<section>.
Raw inputSchema (JSON)
{
  "type": "object",
  "properties": {
    "section": {
      "type": "string",
      "enum": [
        "ride",
        "homes",
        "date",
        "wine",
        "book-club"
      ]
    },
    "tool": {
      "type": "string",
      "enum": [
        "understand",
        "whats_on",
        "search",
        "section_action",
        "book",
        "post_my_ask",
        "my_asks",
        "contact",
        "report",
        "withdraw_ask"
      ]
    },
    "arguments": {
      "type": "object",
      "description": "That tool's own arguments, e.g. {\"params\":{\"destination\":\"airport\"},\"near\":\"Washington, DC\"}. See tools/list on /api/mcp/<section>."
    }
  },
  "required": [
    "section",
    "tool"
  ]
}

Example request

{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "call_section",
    "arguments": {
      "section": "ride",
      "tool": "understand",
      "arguments": {
        "text": "need a ride to JFK at 6am for 2"
      }
    }
  }
}
The same call with curl
curl -sX POST https://<api-host>/api/mcp/pro \
  -H "content-type: application/json" -H "accept: application/json, text/event-stream"
-H "x-whoelse-client: <your own random id, 16+ characters>" \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"call_section","arguments":{"section":"ride","tool":"understand","arguments":{"text":"need a ride to JFK at 6am for 2"}}}}'

Not run when the docs are built: it writes. The request shows the form; the writes need your own x-whoelse-client header.

mcp-tools.json has the raw tools/list for the router and the five section servers.