MCP reference: the section servers

Each of the five sections is its own MCP server at POST /api/mcp/<section> with 10 tools. They are generated from each server's tools/list. Section servers share the tool names; schemas differ where a section's slots do, so each is listed in full.

Examples run the read-only tools against the in-process handler with example data. The write tools (post_my_ask, contact, report, withdraw_ask) are shown as requests only.

Ride /api/mcp/ride

Ride who else? · v0.3 TAXI grammar. Tools: understand whats_on search section_action book post_my_ask my_asks contact report withdraw_ask

understand · Understand a request

read-only idempotent

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 emergency block when needed.

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": "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/ride \
  -H "content-type: application/json" -H "accept: application/json, text/event-stream" \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"understand","arguments":{"text":"need a ride to JFK at 6am for 2"}}}'

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

{
  "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",
      "detail": "JFK",
      "source": "said"
    },
    "… 3 more"
  ],
  "house": [
    {
      "key": "near",
      "value": "near me",
      "source": "default"
    },
    {
      "key": "side",
      "value": "everyone",
      "source": "default"
    },
    "… 1 more"
  ],
  "said": [
    "destination",
    "departure",
    "… 1 more"
  ],
  "next": [
    {
      "key": "preference",
      "label": "Priority",
      "q": "What matters most on this ride?",
      "values": [
        "fastest",
        "cheapest",
        "… 2 more"
      ],
      "default": "fastest"
    },
    {
      "key": "side",
      "q": "Who else should I look for on your route?",
      "values": [
        "everyone",
        "Need a ride",
        "… 2 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 (JFK)",
      "… 6 more"
    ]
  },
  "params": {
    "destination": "airport",
    "departure": "specific time",
    "travelers": "2",
    "taxi-origin": "current location",
    "preference": "fastest",
    "near": "near me",
    "side": "everyone",
    "lanes": "person,business,agent"
  },
  "detail": {
    "destination": "JFK",
    "departure": "6:00 AM"
  }
}
Response shape (inferred from this example)
PathType
$object
$.sectionstring
$.displaystring
$.tokenstring
$.grammarobject
$.grammar.entrystring
$.grammar.nnumber
$.understood_bystring
$.slotsarray
$.slots[]object
$.slots[].keystring
$.slots[].labelstring
$.slots[].valuestring
$.slots[].sourcestring
$.housearray
$.house[]object
$.house[].keystring
$.house[].valuestring
$.house[].sourcestring
$.saidarray
$.said[]string
$.nextarray
$.next[]object
$.next[].keystring
$.next[].labelstring
$.next[].qstring
$.next[].valuesarray
$.next[].defaultstring
$.sidesarray
$.sides[]object
$.sides[].side_idstring
$.sides[].rolestring
$.sides[].labelstring
$.sides[].respondersarray
$.cardobject
$.card.querystring
$.card.grammarstring
$.card.kvarray
$.card.kv[]string
$.paramsobject
$.params.destinationstring
$.params.departurestring
$.params.travelersstring
$.params.taxi-originstring
$.params.preferencestring
$.params.nearstring
$.params.sidestring
$.params.lanesstring
$.detailobject
$.detail.destinationstring
$.detail.departurestring

whats_on · What's on now

read-only idempotent

The Ride section as the visual app shows it right now (signature block, supply, who-else rows). Same request as the visual section.

Input schema

ArgumentTypeRequiredNotes
nearstringoptionalWhere (free text, or "near me"). Picks the city for the who-else layer (DC default).
include_aibooleanoptionalInclude the labeled AI helper rows (opt-in where the section requires it).
Raw inputSchema (JSON)
{
  "type": "object",
  "properties": {
    "near": {
      "type": "string",
      "description": "Where (free text, or \"near me\"). Picks the city for the who-else layer (DC default)."
    },
    "include_ai": {
      "type": "boolean",
      "description": "Include the labeled AI helper rows (opt-in where the section requires it)."
    }
  }
}

Example request

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

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

{
  "section": "ride",
  "display": "Ride who else?",
  "section_title": "**Ride** who else?",
  "signature": {
    "type": "options",
    "title": "Every way there",
    "items": [
      {
        "label": "Taxi",
        "example": true,
        "detail": "4 min",
        "extra": "$18"
      },
      {
        "label": "Shared",
        "example": true,
        "detail": "8 min",
        "extra": "$9"
      },
      "… 2 more"
    ]
  },
  "supply": {
    "person": 5,
    "business": 1,
    "agent": 1,
    "example": true,
    "source": "nearby_priors"
  },
  "format": {
    "family": "ride",
    "name": "Map + ride options (on-demand ride)",
    "l1": {
      "saved": [
        [
          "🏠",
          "Home",
          "… 1 more"
        ],
        [
          "💼",
          "Work",
          "… 1 more"
        ],
        "… 1 more"
      ],
      "who": "2 neighbors heading downtown now · share and save"
    },
    "l2": {
      "to": "Dupont Circle",
      "eta": "Drop-off 7:24 PM",
      "options": [
        {
          "k": "Taxi",
          "sub": "4 min · 4 seats",
          "price": "$18"
        },
        {
          "k": "Comfort",
          "sub": "6 min · newer cars",
          "price": "$24"
        },
        "… 3 more"
      ],
      "sel": "Taxi",
      "pay": "Card ending 4242"
    },
    "example": true
  },
  "feed": [
    {
      "kind": "person",
      "name": "Example neighbor also looking for ride",
      "side_id": "RIDE.rider",
      "label": "Need a ride",
      "snippet": "Example neighbor: real people show here once they post.",
      "example": true,
      "miles": 0.3
    },
    {
      "kind": "person",
      "name": "Example ride person in DC",
      "side_id": "RIDE.driver",
      "label": "Driving",
      "snippet": "Example neighbor: real people show here once they post.",
      "example": true,
      "miles": 0.4
    },
    "… 4 more"
  ],
  "example": true,
  "parity": {
    "visual_request": "/api/ask?base=RIDE&city=DC&layout=landing",
    "section_id": "ride"
  }
}
Response shape (inferred from this example)
PathType
$object
$.sectionstring
$.displaystring
$.section_titlestring
$.signatureobject
$.signature.typestring
$.signature.titlestring
$.signature.itemsarray
$.signature.items[]object
$.supplyobject
$.supply.personnumber
$.supply.businessnumber
$.supply.agentnumber
$.supply.exampleboolean
$.supply.sourcestring
$.formatobject
$.format.familystring
$.format.namestring
$.format.l1object
$.format.l1.savedarray
$.format.l1.whostring
$.format.l2object
$.format.l2.tostring
$.format.l2.etastring
$.format.l2.optionsarray
$.format.l2.selstring
$.format.l2.paystring
$.format.exampleboolean
$.feedarray
$.feed[]object
$.feed[].kindstring
$.feed[].namestring
$.feed[].side_idstring
$.feed[].labelstring
$.feed[].snippetstring
$.feed[].exampleboolean
$.feed[].milesnumber
$.exampleboolean
$.parityobject
$.parity.visual_requeststring
$.parity.section_idstring

section_action · Section action

read-only idempotent

The section's own action (compare_options: "Every way there") with the given slots. Example data stays labeled; hand-offs are links.

Input schema

ArgumentTypeRequiredNotes
paramsobjectoptionalGrammar slots (key → value), e.g. {"destination":"airport","departure":"tomorrow"}. Off-grammar values are ignored and echoed in `ignored`.
detailobjectoptionalFree detail per slot, e.g. {"destination":"JFK"}. Screened; never shown as an address.
nearstringoptionalWhere (free text, or "near me"). Picks the city for the who-else layer (DC default).
whenstringoptionalOne of: now tonight today tomorrow weekend
sidestringoptionalWho else to show: "everyone" or one side label from understand.sides.
lanesstringoptionalOne of: person,business,agent person,business person person,agent
scopestringoptionalBuilding/company/school/block; membership isn't verified yet, so scoped people rows stay empty.
One of: building company school block
itemstringoptionalAnything specific (a book title, "2 bedrooms").
include_aibooleanoptionalInclude the labeled AI helper rows (opt-in where the section requires it).
actionstringoptionalOne of: compare_options
Raw inputSchema (JSON)
{
  "type": "object",
  "properties": {
    "params": {
      "type": "object",
      "description": "Grammar slots (key → value), e.g. {\"destination\":\"airport\",\"departure\":\"tomorrow\"}. Off-grammar values are ignored and echoed in `ignored`."
    },
    "detail": {
      "type": "object",
      "description": "Free detail per slot, e.g. {\"destination\":\"JFK\"}. Screened; never shown as an address."
    },
    "near": {
      "type": "string",
      "description": "Where (free text, or \"near me\"). Picks the city for the who-else layer (DC default)."
    },
    "when": {
      "type": "string",
      "enum": [
        "now",
        "tonight",
        "today",
        "tomorrow",
        "weekend"
      ]
    },
    "side": {
      "type": "string",
      "description": "Who else to show: \"everyone\" or one side label from understand.sides."
    },
    "lanes": {
      "type": "string",
      "enum": [
        "person,business,agent",
        "person,business",
        "person",
        "person,agent"
      ]
    },
    "scope": {
      "type": "string",
      "enum": [
        "building",
        "company",
        "school",
        "block"
      ],
      "description": "Building/company/school/block; membership isn't verified yet, so scoped people rows stay empty."
    },
    "item": {
      "type": "string",
      "description": "Anything specific (a book title, \"2 bedrooms\")."
    },
    "include_ai": {
      "type": "boolean",
      "description": "Include the labeled AI helper rows (opt-in where the section requires it)."
    },
    "action": {
      "type": "string",
      "enum": [
        "compare_options"
      ]
    }
  }
}

Example request

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

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

{
  "section": "ride",
  "action": "compare_options",
  "label": "Every way there",
  "base": {
    "title": "Every way there",
    "type": "options",
    "items": [
      {
        "label": "Taxi",
        "example": true,
        "detail": "4 min",
        "extra": "$18"
      },
      {
        "label": "Shared",
        "example": true,
        "detail": "8 min",
        "extra": "$9"
      },
      "… 2 more"
    ],
    "example": true,
    "action": {
      "label": "Request a ride",
      "kind": "service",
      "service_like": "Uber"
    },
    "handoff": {
      "links": [
        {
          "provider": "Uber",
          "label": "Request in Uber",
          "url": "https://m.uber.com/ul/?action=setPickup&pickup[formatted_address]=Washington%2C%20DC"
        }
      ],
      "note": "Opens the provider with your details filled in. Prices and availability are theirs; whoelse doesn't book or pay."
    },
    "note": "Example rows are labeled. Real prices and availability are only on the provider's side of the link."
  },
  "card": {
    "query": "Ride who else?",
    "grammar": "TAXI who else?",
    "kv": [
      "taxi-origin=current location",
      "departure=now",
      "… 6 more"
    ]
  }
}
Response shape (inferred from this example)
PathType
$object
$.sectionstring
$.actionstring
$.labelstring
$.baseobject
$.base.titlestring
$.base.typestring
$.base.itemsarray
$.base.items[]object
$.base.exampleboolean
$.base.actionobject
$.base.action.labelstring
$.base.action.kindstring
$.base.action.service_likestring
$.base.handoffobject
$.base.handoff.linksarray
$.base.handoff.notestring
$.base.notestring
$.cardobject
$.card.querystring
$.card.grammarstring
$.card.kvarray
$.card.kv[]string

book · Hand-off link

read-only idempotent

Hand-off only: returns a prefilled provider link. whoelse never books, pays or confirms availability.

Input schema

ArgumentTypeRequiredNotes
paramsobjectoptionalGrammar slots (key → value), e.g. {"destination":"airport","departure":"tomorrow"}. Off-grammar values are ignored and echoed in `ignored`.
detailobjectoptionalFree detail per slot, e.g. {"destination":"JFK"}. Screened; never shown as an address.
nearstringoptionalWhere (free text, or "near me"). Picks the city for the who-else layer (DC default).
whenstringoptionalOne of: now tonight today tomorrow weekend
sidestringoptionalWho else to show: "everyone" or one side label from understand.sides.
lanesstringoptionalOne of: person,business,agent person,business person person,agent
scopestringoptionalBuilding/company/school/block; membership isn't verified yet, so scoped people rows stay empty.
One of: building company school block
itemstringoptionalAnything specific (a book title, "2 bedrooms").
include_aibooleanoptionalInclude the labeled AI helper rows (opt-in where the section requires it).
Raw inputSchema (JSON)
{
  "type": "object",
  "properties": {
    "params": {
      "type": "object",
      "description": "Grammar slots (key → value), e.g. {\"destination\":\"airport\",\"departure\":\"tomorrow\"}. Off-grammar values are ignored and echoed in `ignored`."
    },
    "detail": {
      "type": "object",
      "description": "Free detail per slot, e.g. {\"destination\":\"JFK\"}. Screened; never shown as an address."
    },
    "near": {
      "type": "string",
      "description": "Where (free text, or \"near me\"). Picks the city for the who-else layer (DC default)."
    },
    "when": {
      "type": "string",
      "enum": [
        "now",
        "tonight",
        "today",
        "tomorrow",
        "weekend"
      ]
    },
    "side": {
      "type": "string",
      "description": "Who else to show: \"everyone\" or one side label from understand.sides."
    },
    "lanes": {
      "type": "string",
      "enum": [
        "person,business,agent",
        "person,business",
        "person",
        "person,agent"
      ]
    },
    "scope": {
      "type": "string",
      "enum": [
        "building",
        "company",
        "school",
        "block"
      ],
      "description": "Building/company/school/block; membership isn't verified yet, so scoped people rows stay empty."
    },
    "item": {
      "type": "string",
      "description": "Anything specific (a book title, \"2 bedrooms\")."
    },
    "include_ai": {
      "type": "boolean",
      "description": "Include the labeled AI helper rows (opt-in where the section requires it)."
    }
  }
}

Example request

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

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

{
  "section": "ride",
  "booked": false,
  "handoff": {
    "links": [
      {
        "provider": "Uber",
        "label": "Request in Uber",
        "url": "https://m.uber.com/ul/?action=setPickup&pickup[formatted_address]=Washington%2C%20DC"
      }
    ],
    "note": "Opens the provider with your details filled in. Prices and availability are theirs; whoelse doesn't book or pay."
  },
  "card": {
    "query": "Ride who else?",
    "grammar": "TAXI who else?",
    "kv": [
      "taxi-origin=current location",
      "departure=now",
      "… 6 more"
    ]
  }
}
Response shape (inferred from this example)
PathType
$object
$.sectionstring
$.bookedboolean
$.handoffobject
$.handoff.linksarray
$.handoff.links[]object
$.handoff.notestring
$.cardobject
$.card.querystring
$.card.grammarstring
$.card.kvarray
$.card.kv[]string

post_my_ask · Post my ask

write needs x-whoelse-client

Post your Ride ask so the next person sees you in the who-else layer (people lane, here and in the visual section). Screened: contact details, links and addresses hold it for review. Needs x-whoelse-client (≥16 chars) or a sign-in token.

Input schema

ArgumentTypeRequiredNotes
paramsobjectoptionalGrammar slots (key → value), e.g. {"destination":"airport","departure":"tomorrow"}. Off-grammar values are ignored and echoed in `ignored`.
detailobjectoptionalFree detail per slot, e.g. {"destination":"JFK"}. Screened; never shown as an address.
nearstringoptionalWhere (free text, or "near me"). Picks the city for the who-else layer (DC default).
whenstringoptionalOne of: now tonight today tomorrow weekend
sidestringoptionalWho else to show: "everyone" or one side label from understand.sides.
lanesstringoptionalOne of: person,business,agent person,business person person,agent
scopestringoptionalBuilding/company/school/block; membership isn't verified yet, so scoped people rows stay empty.
One of: building company school block
itemstringoptionalAnything specific (a book title, "2 bedrooms").
include_aibooleanoptionalInclude the labeled AI helper rows (opt-in where the section requires it).
notestringoptionalOptional short note (≤300 chars).
Raw inputSchema (JSON)
{
  "type": "object",
  "properties": {
    "params": {
      "type": "object",
      "description": "Grammar slots (key → value), e.g. {\"destination\":\"airport\",\"departure\":\"tomorrow\"}. Off-grammar values are ignored and echoed in `ignored`."
    },
    "detail": {
      "type": "object",
      "description": "Free detail per slot, e.g. {\"destination\":\"JFK\"}. Screened; never shown as an address."
    },
    "near": {
      "type": "string",
      "description": "Where (free text, or \"near me\"). Picks the city for the who-else layer (DC default)."
    },
    "when": {
      "type": "string",
      "enum": [
        "now",
        "tonight",
        "today",
        "tomorrow",
        "weekend"
      ]
    },
    "side": {
      "type": "string",
      "description": "Who else to show: \"everyone\" or one side label from understand.sides."
    },
    "lanes": {
      "type": "string",
      "enum": [
        "person,business,agent",
        "person,business",
        "person",
        "person,agent"
      ]
    },
    "scope": {
      "type": "string",
      "enum": [
        "building",
        "company",
        "school",
        "block"
      ],
      "description": "Building/company/school/block; membership isn't verified yet, so scoped people rows stay empty."
    },
    "item": {
      "type": "string",
      "description": "Anything specific (a book title, \"2 bedrooms\")."
    },
    "include_ai": {
      "type": "boolean",
      "description": "Include the labeled AI helper rows (opt-in where the section requires it)."
    },
    "note": {
      "type": "string",
      "description": "Optional short note (≤300 chars)."
    }
  }
}

Example request

{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "post_my_ask",
    "arguments": {}
  }
}
The same call with curl
curl -sX POST https://<api-host>/api/mcp/ride \
  -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":"post_my_ask","arguments":{}}}'

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

my_asks · My asks

read-only idempotent

Your posted asks (by client key or sign-in) with their status and any 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/ride \
  -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)

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

contact · Send a note

write needs x-whoelse-client

Send a short screened note to the person behind a real posted ask (ask_id from search). Example rows can't be contacted.

Input schema

ArgumentTypeRequiredNotes
ask_idstringrequired
messagestringrequired
Raw inputSchema (JSON)
{
  "type": "object",
  "properties": {
    "ask_id": {
      "type": "string"
    },
    "message": {
      "type": "string"
    }
  },
  "required": [
    "ask_id",
    "message"
  ]
}

Example request

{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "contact",
    "arguments": {
      "ask_id": "example",
      "message": "example"
    }
  }
}
The same call with curl
curl -sX POST https://<api-host>/api/mcp/ride \
  -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":"contact","arguments":{"ask_id":"example","message":"example"}}}'

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

report · Report an ask

write needs x-whoelse-client

Report a posted ask. Two reports hide it.

Input schema

ArgumentTypeRequiredNotes
ask_idstringrequired
reasonstringoptionalOne of: spam fake harassment unsafe other
Raw inputSchema (JSON)
{
  "type": "object",
  "properties": {
    "ask_id": {
      "type": "string"
    },
    "reason": {
      "type": "string",
      "enum": [
        "spam",
        "fake",
        "harassment",
        "unsafe",
        "other"
      ]
    }
  },
  "required": [
    "ask_id"
  ]
}

Example request

{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "report",
    "arguments": {
      "ask_id": "example"
    }
  }
}
The same call with curl
curl -sX POST https://<api-host>/api/mcp/ride \
  -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":"report","arguments":{"ask_id":"example"}}}'

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

withdraw_ask · Withdraw my ask

destructive write needs x-whoelse-client

Take down one of your own posted asks.

Input schema

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

Example request

{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "withdraw_ask",
    "arguments": {
      "ask_id": "example"
    }
  }
}
The same call with curl
curl -sX POST https://<api-host>/api/mcp/ride \
  -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":"withdraw_ask","arguments":{"ask_id":"example"}}}'

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

Homes /api/mcp/homes

Homes who else? · v0.3 AIRBNB grammar. Tools: understand whats_on search section_action book post_my_ask my_asks contact report withdraw_ask

understand · Understand a request

read-only idempotent

Parse a plain-language Homes ask into "Homes who else?" slots (v0.3 AIRBNB grammar). Returns the filled slots, what to ask next, the side labels and an emergency block when needed.

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": "understand",
    "arguments": {
      "text": "2 bedroom apartment to rent near the park"
    }
  }
}
The same call with curl
curl -sX POST https://<api-host>/api/mcp/homes \
  -H "content-type: application/json" -H "accept: application/json, text/event-stream" \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"understand","arguments":{"text":"2 bedroom apartment to rent near the park"}}}'

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

{
  "section": "homes",
  "display": "Homes who else?",
  "token": "HOUSING",
  "grammar": {
    "entry": "AIRBNB",
    "n": 340,
    "note": "deal is a Pro addition (one Homes section: rent/buy/stay)"
  },
  "understood_by": "grammar",
  "slots": [
    {
      "key": "deal",
      "label": "Looking to",
      "value": "rent",
      "source": "said"
    },
    {
      "key": "dates",
      "label": "Dates",
      "value": "next week",
      "source": "default"
    },
    "… 2 more"
  ],
  "house": [
    {
      "key": "near",
      "value": "near the park",
      "source": "said"
    },
    {
      "key": "side",
      "value": "everyone",
      "source": "default"
    },
    "… 2 more"
  ],
  "said": [
    "deal",
    "item",
    "… 1 more"
  ],
  "next": [
    {
      "key": "dates",
      "label": "Dates",
      "q": "When do you need it?",
      "values": [
        "today",
        "tomorrow",
        "… 3 more"
      ],
      "default": "next week",
      "detail": true
    },
    {
      "key": "guests",
      "label": "Guests",
      "q": "Who is it for?",
      "values": [
        "1",
        "2",
        "… 3 more"
      ],
      "default": "2"
    },
    "… 2 more"
  ],
  "sides": [
    {
      "side_id": "HOUSING.seeker",
      "role": "wants",
      "label": "Needs a place",
      "responders": [
        "person"
      ]
    },
    {
      "side_id": "HOUSING.host",
      "role": "does",
      "label": "Has a place",
      "responders": [
        "person",
        "business",
        "… 1 more"
      ]
    },
    "… 1 more"
  ],
  "card": {
    "query": "Homes who else?",
    "grammar": "AIRBNB who else?",
    "kv": [
      "deal=rent",
      "dates=next week",
      "… 6 more"
    ]
  },
  "params": {
    "deal": "rent",
    "dates": "next week",
    "guests": "2",
    "budget": "mid-range",
    "near": "near the park",
    "side": "everyone",
    "lanes": "person,business,agent",
    "item": "2 bedrooms"
  },
  "detail": {}
}
Response shape (inferred from this example)
PathType
$object
$.sectionstring
$.displaystring
$.tokenstring
$.grammarobject
$.grammar.entrystring
$.grammar.nnumber
$.grammar.notestring
$.understood_bystring
$.slotsarray
$.slots[]object
$.slots[].keystring
$.slots[].labelstring
$.slots[].valuestring
$.slots[].sourcestring
$.housearray
$.house[]object
$.house[].keystring
$.house[].valuestring
$.house[].sourcestring
$.saidarray
$.said[]string
$.nextarray
$.next[]object
$.next[].keystring
$.next[].labelstring
$.next[].qstring
$.next[].valuesarray
$.next[].defaultstring
$.next[].detailboolean
$.sidesarray
$.sides[]object
$.sides[].side_idstring
$.sides[].rolestring
$.sides[].labelstring
$.sides[].respondersarray
$.cardobject
$.card.querystring
$.card.grammarstring
$.card.kvarray
$.card.kv[]string
$.paramsobject
$.params.dealstring
$.params.datesstring
$.params.guestsstring
$.params.budgetstring
$.params.nearstring
$.params.sidestring
$.params.lanesstring
$.params.itemstring
$.detailobject

whats_on · What's on now

read-only idempotent

The Homes section as the visual app shows it right now (signature block, supply, who-else rows). Same request as the visual section.

Input schema

ArgumentTypeRequiredNotes
nearstringoptionalWhere (free text, or "near me"). Picks the city for the who-else layer (DC default).
include_aibooleanoptionalInclude the labeled AI helper rows (opt-in where the section requires it).
Raw inputSchema (JSON)
{
  "type": "object",
  "properties": {
    "near": {
      "type": "string",
      "description": "Where (free text, or \"near me\"). Picks the city for the who-else layer (DC default)."
    },
    "include_ai": {
      "type": "boolean",
      "description": "Include the labeled AI helper rows (opt-in where the section requires it)."
    }
  }
}

Example request

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

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

{
  "section": "homes",
  "display": "Homes who else?",
  "section_title": "**Homes** who else?",
  "signature": {
    "type": "options",
    "title": "Price on the map",
    "items": [
      {
        "label": "Rent",
        "example": true,
        "detail": "$2,400",
        "extra": "2 bd"
      },
      {
        "label": "Rent",
        "example": true,
        "detail": "$3,200",
        "extra": "3 bd"
      },
      "… 1 more"
    ]
  },
  "supply": {
    "person": 5,
    "business": 1,
    "agent": 2,
    "example": true,
    "source": "nearby_priors"
  },
  "format": {
    "family": "stays",
    "name": "Stays search + photo listing cards + map split",
    "l1": {
      "tabs": [
        "Stays",
        "Rent",
        "… 1 more"
      ],
      "pill": [
        "Where to?",
        "Any week · Add guests"
      ],
      "chips": [
        [
          "🌳",
          "Near the park"
        ],
        [
          "🏙",
          "City views"
        ],
        "… 3 more"
      ],
      "items": [
        {
          "t": "Loft by the park",
          "sub": "Dupont Circle · 1 bed",
          "price": "$142",
          "per": "night",
          "who": "3 others also looking"
        },
        {
          "t": "Garden flat",
          "sub": "Logan Circle · 2 beds",
          "price": "$188",
          "per": "night"
        },
        "… 1 more"
      ]
    },
    "l2": {
      "filters": [
        "Filters",
        "Price",
        "… 3 more"
      ],
      "count": "24 stays in Dupont Circle",
      "primary": "Reserve · $142 night"
    },
    "example": true
  },
  "feed": [
    {
      "kind": "person",
      "name": "Example neighbor also looking for housing",
      "side_id": "HOUSING.seeker",
      "label": "Needs a place",
      "snippet": "Example neighbor: real people show here once they post.",
      "example": true,
      "miles": 1.8
    },
    {
      "kind": "person",
      "name": "Example housing person in DC",
      "side_id": "HOUSING.host",
      "label": "Has a place",
      "snippet": "Example neighbor: real people show here once they post.",
      "example": true,
      "miles": 1.5
    },
    "… 5 more"
  ],
  "example": true,
  "parity": {
    "visual_request": "/api/ask?base=HOUSING&city=DC&layout=landing",
    "section_id": "homes"
  }
}
Response shape (inferred from this example)
PathType
$object
$.sectionstring
$.displaystring
$.section_titlestring
$.signatureobject
$.signature.typestring
$.signature.titlestring
$.signature.itemsarray
$.signature.items[]object
$.supplyobject
$.supply.personnumber
$.supply.businessnumber
$.supply.agentnumber
$.supply.exampleboolean
$.supply.sourcestring
$.formatobject
$.format.familystring
$.format.namestring
$.format.l1object
$.format.l1.tabsarray
$.format.l1.pillarray
$.format.l1.chipsarray
$.format.l1.itemsarray
$.format.l2object
$.format.l2.filtersarray
$.format.l2.countstring
$.format.l2.primarystring
$.format.exampleboolean
$.feedarray
$.feed[]object
$.feed[].kindstring
$.feed[].namestring
$.feed[].side_idstring
$.feed[].labelstring
$.feed[].snippetstring
$.feed[].exampleboolean
$.feed[].milesnumber
$.exampleboolean
$.parityobject
$.parity.visual_requeststring
$.parity.section_idstring

section_action · Section action

read-only idempotent

The section's own action (search_listings: "Price on the map") with the given slots. Example data stays labeled; hand-offs are links.

Input schema

ArgumentTypeRequiredNotes
paramsobjectoptionalGrammar slots (key → value), e.g. {"destination":"airport","departure":"tomorrow"}. Off-grammar values are ignored and echoed in `ignored`.
detailobjectoptionalFree detail per slot, e.g. {"destination":"JFK"}. Screened; never shown as an address.
nearstringoptionalWhere (free text, or "near me"). Picks the city for the who-else layer (DC default).
whenstringoptionalOne of: now tonight today tomorrow weekend
sidestringoptionalWho else to show: "everyone" or one side label from understand.sides.
lanesstringoptionalOne of: person,business,agent person,business person person,agent
scopestringoptionalBuilding/company/school/block; membership isn't verified yet, so scoped people rows stay empty.
One of: building company school block
itemstringoptionalAnything specific (a book title, "2 bedrooms").
include_aibooleanoptionalInclude the labeled AI helper rows (opt-in where the section requires it).
actionstringoptionalOne of: search_listings
Raw inputSchema (JSON)
{
  "type": "object",
  "properties": {
    "params": {
      "type": "object",
      "description": "Grammar slots (key → value), e.g. {\"destination\":\"airport\",\"departure\":\"tomorrow\"}. Off-grammar values are ignored and echoed in `ignored`."
    },
    "detail": {
      "type": "object",
      "description": "Free detail per slot, e.g. {\"destination\":\"JFK\"}. Screened; never shown as an address."
    },
    "near": {
      "type": "string",
      "description": "Where (free text, or \"near me\"). Picks the city for the who-else layer (DC default)."
    },
    "when": {
      "type": "string",
      "enum": [
        "now",
        "tonight",
        "today",
        "tomorrow",
        "weekend"
      ]
    },
    "side": {
      "type": "string",
      "description": "Who else to show: \"everyone\" or one side label from understand.sides."
    },
    "lanes": {
      "type": "string",
      "enum": [
        "person,business,agent",
        "person,business",
        "person",
        "person,agent"
      ]
    },
    "scope": {
      "type": "string",
      "enum": [
        "building",
        "company",
        "school",
        "block"
      ],
      "description": "Building/company/school/block; membership isn't verified yet, so scoped people rows stay empty."
    },
    "item": {
      "type": "string",
      "description": "Anything specific (a book title, \"2 bedrooms\")."
    },
    "include_ai": {
      "type": "boolean",
      "description": "Include the labeled AI helper rows (opt-in where the section requires it)."
    },
    "action": {
      "type": "string",
      "enum": [
        "search_listings"
      ]
    }
  }
}

Example request

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

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

{
  "section": "homes",
  "action": "search_listings",
  "label": "Price on the map",
  "base": {
    "title": "Price on the map",
    "type": "options",
    "items": [
      {
        "label": "Rent",
        "example": true,
        "detail": "$2,400",
        "extra": "2 bd"
      },
      {
        "label": "Rent",
        "example": true,
        "detail": "$3,200",
        "extra": "3 bd"
      },
      "… 1 more"
    ],
    "example": true,
    "action": {
      "label": "Find housing",
      "kind": "service",
      "service_like": "Zillow"
    },
    "handoff": {
      "links": [
        {
          "provider": "Zillow",
          "label": "Search rentals in Zillow",
          "url": "https://www.zillow.com/homes/for_rent/Washington%2C%20DC_rb/"
        }
      ],
      "note": "Opens the provider with your details filled in. Prices and availability are theirs; whoelse doesn't book or pay."
    },
    "note": "Example rows are labeled. Real prices and availability are only on the provider's side of the link."
  },
  "card": {
    "query": "Homes who else?",
    "grammar": "AIRBNB who else?",
    "kv": [
      "deal=rent",
      "dates=next week",
      "… 6 more"
    ]
  }
}
Response shape (inferred from this example)
PathType
$object
$.sectionstring
$.actionstring
$.labelstring
$.baseobject
$.base.titlestring
$.base.typestring
$.base.itemsarray
$.base.items[]object
$.base.exampleboolean
$.base.actionobject
$.base.action.labelstring
$.base.action.kindstring
$.base.action.service_likestring
$.base.handoffobject
$.base.handoff.linksarray
$.base.handoff.notestring
$.base.notestring
$.cardobject
$.card.querystring
$.card.grammarstring
$.card.kvarray
$.card.kv[]string

book · Hand-off link

read-only idempotent

Hand-off only: returns a prefilled provider link. whoelse never books, pays or confirms availability.

Input schema

ArgumentTypeRequiredNotes
paramsobjectoptionalGrammar slots (key → value), e.g. {"destination":"airport","departure":"tomorrow"}. Off-grammar values are ignored and echoed in `ignored`.
detailobjectoptionalFree detail per slot, e.g. {"destination":"JFK"}. Screened; never shown as an address.
nearstringoptionalWhere (free text, or "near me"). Picks the city for the who-else layer (DC default).
whenstringoptionalOne of: now tonight today tomorrow weekend
sidestringoptionalWho else to show: "everyone" or one side label from understand.sides.
lanesstringoptionalOne of: person,business,agent person,business person person,agent
scopestringoptionalBuilding/company/school/block; membership isn't verified yet, so scoped people rows stay empty.
One of: building company school block
itemstringoptionalAnything specific (a book title, "2 bedrooms").
include_aibooleanoptionalInclude the labeled AI helper rows (opt-in where the section requires it).
Raw inputSchema (JSON)
{
  "type": "object",
  "properties": {
    "params": {
      "type": "object",
      "description": "Grammar slots (key → value), e.g. {\"destination\":\"airport\",\"departure\":\"tomorrow\"}. Off-grammar values are ignored and echoed in `ignored`."
    },
    "detail": {
      "type": "object",
      "description": "Free detail per slot, e.g. {\"destination\":\"JFK\"}. Screened; never shown as an address."
    },
    "near": {
      "type": "string",
      "description": "Where (free text, or \"near me\"). Picks the city for the who-else layer (DC default)."
    },
    "when": {
      "type": "string",
      "enum": [
        "now",
        "tonight",
        "today",
        "tomorrow",
        "weekend"
      ]
    },
    "side": {
      "type": "string",
      "description": "Who else to show: \"everyone\" or one side label from understand.sides."
    },
    "lanes": {
      "type": "string",
      "enum": [
        "person,business,agent",
        "person,business",
        "person",
        "person,agent"
      ]
    },
    "scope": {
      "type": "string",
      "enum": [
        "building",
        "company",
        "school",
        "block"
      ],
      "description": "Building/company/school/block; membership isn't verified yet, so scoped people rows stay empty."
    },
    "item": {
      "type": "string",
      "description": "Anything specific (a book title, \"2 bedrooms\")."
    },
    "include_ai": {
      "type": "boolean",
      "description": "Include the labeled AI helper rows (opt-in where the section requires it)."
    }
  }
}

Example request

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

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

{
  "section": "homes",
  "booked": false,
  "handoff": {
    "links": [
      {
        "provider": "Zillow",
        "label": "Search rentals in Zillow",
        "url": "https://www.zillow.com/homes/for_rent/Washington%2C%20DC_rb/"
      }
    ],
    "note": "Opens the provider with your details filled in. Prices and availability are theirs; whoelse doesn't book or pay."
  },
  "card": {
    "query": "Homes who else?",
    "grammar": "AIRBNB who else?",
    "kv": [
      "deal=rent",
      "dates=next week",
      "… 5 more"
    ]
  }
}
Response shape (inferred from this example)
PathType
$object
$.sectionstring
$.bookedboolean
$.handoffobject
$.handoff.linksarray
$.handoff.links[]object
$.handoff.notestring
$.cardobject
$.card.querystring
$.card.grammarstring
$.card.kvarray
$.card.kv[]string

post_my_ask · Post my ask

write needs x-whoelse-client

Post your Homes ask so the next person sees you in the who-else layer (people lane, here and in the visual section). Screened: contact details, links and addresses hold it for review. Needs x-whoelse-client (≥16 chars) or a sign-in token.

Input schema

ArgumentTypeRequiredNotes
paramsobjectoptionalGrammar slots (key → value), e.g. {"destination":"airport","departure":"tomorrow"}. Off-grammar values are ignored and echoed in `ignored`.
detailobjectoptionalFree detail per slot, e.g. {"destination":"JFK"}. Screened; never shown as an address.
nearstringoptionalWhere (free text, or "near me"). Picks the city for the who-else layer (DC default).
whenstringoptionalOne of: now tonight today tomorrow weekend
sidestringoptionalWho else to show: "everyone" or one side label from understand.sides.
lanesstringoptionalOne of: person,business,agent person,business person person,agent
scopestringoptionalBuilding/company/school/block; membership isn't verified yet, so scoped people rows stay empty.
One of: building company school block
itemstringoptionalAnything specific (a book title, "2 bedrooms").
include_aibooleanoptionalInclude the labeled AI helper rows (opt-in where the section requires it).
notestringoptionalOptional short note (≤300 chars).
Raw inputSchema (JSON)
{
  "type": "object",
  "properties": {
    "params": {
      "type": "object",
      "description": "Grammar slots (key → value), e.g. {\"destination\":\"airport\",\"departure\":\"tomorrow\"}. Off-grammar values are ignored and echoed in `ignored`."
    },
    "detail": {
      "type": "object",
      "description": "Free detail per slot, e.g. {\"destination\":\"JFK\"}. Screened; never shown as an address."
    },
    "near": {
      "type": "string",
      "description": "Where (free text, or \"near me\"). Picks the city for the who-else layer (DC default)."
    },
    "when": {
      "type": "string",
      "enum": [
        "now",
        "tonight",
        "today",
        "tomorrow",
        "weekend"
      ]
    },
    "side": {
      "type": "string",
      "description": "Who else to show: \"everyone\" or one side label from understand.sides."
    },
    "lanes": {
      "type": "string",
      "enum": [
        "person,business,agent",
        "person,business",
        "person",
        "person,agent"
      ]
    },
    "scope": {
      "type": "string",
      "enum": [
        "building",
        "company",
        "school",
        "block"
      ],
      "description": "Building/company/school/block; membership isn't verified yet, so scoped people rows stay empty."
    },
    "item": {
      "type": "string",
      "description": "Anything specific (a book title, \"2 bedrooms\")."
    },
    "include_ai": {
      "type": "boolean",
      "description": "Include the labeled AI helper rows (opt-in where the section requires it)."
    },
    "note": {
      "type": "string",
      "description": "Optional short note (≤300 chars)."
    }
  }
}

Example request

{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "post_my_ask",
    "arguments": {}
  }
}
The same call with curl
curl -sX POST https://<api-host>/api/mcp/homes \
  -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":"post_my_ask","arguments":{}}}'

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

my_asks · My asks

read-only idempotent

Your posted asks (by client key or sign-in) with their status and any 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/homes \
  -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)

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

contact · Send a note

write needs x-whoelse-client

Send a short screened note to the person behind a real posted ask (ask_id from search). Example rows can't be contacted.

Input schema

ArgumentTypeRequiredNotes
ask_idstringrequired
messagestringrequired
Raw inputSchema (JSON)
{
  "type": "object",
  "properties": {
    "ask_id": {
      "type": "string"
    },
    "message": {
      "type": "string"
    }
  },
  "required": [
    "ask_id",
    "message"
  ]
}

Example request

{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "contact",
    "arguments": {
      "ask_id": "example",
      "message": "example"
    }
  }
}
The same call with curl
curl -sX POST https://<api-host>/api/mcp/homes \
  -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":"contact","arguments":{"ask_id":"example","message":"example"}}}'

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

report · Report an ask

write needs x-whoelse-client

Report a posted ask. Two reports hide it.

Input schema

ArgumentTypeRequiredNotes
ask_idstringrequired
reasonstringoptionalOne of: spam fake harassment unsafe other
Raw inputSchema (JSON)
{
  "type": "object",
  "properties": {
    "ask_id": {
      "type": "string"
    },
    "reason": {
      "type": "string",
      "enum": [
        "spam",
        "fake",
        "harassment",
        "unsafe",
        "other"
      ]
    }
  },
  "required": [
    "ask_id"
  ]
}

Example request

{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "report",
    "arguments": {
      "ask_id": "example"
    }
  }
}
The same call with curl
curl -sX POST https://<api-host>/api/mcp/homes \
  -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":"report","arguments":{"ask_id":"example"}}}'

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

withdraw_ask · Withdraw my ask

destructive write needs x-whoelse-client

Take down one of your own posted asks.

Input schema

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

Example request

{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "withdraw_ask",
    "arguments": {
      "ask_id": "example"
    }
  }
}
The same call with curl
curl -sX POST https://<api-host>/api/mcp/homes \
  -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":"withdraw_ask","arguments":{"ask_id":"example"}}}'

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

Date /api/mcp/date

Date who else? · v0.3 DATE grammar. Tools: understand whats_on search section_action book post_my_ask my_asks contact report withdraw_ask

understand · Understand a request

read-only idempotent

Parse a plain-language Date ask into "Date who else?" slots (v0.3 DATE grammar). Returns the filled slots, what to ask next, the side labels and an emergency block when needed.

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": "understand",
    "arguments": {
      "text": "a casual date tonight, dinner"
    }
  }
}
The same call with curl
curl -sX POST https://<api-host>/api/mcp/date \
  -H "content-type: application/json" -H "accept: application/json, text/event-stream" \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"understand","arguments":{"text":"a casual date tonight, dinner"}}}'

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

{
  "section": "date",
  "display": "Date who else?",
  "token": "DATE",
  "grammar": {
    "entry": "DATE",
    "n": 308
  },
  "understood_by": "grammar",
  "slots": [
    {
      "key": "date-type",
      "label": "Kind of date",
      "value": "dinner date",
      "source": "said"
    },
    {
      "key": "format",
      "label": "Format",
      "value": "in person",
      "source": "default"
    },
    "… 4 more"
  ],
  "house": [
    {
      "key": "when",
      "value": "tonight",
      "source": "said"
    },
    {
      "key": "near",
      "value": "near me",
      "source": "default"
    },
    "… 2 more"
  ],
  "said": [
    "date-type",
    "date",
    "… 1 more"
  ],
  "next": [
    {
      "key": "format",
      "label": "Format",
      "q": "In person, or start with a video or phone call?",
      "values": [
        "in person",
        "video date",
        "… 2 more"
      ],
      "default": "in person"
    },
    {
      "key": "safety",
      "label": "Safety",
      "q": "How do you want to keep it safe?",
      "values": [
        "public place",
        "verified",
        "… 3 more"
      ],
      "default": "public place"
    },
    "… 1 more"
  ],
  "sides": [
    {
      "side_id": "DATE.looking",
      "role": "wants",
      "label": "Also looking",
      "responders": [
        "person"
      ]
    },
    {
      "side_id": "DATE.open",
      "role": "does",
      "label": "Open to a date",
      "responders": [
        "person",
        "agent"
      ]
    },
    "… 1 more"
  ],
  "card": {
    "query": "Date who else?",
    "grammar": "DATE who else?",
    "kv": [
      "date-type=dinner date",
      "format=in person",
      "… 8 more"
    ]
  },
  "params": {
    "date-type": "dinner date",
    "date": "tonight",
    "format": "in person",
    "location": "near me",
    "safety": "public place",
    "budget": "split bill",
    "when": "tonight",
    "near": "near me",
    "side": "everyone",
    "lanes": "person,business,agent"
  },
  "detail": {}
}
Response shape (inferred from this example)
PathType
$object
$.sectionstring
$.displaystring
$.tokenstring
$.grammarobject
$.grammar.entrystring
$.grammar.nnumber
$.understood_bystring
$.slotsarray
$.slots[]object
$.slots[].keystring
$.slots[].labelstring
$.slots[].valuestring
$.slots[].sourcestring
$.housearray
$.house[]object
$.house[].keystring
$.house[].valuestring
$.house[].sourcestring
$.saidarray
$.said[]string
$.nextarray
$.next[]object
$.next[].keystring
$.next[].labelstring
$.next[].qstring
$.next[].valuesarray
$.next[].defaultstring
$.sidesarray
$.sides[]object
$.sides[].side_idstring
$.sides[].rolestring
$.sides[].labelstring
$.sides[].respondersarray
$.cardobject
$.card.querystring
$.card.grammarstring
$.card.kvarray
$.card.kv[]string
$.paramsobject
$.params.date-typestring
$.params.datestring
$.params.formatstring
$.params.locationstring
$.params.safetystring
$.params.budgetstring
$.params.whenstring
$.params.nearstring
$.params.sidestring
$.params.lanesstring
$.detailobject

whats_on · What's on now

read-only idempotent

The Date section as the visual app shows it right now (signature block, supply, who-else rows). Same request as the visual section.

Input schema

ArgumentTypeRequiredNotes
nearstringoptionalWhere (free text, or "near me"). Picks the city for the who-else layer (DC default).
include_aibooleanoptionalInclude the labeled AI helper rows (opt-in where the section requires it).
Raw inputSchema (JSON)
{
  "type": "object",
  "properties": {
    "near": {
      "type": "string",
      "description": "Where (free text, or \"near me\"). Picks the city for the who-else layer (DC default)."
    },
    "include_ai": {
      "type": "boolean",
      "description": "Include the labeled AI helper rows (opt-in where the section requires it)."
    }
  }
}

Example request

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

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

{
  "section": "date",
  "display": "Date who else?",
  "section_title": "**Date** who else?",
  "signature": {
    "type": "options",
    "title": "Tonight's plans",
    "items": []
  },
  "supply": null,
  "format": null,
  "feed": [],
  "example": false,
  "parity": {
    "visual_request": "/api/ask?base=DATE&city=DC&layout=landing",
    "section_id": "date"
  }
}
Response shape (inferred from this example)
PathType
$object
$.sectionstring
$.displaystring
$.section_titlestring
$.signatureobject
$.signature.typestring
$.signature.titlestring
$.signature.itemsarray
$.supplynull
$.formatnull
$.feedarray
$.exampleboolean
$.parityobject
$.parity.visual_requeststring
$.parity.section_idstring

section_action · Section action

read-only idempotent

The section's own action (tonight_plans: "Tonight's plans") with the given slots. Example data stays labeled; hand-offs are links.

Input schema

ArgumentTypeRequiredNotes
paramsobjectoptionalGrammar slots (key → value), e.g. {"destination":"airport","departure":"tomorrow"}. Off-grammar values are ignored and echoed in `ignored`.
detailobjectoptionalFree detail per slot, e.g. {"destination":"JFK"}. Screened; never shown as an address.
nearstringoptionalWhere (free text, or "near me"). Picks the city for the who-else layer (DC default).
whenstringoptionalOne of: now tonight today tomorrow weekend
sidestringoptionalWho else to show: "everyone" or one side label from understand.sides.
lanesstringoptionalOne of: person,business,agent person,business person person,agent
scopestringoptionalBuilding/company/school/block; membership isn't verified yet, so scoped people rows stay empty.
One of: building company school block
itemstringoptionalAnything specific (a book title, "2 bedrooms").
include_aibooleanoptionalInclude the labeled AI helper rows (opt-in where the section requires it).
actionstringoptionalOne of: tonight_plans
Raw inputSchema (JSON)
{
  "type": "object",
  "properties": {
    "params": {
      "type": "object",
      "description": "Grammar slots (key → value), e.g. {\"destination\":\"airport\",\"departure\":\"tomorrow\"}. Off-grammar values are ignored and echoed in `ignored`."
    },
    "detail": {
      "type": "object",
      "description": "Free detail per slot, e.g. {\"destination\":\"JFK\"}. Screened; never shown as an address."
    },
    "near": {
      "type": "string",
      "description": "Where (free text, or \"near me\"). Picks the city for the who-else layer (DC default)."
    },
    "when": {
      "type": "string",
      "enum": [
        "now",
        "tonight",
        "today",
        "tomorrow",
        "weekend"
      ]
    },
    "side": {
      "type": "string",
      "description": "Who else to show: \"everyone\" or one side label from understand.sides."
    },
    "lanes": {
      "type": "string",
      "enum": [
        "person,business,agent",
        "person,business",
        "person",
        "person,agent"
      ]
    },
    "scope": {
      "type": "string",
      "enum": [
        "building",
        "company",
        "school",
        "block"
      ],
      "description": "Building/company/school/block; membership isn't verified yet, so scoped people rows stay empty."
    },
    "item": {
      "type": "string",
      "description": "Anything specific (a book title, \"2 bedrooms\")."
    },
    "include_ai": {
      "type": "boolean",
      "description": "Include the labeled AI helper rows (opt-in where the section requires it)."
    },
    "action": {
      "type": "string",
      "enum": [
        "tonight_plans"
      ]
    }
  }
}

Example request

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

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

{
  "section": "date",
  "action": "tonight_plans",
  "label": "Tonight's plans",
  "base": {
    "title": "Tonight's plans",
    "type": "options",
    "items": [],
    "example": false,
    "action": {
      "label": "Browse profiles",
      "kind": "service",
      "service_like": "Tinder"
    },
    "handoff": null,
    "note": "No example rows. Nothing is listed here until there is real data."
  },
  "card": {
    "query": "Date who else?",
    "grammar": "DATE who else?",
    "kv": [
      "date-type=casual date",
      "format=in person",
      "… 8 more"
    ]
  }
}
Response shape (inferred from this example)
PathType
$object
$.sectionstring
$.actionstring
$.labelstring
$.baseobject
$.base.titlestring
$.base.typestring
$.base.itemsarray
$.base.exampleboolean
$.base.actionobject
$.base.action.labelstring
$.base.action.kindstring
$.base.action.service_likestring
$.base.handoffnull
$.base.notestring
$.cardobject
$.card.querystring
$.card.grammarstring
$.card.kvarray
$.card.kv[]string

book · Hand-off link

read-only idempotent

Hand-off only: returns a prefilled provider link. whoelse never books, pays or confirms availability.

Input schema

ArgumentTypeRequiredNotes
paramsobjectoptionalGrammar slots (key → value), e.g. {"destination":"airport","departure":"tomorrow"}. Off-grammar values are ignored and echoed in `ignored`.
detailobjectoptionalFree detail per slot, e.g. {"destination":"JFK"}. Screened; never shown as an address.
nearstringoptionalWhere (free text, or "near me"). Picks the city for the who-else layer (DC default).
whenstringoptionalOne of: now tonight today tomorrow weekend
sidestringoptionalWho else to show: "everyone" or one side label from understand.sides.
lanesstringoptionalOne of: person,business,agent person,business person person,agent
scopestringoptionalBuilding/company/school/block; membership isn't verified yet, so scoped people rows stay empty.
One of: building company school block
itemstringoptionalAnything specific (a book title, "2 bedrooms").
include_aibooleanoptionalInclude the labeled AI helper rows (opt-in where the section requires it).
Raw inputSchema (JSON)
{
  "type": "object",
  "properties": {
    "params": {
      "type": "object",
      "description": "Grammar slots (key → value), e.g. {\"destination\":\"airport\",\"departure\":\"tomorrow\"}. Off-grammar values are ignored and echoed in `ignored`."
    },
    "detail": {
      "type": "object",
      "description": "Free detail per slot, e.g. {\"destination\":\"JFK\"}. Screened; never shown as an address."
    },
    "near": {
      "type": "string",
      "description": "Where (free text, or \"near me\"). Picks the city for the who-else layer (DC default)."
    },
    "when": {
      "type": "string",
      "enum": [
        "now",
        "tonight",
        "today",
        "tomorrow",
        "weekend"
      ]
    },
    "side": {
      "type": "string",
      "description": "Who else to show: \"everyone\" or one side label from understand.sides."
    },
    "lanes": {
      "type": "string",
      "enum": [
        "person,business,agent",
        "person,business",
        "person",
        "person,agent"
      ]
    },
    "scope": {
      "type": "string",
      "enum": [
        "building",
        "company",
        "school",
        "block"
      ],
      "description": "Building/company/school/block; membership isn't verified yet, so scoped people rows stay empty."
    },
    "item": {
      "type": "string",
      "description": "Anything specific (a book title, \"2 bedrooms\")."
    },
    "include_ai": {
      "type": "boolean",
      "description": "Include the labeled AI helper rows (opt-in where the section requires it)."
    }
  }
}

Example request

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

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

{
  "section": "date",
  "booked": false,
  "handoff": null,
  "message": "There's no provider hand-off for Date yet. Post your ask so people who are also looking can find you."
}
Response shape (inferred from this example)
PathType
$object
$.sectionstring
$.bookedboolean
$.handoffnull
$.messagestring

post_my_ask · Post my ask

write needs x-whoelse-client

Post your Date ask so the next person sees you in the who-else layer (people lane, here and in the visual section). Screened: contact details, links and addresses hold it for review. Needs x-whoelse-client (≥16 chars) or a sign-in token.

Input schema

ArgumentTypeRequiredNotes
paramsobjectoptionalGrammar slots (key → value), e.g. {"destination":"airport","departure":"tomorrow"}. Off-grammar values are ignored and echoed in `ignored`.
detailobjectoptionalFree detail per slot, e.g. {"destination":"JFK"}. Screened; never shown as an address.
nearstringoptionalWhere (free text, or "near me"). Picks the city for the who-else layer (DC default).
whenstringoptionalOne of: now tonight today tomorrow weekend
sidestringoptionalWho else to show: "everyone" or one side label from understand.sides.
lanesstringoptionalOne of: person,business,agent person,business person person,agent
scopestringoptionalBuilding/company/school/block; membership isn't verified yet, so scoped people rows stay empty.
One of: building company school block
itemstringoptionalAnything specific (a book title, "2 bedrooms").
include_aibooleanoptionalInclude the labeled AI helper rows (opt-in where the section requires it).
notestringoptionalOptional short note (≤300 chars).
Raw inputSchema (JSON)
{
  "type": "object",
  "properties": {
    "params": {
      "type": "object",
      "description": "Grammar slots (key → value), e.g. {\"destination\":\"airport\",\"departure\":\"tomorrow\"}. Off-grammar values are ignored and echoed in `ignored`."
    },
    "detail": {
      "type": "object",
      "description": "Free detail per slot, e.g. {\"destination\":\"JFK\"}. Screened; never shown as an address."
    },
    "near": {
      "type": "string",
      "description": "Where (free text, or \"near me\"). Picks the city for the who-else layer (DC default)."
    },
    "when": {
      "type": "string",
      "enum": [
        "now",
        "tonight",
        "today",
        "tomorrow",
        "weekend"
      ]
    },
    "side": {
      "type": "string",
      "description": "Who else to show: \"everyone\" or one side label from understand.sides."
    },
    "lanes": {
      "type": "string",
      "enum": [
        "person,business,agent",
        "person,business",
        "person",
        "person,agent"
      ]
    },
    "scope": {
      "type": "string",
      "enum": [
        "building",
        "company",
        "school",
        "block"
      ],
      "description": "Building/company/school/block; membership isn't verified yet, so scoped people rows stay empty."
    },
    "item": {
      "type": "string",
      "description": "Anything specific (a book title, \"2 bedrooms\")."
    },
    "include_ai": {
      "type": "boolean",
      "description": "Include the labeled AI helper rows (opt-in where the section requires it)."
    },
    "note": {
      "type": "string",
      "description": "Optional short note (≤300 chars)."
    }
  }
}

Example request

{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "post_my_ask",
    "arguments": {}
  }
}
The same call with curl
curl -sX POST https://<api-host>/api/mcp/date \
  -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":"post_my_ask","arguments":{}}}'

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

my_asks · My asks

read-only idempotent

Your posted asks (by client key or sign-in) with their status and any 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/date \
  -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)

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

contact · Send a note

write needs x-whoelse-client

Send a short screened note to the person behind a real posted ask (ask_id from search). Example rows can't be contacted.

Input schema

ArgumentTypeRequiredNotes
ask_idstringrequired
messagestringrequired
Raw inputSchema (JSON)
{
  "type": "object",
  "properties": {
    "ask_id": {
      "type": "string"
    },
    "message": {
      "type": "string"
    }
  },
  "required": [
    "ask_id",
    "message"
  ]
}

Example request

{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "contact",
    "arguments": {
      "ask_id": "example",
      "message": "example"
    }
  }
}
The same call with curl
curl -sX POST https://<api-host>/api/mcp/date \
  -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":"contact","arguments":{"ask_id":"example","message":"example"}}}'

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

report · Report an ask

write needs x-whoelse-client

Report a posted ask. Two reports hide it.

Input schema

ArgumentTypeRequiredNotes
ask_idstringrequired
reasonstringoptionalOne of: spam fake harassment unsafe other
Raw inputSchema (JSON)
{
  "type": "object",
  "properties": {
    "ask_id": {
      "type": "string"
    },
    "reason": {
      "type": "string",
      "enum": [
        "spam",
        "fake",
        "harassment",
        "unsafe",
        "other"
      ]
    }
  },
  "required": [
    "ask_id"
  ]
}

Example request

{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "report",
    "arguments": {
      "ask_id": "example"
    }
  }
}
The same call with curl
curl -sX POST https://<api-host>/api/mcp/date \
  -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":"report","arguments":{"ask_id":"example"}}}'

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

withdraw_ask · Withdraw my ask

destructive write needs x-whoelse-client

Take down one of your own posted asks.

Input schema

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

Example request

{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "withdraw_ask",
    "arguments": {
      "ask_id": "example"
    }
  }
}
The same call with curl
curl -sX POST https://<api-host>/api/mcp/date \
  -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":"withdraw_ask","arguments":{"ask_id":"example"}}}'

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

Wine /api/mcp/wine

Wine who else? · v0.3 WINE grammar. Tools: understand whats_on search section_action book post_my_ask my_asks contact report withdraw_ask

understand · Understand a request

read-only idempotent

Parse a plain-language Wine ask into "Wine who else?" slots (v0.3 WINE grammar). Returns the filled slots, what to ask next, the side labels and an emergency block when needed.

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": "understand",
    "arguments": {
      "text": "wine bar tonight near me"
    }
  }
}
The same call with curl
curl -sX POST https://<api-host>/api/mcp/wine \
  -H "content-type: application/json" -H "accept: application/json, text/event-stream" \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"understand","arguments":{"text":"wine bar tonight near me"}}}'

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

{
  "section": "wine",
  "display": "Wine who else?",
  "token": "WINE",
  "grammar": {
    "entry": "WINE",
    "n": 78
  },
  "understood_by": "grammar",
  "slots": [
    {
      "key": "fulfillment",
      "label": "How",
      "value": "dine in",
      "source": "said"
    },
    {
      "key": "price",
      "label": "Price",
      "value": "$$",
      "source": "default"
    },
    "… 1 more"
  ],
  "house": [
    {
      "key": "when",
      "value": "tonight",
      "source": "said"
    },
    {
      "key": "near",
      "value": "near me",
      "source": "said"
    },
    "… 2 more"
  ],
  "said": [
    "fulfillment",
    "hours",
    "… 2 more"
  ],
  "next": [
    {
      "key": "wine-item",
      "label": "Wine",
      "q": "Red, white, sparkling, natural, or a tasting?",
      "values": [
        "red",
        "white",
        "… 3 more"
      ]
    },
    {
      "key": "price",
      "label": "Price",
      "q": "Price range?",
      "values": [
        "$",
        "$$",
        "… 4 more"
      ],
      "default": "$$"
    },
    "… 1 more"
  ],
  "sides": [
    {
      "side_id": "WINE.seeking",
      "role": "wants",
      "label": "Wants a glass",
      "responders": [
        "person"
      ]
    },
    {
      "side_id": "WINE.going",
      "role": "does",
      "label": "Opening a bottle",
      "responders": [
        "person"
      ]
    },
    "… 1 more"
  ],
  "card": {
    "query": "Wine who else?",
    "grammar": "WINE who else?",
    "kv": [
      "fulfillment=dine in",
      "price=$$",
      "… 5 more"
    ]
  },
  "params": {
    "fulfillment": "dine in",
    "hours": "evening",
    "price": "$$",
    "when": "tonight",
    "near": "near me",
    "side": "everyone",
    "lanes": "person,business,agent"
  },
  "detail": {}
}
Response shape (inferred from this example)
PathType
$object
$.sectionstring
$.displaystring
$.tokenstring
$.grammarobject
$.grammar.entrystring
$.grammar.nnumber
$.understood_bystring
$.slotsarray
$.slots[]object
$.slots[].keystring
$.slots[].labelstring
$.slots[].valuestring
$.slots[].sourcestring
$.housearray
$.house[]object
$.house[].keystring
$.house[].valuestring
$.house[].sourcestring
$.saidarray
$.said[]string
$.nextarray
$.next[]object
$.next[].keystring
$.next[].labelstring
$.next[].qstring
$.next[].valuesarray
$.sidesarray
$.sides[]object
$.sides[].side_idstring
$.sides[].rolestring
$.sides[].labelstring
$.sides[].respondersarray
$.cardobject
$.card.querystring
$.card.grammarstring
$.card.kvarray
$.card.kv[]string
$.paramsobject
$.params.fulfillmentstring
$.params.hoursstring
$.params.pricestring
$.params.whenstring
$.params.nearstring
$.params.sidestring
$.params.lanesstring
$.detailobject

whats_on · What's on now

read-only idempotent

The Wine section as the visual app shows it right now (signature block, supply, who-else rows). Same request as the visual section.

Input schema

ArgumentTypeRequiredNotes
nearstringoptionalWhere (free text, or "near me"). Picks the city for the who-else layer (DC default).
include_aibooleanoptionalInclude the labeled AI helper rows (opt-in where the section requires it).
Raw inputSchema (JSON)
{
  "type": "object",
  "properties": {
    "near": {
      "type": "string",
      "description": "Where (free text, or \"near me\"). Picks the city for the who-else layer (DC default)."
    },
    "include_ai": {
      "type": "boolean",
      "description": "Include the labeled AI helper rows (opt-in where the section requires it)."
    }
  }
}

Example request

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

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

{
  "section": "wine",
  "display": "Wine who else?",
  "section_title": "**Wine** who else?",
  "signature": {
    "type": "list",
    "title": "Open by the glass tonight",
    "items": [
      {
        "label": "Vinewick Wine Bar",
        "example": true,
        "detail": "Natural · from $11"
      },
      {
        "label": "Cellarfox",
        "example": true,
        "detail": "Bordeaux · from $14"
      },
      "… 1 more"
    ]
  },
  "supply": {
    "person": 2,
    "business": 1,
    "agent": 1,
    "example": true,
    "source": "nearby_priors"
  },
  "format": {
    "family": "invented",
    "name": "Invented: section room + one obvious action",
    "cta": "Find a bar seat",
    "why": "A wine list for tonight: three bars, a glass each, seats free now.",
    "example": true
  },
  "feed": [
    {
      "kind": "person",
      "name": "Example neighbor also looking for wine",
      "side_id": "WINE.seeking",
      "label": "Wants a glass",
      "snippet": "Example neighbor: real people show here once they post.",
      "example": true,
      "miles": 1.9
    },
    {
      "kind": "person",
      "name": "Example wine person in DC",
      "side_id": "WINE.going",
      "label": "Opening a bottle",
      "snippet": "Example neighbor: real people show here once they post.",
      "example": true,
      "miles": 1
    },
    "… 3 more"
  ],
  "example": true,
  "parity": {
    "visual_request": "/api/ask?base=WINE&city=DC&layout=landing",
    "section_id": "wine"
  }
}
Response shape (inferred from this example)
PathType
$object
$.sectionstring
$.displaystring
$.section_titlestring
$.signatureobject
$.signature.typestring
$.signature.titlestring
$.signature.itemsarray
$.signature.items[]object
$.supplyobject
$.supply.personnumber
$.supply.businessnumber
$.supply.agentnumber
$.supply.exampleboolean
$.supply.sourcestring
$.formatobject
$.format.familystring
$.format.namestring
$.format.ctastring
$.format.whystring
$.format.exampleboolean
$.feedarray
$.feed[]object
$.feed[].kindstring
$.feed[].namestring
$.feed[].side_idstring
$.feed[].labelstring
$.feed[].snippetstring
$.feed[].exampleboolean
$.feed[].milesnumber
$.exampleboolean
$.parityobject
$.parity.visual_requeststring
$.parity.section_idstring

section_action · Section action

read-only idempotent

The section's own action (open_by_the_glass: "Open by the glass tonight") with the given slots. Example data stays labeled; hand-offs are links.

Input schema

ArgumentTypeRequiredNotes
paramsobjectoptionalGrammar slots (key → value), e.g. {"destination":"airport","departure":"tomorrow"}. Off-grammar values are ignored and echoed in `ignored`.
detailobjectoptionalFree detail per slot, e.g. {"destination":"JFK"}. Screened; never shown as an address.
nearstringoptionalWhere (free text, or "near me"). Picks the city for the who-else layer (DC default).
whenstringoptionalOne of: now tonight today tomorrow weekend
sidestringoptionalWho else to show: "everyone" or one side label from understand.sides.
lanesstringoptionalOne of: person,business,agent person,business person person,agent
scopestringoptionalBuilding/company/school/block; membership isn't verified yet, so scoped people rows stay empty.
One of: building company school block
itemstringoptionalAnything specific (a book title, "2 bedrooms").
include_aibooleanoptionalInclude the labeled AI helper rows (opt-in where the section requires it).
actionstringoptionalOne of: open_by_the_glass
Raw inputSchema (JSON)
{
  "type": "object",
  "properties": {
    "params": {
      "type": "object",
      "description": "Grammar slots (key → value), e.g. {\"destination\":\"airport\",\"departure\":\"tomorrow\"}. Off-grammar values are ignored and echoed in `ignored`."
    },
    "detail": {
      "type": "object",
      "description": "Free detail per slot, e.g. {\"destination\":\"JFK\"}. Screened; never shown as an address."
    },
    "near": {
      "type": "string",
      "description": "Where (free text, or \"near me\"). Picks the city for the who-else layer (DC default)."
    },
    "when": {
      "type": "string",
      "enum": [
        "now",
        "tonight",
        "today",
        "tomorrow",
        "weekend"
      ]
    },
    "side": {
      "type": "string",
      "description": "Who else to show: \"everyone\" or one side label from understand.sides."
    },
    "lanes": {
      "type": "string",
      "enum": [
        "person,business,agent",
        "person,business",
        "person",
        "person,agent"
      ]
    },
    "scope": {
      "type": "string",
      "enum": [
        "building",
        "company",
        "school",
        "block"
      ],
      "description": "Building/company/school/block; membership isn't verified yet, so scoped people rows stay empty."
    },
    "item": {
      "type": "string",
      "description": "Anything specific (a book title, \"2 bedrooms\")."
    },
    "include_ai": {
      "type": "boolean",
      "description": "Include the labeled AI helper rows (opt-in where the section requires it)."
    },
    "action": {
      "type": "string",
      "enum": [
        "open_by_the_glass"
      ]
    }
  }
}

Example request

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

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

{
  "section": "wine",
  "action": "open_by_the_glass",
  "label": "Open by the glass tonight",
  "base": {
    "title": "Open by the glass tonight",
    "type": "list",
    "items": [
      {
        "label": "Vinewick Wine Bar",
        "example": true,
        "detail": "Natural · from $11"
      },
      {
        "label": "Cellarfox",
        "example": true,
        "detail": "Bordeaux · from $14"
      },
      "… 1 more"
    ],
    "example": true,
    "action": {
      "label": "Find a wine bar",
      "kind": "service",
      "service_like": "Vivino"
    },
    "handoff": {
      "links": [
        {
          "provider": "Google Maps",
          "label": "Find a wine bar on Google Maps",
          "url": "https://www.google.com/maps/search/?api=1&query=wine%20bar%20near%20Washington%2C%20DC"
        }
      ],
      "note": "Opens the provider with your details filled in. Prices and availability are theirs; whoelse doesn't book or pay."
    },
    "note": "Example rows are labeled. Real prices and availability are only on the provider's side of the link."
  },
  "card": {
    "query": "Wine who else?",
    "grammar": "WINE who else?",
    "kv": [
      "fulfillment=dine in",
      "price=$$",
      "… 5 more"
    ]
  }
}
Response shape (inferred from this example)
PathType
$object
$.sectionstring
$.actionstring
$.labelstring
$.baseobject
$.base.titlestring
$.base.typestring
$.base.itemsarray
$.base.items[]object
$.base.exampleboolean
$.base.actionobject
$.base.action.labelstring
$.base.action.kindstring
$.base.action.service_likestring
$.base.handoffobject
$.base.handoff.linksarray
$.base.handoff.notestring
$.base.notestring
$.cardobject
$.card.querystring
$.card.grammarstring
$.card.kvarray
$.card.kv[]string

book · Hand-off link

read-only idempotent

Hand-off only: returns a prefilled provider link. whoelse never books, pays or confirms availability.

Input schema

ArgumentTypeRequiredNotes
paramsobjectoptionalGrammar slots (key → value), e.g. {"destination":"airport","departure":"tomorrow"}. Off-grammar values are ignored and echoed in `ignored`.
detailobjectoptionalFree detail per slot, e.g. {"destination":"JFK"}. Screened; never shown as an address.
nearstringoptionalWhere (free text, or "near me"). Picks the city for the who-else layer (DC default).
whenstringoptionalOne of: now tonight today tomorrow weekend
sidestringoptionalWho else to show: "everyone" or one side label from understand.sides.
lanesstringoptionalOne of: person,business,agent person,business person person,agent
scopestringoptionalBuilding/company/school/block; membership isn't verified yet, so scoped people rows stay empty.
One of: building company school block
itemstringoptionalAnything specific (a book title, "2 bedrooms").
include_aibooleanoptionalInclude the labeled AI helper rows (opt-in where the section requires it).
Raw inputSchema (JSON)
{
  "type": "object",
  "properties": {
    "params": {
      "type": "object",
      "description": "Grammar slots (key → value), e.g. {\"destination\":\"airport\",\"departure\":\"tomorrow\"}. Off-grammar values are ignored and echoed in `ignored`."
    },
    "detail": {
      "type": "object",
      "description": "Free detail per slot, e.g. {\"destination\":\"JFK\"}. Screened; never shown as an address."
    },
    "near": {
      "type": "string",
      "description": "Where (free text, or \"near me\"). Picks the city for the who-else layer (DC default)."
    },
    "when": {
      "type": "string",
      "enum": [
        "now",
        "tonight",
        "today",
        "tomorrow",
        "weekend"
      ]
    },
    "side": {
      "type": "string",
      "description": "Who else to show: \"everyone\" or one side label from understand.sides."
    },
    "lanes": {
      "type": "string",
      "enum": [
        "person,business,agent",
        "person,business",
        "person",
        "person,agent"
      ]
    },
    "scope": {
      "type": "string",
      "enum": [
        "building",
        "company",
        "school",
        "block"
      ],
      "description": "Building/company/school/block; membership isn't verified yet, so scoped people rows stay empty."
    },
    "item": {
      "type": "string",
      "description": "Anything specific (a book title, \"2 bedrooms\")."
    },
    "include_ai": {
      "type": "boolean",
      "description": "Include the labeled AI helper rows (opt-in where the section requires it)."
    }
  }
}

Example request

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

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

{
  "section": "wine",
  "booked": false,
  "handoff": {
    "links": [
      {
        "provider": "Google Maps",
        "label": "Find a wine bar on Google Maps",
        "url": "https://www.google.com/maps/search/?api=1&query=wine%20bar%20near%20Washington%2C%20DC"
      }
    ],
    "note": "Opens the provider with your details filled in. Prices and availability are theirs; whoelse doesn't book or pay."
  },
  "card": {
    "query": "Wine who else?",
    "grammar": "WINE who else?",
    "kv": [
      "fulfillment=dine in",
      "price=$$",
      "… 5 more"
    ]
  }
}
Response shape (inferred from this example)
PathType
$object
$.sectionstring
$.bookedboolean
$.handoffobject
$.handoff.linksarray
$.handoff.links[]object
$.handoff.notestring
$.cardobject
$.card.querystring
$.card.grammarstring
$.card.kvarray
$.card.kv[]string

post_my_ask · Post my ask

write needs x-whoelse-client

Post your Wine ask so the next person sees you in the who-else layer (people lane, here and in the visual section). Screened: contact details, links and addresses hold it for review. Needs x-whoelse-client (≥16 chars) or a sign-in token.

Input schema

ArgumentTypeRequiredNotes
paramsobjectoptionalGrammar slots (key → value), e.g. {"destination":"airport","departure":"tomorrow"}. Off-grammar values are ignored and echoed in `ignored`.
detailobjectoptionalFree detail per slot, e.g. {"destination":"JFK"}. Screened; never shown as an address.
nearstringoptionalWhere (free text, or "near me"). Picks the city for the who-else layer (DC default).
whenstringoptionalOne of: now tonight today tomorrow weekend
sidestringoptionalWho else to show: "everyone" or one side label from understand.sides.
lanesstringoptionalOne of: person,business,agent person,business person person,agent
scopestringoptionalBuilding/company/school/block; membership isn't verified yet, so scoped people rows stay empty.
One of: building company school block
itemstringoptionalAnything specific (a book title, "2 bedrooms").
include_aibooleanoptionalInclude the labeled AI helper rows (opt-in where the section requires it).
notestringoptionalOptional short note (≤300 chars).
Raw inputSchema (JSON)
{
  "type": "object",
  "properties": {
    "params": {
      "type": "object",
      "description": "Grammar slots (key → value), e.g. {\"destination\":\"airport\",\"departure\":\"tomorrow\"}. Off-grammar values are ignored and echoed in `ignored`."
    },
    "detail": {
      "type": "object",
      "description": "Free detail per slot, e.g. {\"destination\":\"JFK\"}. Screened; never shown as an address."
    },
    "near": {
      "type": "string",
      "description": "Where (free text, or \"near me\"). Picks the city for the who-else layer (DC default)."
    },
    "when": {
      "type": "string",
      "enum": [
        "now",
        "tonight",
        "today",
        "tomorrow",
        "weekend"
      ]
    },
    "side": {
      "type": "string",
      "description": "Who else to show: \"everyone\" or one side label from understand.sides."
    },
    "lanes": {
      "type": "string",
      "enum": [
        "person,business,agent",
        "person,business",
        "person",
        "person,agent"
      ]
    },
    "scope": {
      "type": "string",
      "enum": [
        "building",
        "company",
        "school",
        "block"
      ],
      "description": "Building/company/school/block; membership isn't verified yet, so scoped people rows stay empty."
    },
    "item": {
      "type": "string",
      "description": "Anything specific (a book title, \"2 bedrooms\")."
    },
    "include_ai": {
      "type": "boolean",
      "description": "Include the labeled AI helper rows (opt-in where the section requires it)."
    },
    "note": {
      "type": "string",
      "description": "Optional short note (≤300 chars)."
    }
  }
}

Example request

{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "post_my_ask",
    "arguments": {}
  }
}
The same call with curl
curl -sX POST https://<api-host>/api/mcp/wine \
  -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":"post_my_ask","arguments":{}}}'

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

my_asks · My asks

read-only idempotent

Your posted asks (by client key or sign-in) with their status and any 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/wine \
  -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)

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

contact · Send a note

write needs x-whoelse-client

Send a short screened note to the person behind a real posted ask (ask_id from search). Example rows can't be contacted.

Input schema

ArgumentTypeRequiredNotes
ask_idstringrequired
messagestringrequired
Raw inputSchema (JSON)
{
  "type": "object",
  "properties": {
    "ask_id": {
      "type": "string"
    },
    "message": {
      "type": "string"
    }
  },
  "required": [
    "ask_id",
    "message"
  ]
}

Example request

{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "contact",
    "arguments": {
      "ask_id": "example",
      "message": "example"
    }
  }
}
The same call with curl
curl -sX POST https://<api-host>/api/mcp/wine \
  -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":"contact","arguments":{"ask_id":"example","message":"example"}}}'

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

report · Report an ask

write needs x-whoelse-client

Report a posted ask. Two reports hide it.

Input schema

ArgumentTypeRequiredNotes
ask_idstringrequired
reasonstringoptionalOne of: spam fake harassment unsafe other
Raw inputSchema (JSON)
{
  "type": "object",
  "properties": {
    "ask_id": {
      "type": "string"
    },
    "reason": {
      "type": "string",
      "enum": [
        "spam",
        "fake",
        "harassment",
        "unsafe",
        "other"
      ]
    }
  },
  "required": [
    "ask_id"
  ]
}

Example request

{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "report",
    "arguments": {
      "ask_id": "example"
    }
  }
}
The same call with curl
curl -sX POST https://<api-host>/api/mcp/wine \
  -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":"report","arguments":{"ask_id":"example"}}}'

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

withdraw_ask · Withdraw my ask

destructive write needs x-whoelse-client

Take down one of your own posted asks.

Input schema

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

Example request

{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "withdraw_ask",
    "arguments": {
      "ask_id": "example"
    }
  }
}
The same call with curl
curl -sX POST https://<api-host>/api/mcp/wine \
  -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":"withdraw_ask","arguments":{"ask_id":"example"}}}'

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

Book club /api/mcp/book-club

Book club who else? · v0.3 BOOK CLUB grammar. Tools: understand whats_on search section_action book post_my_ask my_asks contact report withdraw_ask

understand · Understand a request

read-only idempotent

Parse a plain-language Book club ask into "Book club who else?" slots (v0.3 BOOK CLUB grammar). Returns the filled slots, what to ask next, the side labels and an emergency block when needed.

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": "understand",
    "arguments": {
      "text": "book club for The Remains of the Day"
    }
  }
}
The same call with curl
curl -sX POST https://<api-host>/api/mcp/book-club \
  -H "content-type: application/json" -H "accept: application/json, text/event-stream" \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"understand","arguments":{"text":"book club for The Remains of the Day"}}}'

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

{
  "section": "book-club",
  "display": "Book club who else?",
  "token": "BOOK_CLUB",
  "grammar": {
    "entry": "BOOK CLUB",
    "n": 210,
    "note": "subject/level/learner values leak from a learning template; Pro asks for the book (item), format and schedule only"
  },
  "understood_by": "grammar",
  "slots": [
    {
      "key": "format",
      "label": "Format",
      "value": "in person",
      "source": "default"
    },
    {
      "key": "schedule",
      "label": "Schedule",
      "value": "weekly",
      "source": "default"
    }
  ],
  "house": [
    {
      "key": "near",
      "value": "near me",
      "source": "default"
    },
    {
      "key": "side",
      "value": "everyone",
      "source": "default"
    },
    "… 2 more"
  ],
  "said": [
    "item"
  ],
  "next": [
    {
      "key": "format",
      "label": "Format",
      "q": "In person or online?",
      "values": [
        "in person",
        "online",
        "… 2 more"
      ],
      "default": "in person"
    },
    {
      "key": "schedule",
      "label": "Schedule",
      "q": "Weekly, a drop-in, or a one-off?",
      "values": [
        "one-off",
        "weekly",
        "… 3 more"
      ],
      "default": "weekly"
    },
    "… 1 more"
  ],
  "sides": [
    {
      "side_id": "BOOK_CLUB.seeking",
      "role": "wants",
      "label": "Wants to join",
      "responders": [
        "person"
      ]
    },
    {
      "side_id": "BOOK_CLUB.reader",
      "role": "does",
      "label": "Reading too",
      "responders": [
        "person"
      ]
    },
    "… 2 more"
  ],
  "card": {
    "query": "Book club who else?",
    "grammar": "BOOK CLUB who else?",
    "kv": [
      "format=in person",
      "schedule=weekly",
      "… 4 more"
    ]
  },
  "params": {
    "format": "in person",
    "schedule": "weekly",
    "near": "near me",
    "side": "everyone",
    "lanes": "person,business,agent",
    "item": "The Remains"
  },
  "detail": {}
}
Response shape (inferred from this example)
PathType
$object
$.sectionstring
$.displaystring
$.tokenstring
$.grammarobject
$.grammar.entrystring
$.grammar.nnumber
$.grammar.notestring
$.understood_bystring
$.slotsarray
$.slots[]object
$.slots[].keystring
$.slots[].labelstring
$.slots[].valuestring
$.slots[].sourcestring
$.housearray
$.house[]object
$.house[].keystring
$.house[].valuestring
$.house[].sourcestring
$.saidarray
$.said[]string
$.nextarray
$.next[]object
$.next[].keystring
$.next[].labelstring
$.next[].qstring
$.next[].valuesarray
$.next[].defaultstring
$.sidesarray
$.sides[]object
$.sides[].side_idstring
$.sides[].rolestring
$.sides[].labelstring
$.sides[].respondersarray
$.cardobject
$.card.querystring
$.card.grammarstring
$.card.kvarray
$.card.kv[]string
$.paramsobject
$.params.formatstring
$.params.schedulestring
$.params.nearstring
$.params.sidestring
$.params.lanesstring
$.params.itemstring
$.detailobject

whats_on · What's on now

read-only idempotent

The Book club section as the visual app shows it right now (signature block, supply, who-else rows). Same request as the visual section.

Input schema

ArgumentTypeRequiredNotes
nearstringoptionalWhere (free text, or "near me"). Picks the city for the who-else layer (DC default).
include_aibooleanoptionalInclude the labeled AI helper rows (opt-in where the section requires it).
Raw inputSchema (JSON)
{
  "type": "object",
  "properties": {
    "near": {
      "type": "string",
      "description": "Where (free text, or \"near me\"). Picks the city for the who-else layer (DC default)."
    },
    "include_ai": {
      "type": "boolean",
      "description": "Include the labeled AI helper rows (opt-in where the section requires it)."
    }
  }
}

Example request

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

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

{
  "section": "book-club",
  "display": "Book club who else?",
  "section_title": "**Book club** who else?",
  "signature": {
    "type": "options",
    "title": "Format",
    "items": [
      {
        "label": "In person",
        "example": true,
        "detail": "3 clubs",
        "extra": "Thu"
      },
      {
        "label": "Online",
        "example": true,
        "detail": "2 clubs",
        "extra": "Sun"
      },
      "… 1 more"
    ]
  },
  "supply": {
    "person": 3,
    "business": 1,
    "agent": 2,
    "example": true,
    "source": "nearby_priors"
  },
  "format": {
    "family": "invented",
    "name": "Invented: section room + one obvious action",
    "cta": "Join Thursday's club",
    "why": "A library flyer: this book, this place, this night, join.",
    "example": true
  },
  "feed": [
    {
      "kind": "person",
      "name": "Example neighbor also looking for book club",
      "side_id": "BOOK_CLUB.seeking",
      "label": "Wants to join",
      "snippet": "Example neighbor: real people show here once they post.",
      "example": true,
      "miles": 1.2
    },
    {
      "kind": "person",
      "name": "Example book club person in DC",
      "side_id": "BOOK_CLUB.reader",
      "label": "Reading too",
      "snippet": "Example neighbor: real people show here once they post.",
      "example": true,
      "miles": 0.3
    },
    "… 6 more"
  ],
  "example": true,
  "parity": {
    "visual_request": "/api/ask?base=BOOK_CLUB&city=DC&layout=landing",
    "section_id": "book-club"
  }
}
Response shape (inferred from this example)
PathType
$object
$.sectionstring
$.displaystring
$.section_titlestring
$.signatureobject
$.signature.typestring
$.signature.titlestring
$.signature.itemsarray
$.signature.items[]object
$.supplyobject
$.supply.personnumber
$.supply.businessnumber
$.supply.agentnumber
$.supply.exampleboolean
$.supply.sourcestring
$.formatobject
$.format.familystring
$.format.namestring
$.format.ctastring
$.format.whystring
$.format.exampleboolean
$.feedarray
$.feed[]object
$.feed[].kindstring
$.feed[].namestring
$.feed[].side_idstring
$.feed[].labelstring
$.feed[].snippetstring
$.feed[].exampleboolean
$.feed[].milesnumber
$.exampleboolean
$.parityobject
$.parity.visual_requeststring
$.parity.section_idstring

section_action · Section action

read-only idempotent

The section's own action (find_club: "Format") with the given slots. Example data stays labeled; hand-offs are links.

Input schema

ArgumentTypeRequiredNotes
paramsobjectoptionalGrammar slots (key → value), e.g. {"destination":"airport","departure":"tomorrow"}. Off-grammar values are ignored and echoed in `ignored`.
detailobjectoptionalFree detail per slot, e.g. {"destination":"JFK"}. Screened; never shown as an address.
nearstringoptionalWhere (free text, or "near me"). Picks the city for the who-else layer (DC default).
whenstringoptionalOne of: now tonight today tomorrow weekend
sidestringoptionalWho else to show: "everyone" or one side label from understand.sides.
lanesstringoptionalOne of: person,business,agent person,business person person,agent
scopestringoptionalBuilding/company/school/block; membership isn't verified yet, so scoped people rows stay empty.
One of: building company school block
itemstringoptionalAnything specific (a book title, "2 bedrooms").
include_aibooleanoptionalInclude the labeled AI helper rows (opt-in where the section requires it).
actionstringoptionalOne of: find_club
Raw inputSchema (JSON)
{
  "type": "object",
  "properties": {
    "params": {
      "type": "object",
      "description": "Grammar slots (key → value), e.g. {\"destination\":\"airport\",\"departure\":\"tomorrow\"}. Off-grammar values are ignored and echoed in `ignored`."
    },
    "detail": {
      "type": "object",
      "description": "Free detail per slot, e.g. {\"destination\":\"JFK\"}. Screened; never shown as an address."
    },
    "near": {
      "type": "string",
      "description": "Where (free text, or \"near me\"). Picks the city for the who-else layer (DC default)."
    },
    "when": {
      "type": "string",
      "enum": [
        "now",
        "tonight",
        "today",
        "tomorrow",
        "weekend"
      ]
    },
    "side": {
      "type": "string",
      "description": "Who else to show: \"everyone\" or one side label from understand.sides."
    },
    "lanes": {
      "type": "string",
      "enum": [
        "person,business,agent",
        "person,business",
        "person",
        "person,agent"
      ]
    },
    "scope": {
      "type": "string",
      "enum": [
        "building",
        "company",
        "school",
        "block"
      ],
      "description": "Building/company/school/block; membership isn't verified yet, so scoped people rows stay empty."
    },
    "item": {
      "type": "string",
      "description": "Anything specific (a book title, \"2 bedrooms\")."
    },
    "include_ai": {
      "type": "boolean",
      "description": "Include the labeled AI helper rows (opt-in where the section requires it)."
    },
    "action": {
      "type": "string",
      "enum": [
        "find_club"
      ]
    }
  }
}

Example request

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

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

{
  "section": "book-club",
  "action": "find_club",
  "label": "Format",
  "base": {
    "title": "Format",
    "type": "options",
    "items": [
      {
        "label": "In person",
        "example": true,
        "detail": "3 clubs",
        "extra": "Thu"
      },
      {
        "label": "Online",
        "example": true,
        "detail": "2 clubs",
        "extra": "Sun"
      },
      "… 1 more"
    ],
    "example": true,
    "action": {
      "label": "Join a book club",
      "kind": "service",
      "service_like": "Goodreads"
    },
    "handoff": null,
    "note": "Example rows are labeled; there is no live provider for this section yet."
  },
  "card": {
    "query": "Book club who else?",
    "grammar": "BOOK CLUB who else?",
    "kv": [
      "format=in person",
      "schedule=weekly",
      "… 4 more"
    ]
  }
}
Response shape (inferred from this example)
PathType
$object
$.sectionstring
$.actionstring
$.labelstring
$.baseobject
$.base.titlestring
$.base.typestring
$.base.itemsarray
$.base.items[]object
$.base.exampleboolean
$.base.actionobject
$.base.action.labelstring
$.base.action.kindstring
$.base.action.service_likestring
$.base.handoffnull
$.base.notestring
$.cardobject
$.card.querystring
$.card.grammarstring
$.card.kvarray
$.card.kv[]string

book · Hand-off link

read-only idempotent

Hand-off only: returns a prefilled provider link. whoelse never books, pays or confirms availability.

Input schema

ArgumentTypeRequiredNotes
paramsobjectoptionalGrammar slots (key → value), e.g. {"destination":"airport","departure":"tomorrow"}. Off-grammar values are ignored and echoed in `ignored`.
detailobjectoptionalFree detail per slot, e.g. {"destination":"JFK"}. Screened; never shown as an address.
nearstringoptionalWhere (free text, or "near me"). Picks the city for the who-else layer (DC default).
whenstringoptionalOne of: now tonight today tomorrow weekend
sidestringoptionalWho else to show: "everyone" or one side label from understand.sides.
lanesstringoptionalOne of: person,business,agent person,business person person,agent
scopestringoptionalBuilding/company/school/block; membership isn't verified yet, so scoped people rows stay empty.
One of: building company school block
itemstringoptionalAnything specific (a book title, "2 bedrooms").
include_aibooleanoptionalInclude the labeled AI helper rows (opt-in where the section requires it).
Raw inputSchema (JSON)
{
  "type": "object",
  "properties": {
    "params": {
      "type": "object",
      "description": "Grammar slots (key → value), e.g. {\"destination\":\"airport\",\"departure\":\"tomorrow\"}. Off-grammar values are ignored and echoed in `ignored`."
    },
    "detail": {
      "type": "object",
      "description": "Free detail per slot, e.g. {\"destination\":\"JFK\"}. Screened; never shown as an address."
    },
    "near": {
      "type": "string",
      "description": "Where (free text, or \"near me\"). Picks the city for the who-else layer (DC default)."
    },
    "when": {
      "type": "string",
      "enum": [
        "now",
        "tonight",
        "today",
        "tomorrow",
        "weekend"
      ]
    },
    "side": {
      "type": "string",
      "description": "Who else to show: \"everyone\" or one side label from understand.sides."
    },
    "lanes": {
      "type": "string",
      "enum": [
        "person,business,agent",
        "person,business",
        "person",
        "person,agent"
      ]
    },
    "scope": {
      "type": "string",
      "enum": [
        "building",
        "company",
        "school",
        "block"
      ],
      "description": "Building/company/school/block; membership isn't verified yet, so scoped people rows stay empty."
    },
    "item": {
      "type": "string",
      "description": "Anything specific (a book title, \"2 bedrooms\")."
    },
    "include_ai": {
      "type": "boolean",
      "description": "Include the labeled AI helper rows (opt-in where the section requires it)."
    }
  }
}

Example request

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

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

{
  "section": "book-club",
  "booked": false,
  "handoff": null,
  "message": "There's no provider hand-off for Book club yet. Post your ask so people who are also looking can find you."
}
Response shape (inferred from this example)
PathType
$object
$.sectionstring
$.bookedboolean
$.handoffnull
$.messagestring

post_my_ask · Post my ask

write needs x-whoelse-client

Post your Book club ask so the next person sees you in the who-else layer (people lane, here and in the visual section). Screened: contact details, links and addresses hold it for review. Needs x-whoelse-client (≥16 chars) or a sign-in token.

Input schema

ArgumentTypeRequiredNotes
paramsobjectoptionalGrammar slots (key → value), e.g. {"destination":"airport","departure":"tomorrow"}. Off-grammar values are ignored and echoed in `ignored`.
detailobjectoptionalFree detail per slot, e.g. {"destination":"JFK"}. Screened; never shown as an address.
nearstringoptionalWhere (free text, or "near me"). Picks the city for the who-else layer (DC default).
whenstringoptionalOne of: now tonight today tomorrow weekend
sidestringoptionalWho else to show: "everyone" or one side label from understand.sides.
lanesstringoptionalOne of: person,business,agent person,business person person,agent
scopestringoptionalBuilding/company/school/block; membership isn't verified yet, so scoped people rows stay empty.
One of: building company school block
itemstringoptionalAnything specific (a book title, "2 bedrooms").
include_aibooleanoptionalInclude the labeled AI helper rows (opt-in where the section requires it).
notestringoptionalOptional short note (≤300 chars).
Raw inputSchema (JSON)
{
  "type": "object",
  "properties": {
    "params": {
      "type": "object",
      "description": "Grammar slots (key → value), e.g. {\"destination\":\"airport\",\"departure\":\"tomorrow\"}. Off-grammar values are ignored and echoed in `ignored`."
    },
    "detail": {
      "type": "object",
      "description": "Free detail per slot, e.g. {\"destination\":\"JFK\"}. Screened; never shown as an address."
    },
    "near": {
      "type": "string",
      "description": "Where (free text, or \"near me\"). Picks the city for the who-else layer (DC default)."
    },
    "when": {
      "type": "string",
      "enum": [
        "now",
        "tonight",
        "today",
        "tomorrow",
        "weekend"
      ]
    },
    "side": {
      "type": "string",
      "description": "Who else to show: \"everyone\" or one side label from understand.sides."
    },
    "lanes": {
      "type": "string",
      "enum": [
        "person,business,agent",
        "person,business",
        "person",
        "person,agent"
      ]
    },
    "scope": {
      "type": "string",
      "enum": [
        "building",
        "company",
        "school",
        "block"
      ],
      "description": "Building/company/school/block; membership isn't verified yet, so scoped people rows stay empty."
    },
    "item": {
      "type": "string",
      "description": "Anything specific (a book title, \"2 bedrooms\")."
    },
    "include_ai": {
      "type": "boolean",
      "description": "Include the labeled AI helper rows (opt-in where the section requires it)."
    },
    "note": {
      "type": "string",
      "description": "Optional short note (≤300 chars)."
    }
  }
}

Example request

{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "post_my_ask",
    "arguments": {}
  }
}
The same call with curl
curl -sX POST https://<api-host>/api/mcp/book-club \
  -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":"post_my_ask","arguments":{}}}'

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

my_asks · My asks

read-only idempotent

Your posted asks (by client key or sign-in) with their status and any 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/book-club \
  -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)

{
  "section": "book-club",
  "asks": []
}
Response shape (inferred from this example)
PathType
$object
$.sectionstring
$.asksarray

contact · Send a note

write needs x-whoelse-client

Send a short screened note to the person behind a real posted ask (ask_id from search). Example rows can't be contacted.

Input schema

ArgumentTypeRequiredNotes
ask_idstringrequired
messagestringrequired
Raw inputSchema (JSON)
{
  "type": "object",
  "properties": {
    "ask_id": {
      "type": "string"
    },
    "message": {
      "type": "string"
    }
  },
  "required": [
    "ask_id",
    "message"
  ]
}

Example request

{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "contact",
    "arguments": {
      "ask_id": "example",
      "message": "example"
    }
  }
}
The same call with curl
curl -sX POST https://<api-host>/api/mcp/book-club \
  -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":"contact","arguments":{"ask_id":"example","message":"example"}}}'

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

report · Report an ask

write needs x-whoelse-client

Report a posted ask. Two reports hide it.

Input schema

ArgumentTypeRequiredNotes
ask_idstringrequired
reasonstringoptionalOne of: spam fake harassment unsafe other
Raw inputSchema (JSON)
{
  "type": "object",
  "properties": {
    "ask_id": {
      "type": "string"
    },
    "reason": {
      "type": "string",
      "enum": [
        "spam",
        "fake",
        "harassment",
        "unsafe",
        "other"
      ]
    }
  },
  "required": [
    "ask_id"
  ]
}

Example request

{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "report",
    "arguments": {
      "ask_id": "example"
    }
  }
}
The same call with curl
curl -sX POST https://<api-host>/api/mcp/book-club \
  -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":"report","arguments":{"ask_id":"example"}}}'

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

withdraw_ask · Withdraw my ask

destructive write needs x-whoelse-client

Take down one of your own posted asks.

Input schema

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

Example request

{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "withdraw_ask",
    "arguments": {
      "ask_id": "example"
    }
  }
}
The same call with curl
curl -sX POST https://<api-host>/api/mcp/book-club \
  -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":"withdraw_ask","arguments":{"ask_id":"example"}}}'

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