The Zebra
v0.5.0Compare car insurance quotes from top carriers and buy online with The Zebra, the comparison site.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
zebra_start_session Start a car insurance quote
Start a new car insurance quote. Call this once, before any other quote tool, and pass the returned quote_handle to every later tool call for this quote.
| Parameter | Type | Description |
|---|---|---|
agent_identifier * | string | Identifier for the product agent hosting this MCP session (for example muse, grokbot, dots). The calling agent or model must set this from its own runtime identity—do not ask the end user and do not… |
zebra_get_rc1_rates Send details and get initial quotes
Get estimated auto insurance rates (RC1 quotes) for the user, from the carriers they can buy from online on The Zebra. Call zebra_start_session first and pass its quote_handle. Usually takes about 30 seconds: wait for the result rather than calling again or starting a new session. On UPSTREAM_UNAVAILABLE, retry once with the same quote_handle. Show each quote's carrier, monthly price, down payment and policy term, and say the prices are estimates. A carrier may quote higher or lower coverage than requested; each quote's coverage_differences lists what differs. When you show a quote with dif…
zebra_get_rate_action Get the next step for a quote
Get the next step for the quote the user chose. Pass the quote_handle from zebra_start_session and the chosen quote's quote_id from zebra_get_rc1_rates. Follow recommended_next to continue buying in this chat. Its instruction says when to give the user the url instead.
| Parameter | Type | Description |
|---|---|---|
quote_handle * | string | The quote_handle that zebra_start_session returned. It expires 24 hours after zebra_start_session; if a tool reports it unknown or expired, start a new session. |
quote_id * | string | The quote_id of the quote the user picked, from zebra_get_rc1_rates. |
zebra_get_rc2_questions Get the carrier's follow-up questions
Get the questions the carrier needs answered before the user can buy the quote they picked. Ask the questions in order. Ask a question if any of its visibility_conditions is met, or, when it has none, if is_visible is true. Check this again after each answer, because an answer can make new questions appear. Of the questions you'll ask, read back the ones with a current_value together and ask if any have changed; ask the rest one by one. For a question with child_field_keys, send each part under its child key. Ask for the driver's license number: the carrier needs it to give a final price in t…
| Parameter | Type | Description |
|---|---|---|
quote_handle * | string | The quote_handle that zebra_start_session returned. It expires 24 hours after zebra_start_session; if a tool reports it unknown or expired, start a new session. |
quote_id * | string | The quote_id of the quote the user picked, from zebra_get_rc1_rates. |
zebra_submit_rc2_answers Submit answers to the carrier
Submit the user's answers to the questions from zebra_get_rc2_questions, all at once. This sends them to the carrier, so confirm them with the user first. On success, a licensed insurance agent at agency_phone finishes buying the policy with the user. Present agency_call_message as written: it says whether the agency is open now or when it opens. Never tell the user to call now when it says the agency is closed, and never promise a voicemail or a callback. When continue_url is returned, also offer it: the user can finish online with a licensed insurance agent during agency hours. When price_s…
| Parameter | Type | Description |
|---|---|---|
answers * | object | Every answer, including the current_values the user kept, keyed by field_key (each part of a grouped question under its child_field_keys key). Answer a CHECKBOX question with a list of the chosen valu… |
quote_handle * | string | The quote_handle that zebra_start_session returned. It expires 24 hours after zebra_start_session; if a tool reports it unknown or expired, start a new session. |
quote_id * | string | The quote_id passed to zebra_get_rc2_questions. |
zebra_get_rc2_price Get the carrier's final price
Get the carrier's final price for a quote after zebra_submit_rc2_answers. The carrier usually returns the final price 3 to 5 minutes after the answers are submitted. Each call waits a while for it. While price_status is in_progress, keep calling this tool without waiting for the user. If you have to stop while price_status is still in_progress, tell the user their final price isn't ready yet and to ask you again in a minute. If price_status is still in_progress 10 minutes after the answers were submitted, treat the price as unavailable. When price_status is priced, present price as the quote'…
| Parameter | Type | Description |
|---|---|---|
quote_handle * | string | The quote_handle that zebra_start_session returned. It expires 24 hours after zebra_start_session; if a tool reports it unknown or expired, start a new session. |
quote_id * | string | The quote_id passed to zebra_submit_rc2_answers. |