Reference

Result cards

Chloe's search, hotel, rates, comparison and booking-review results are drawn as interactive cards inside the assistant. The cards follow the MCP Apps standard (the io.modelcontextprotocol/ui extension).

Which assistants draw them

Any assistant that supports MCP Apps can draw the cards. Dyme sends two versions:

Assistant What it gets
Claude, ChatGPT and Dyme's website chat The full cards: results, the hotel page with rooms, price comparisons, and Book buttons
Any other assistant A simpler hotel card (photos, details and a button that asks the assistant to book), plus, at the end of each hotel and flight answer, a link to a web page that shows the same results as cards

Dyme recognizes Claude and ChatGPT from the connection, the client's name and its user agent. An assistant that does not draw cards at all, such as Meta Muse today, still gets the text answer and the link.

How they work

  • A tool that draws a card names it in _meta.ui.resourceUri (a ui://dyme/… address, mirrored to _meta["ui/resourceUri"] and ChatGPT's openai/outputTemplate). The card field in tools.json gives each one.
  • The card is HTML served as an MCP resource with the type text/html;profile=mcp-app. The assistant runs it in a sandboxed frame and passes it the tool's result.
  • A card can call a small set of tools itself, for photos, rooms, the results map, a comparison's progress and Chloe's take as it loads. These are marked "visibility": ["app"], listed under "Used by the cards" in the tool reference, and the model never sees them.
  • A card uses the assistant's own fonts and colors and adds Dyme's accent.
  • A card asks the assistant to open links (the hotel's page, a booking link, another site in a price comparison); Claude and ChatGPT open them in a new browser tab.

What the model sees

The assistant's model reads each tool's text result and structured result; the card is drawn for the traveler. Tool results tell the model to give a short judgement and leave the list to the card, so the answer does not repeat every option.

Card addresses change

Assistants keep a copy of a card by its address. When a card changes, Dyme publishes it at a new address and keeps every older address working, so an older conversation still shows its cards.