Skip to main content
Glama

Get the carrier's final price

zebra_get_rc2_price
Read-onlyIdempotent

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's final price, in place of the earlier estimate, and mention the other payment_plans if the user asks how to pay. When price_status is unavailable, a licensed insurance agent gives the user the final price. Either way, a licensed insurance agent finishes buying the policy with the user: by calling agency_phone, or online at continue_url, by chat or over the phone, during agency hours. Present agency_call_message as written: it says whether the agency is open now or when it opens, so never tell the user to call now when it says the agency is closed. If this tool fails with an agency_phone, call it again if retryable is true. Otherwise, or if it keeps failing, the final price comes from a licensed insurance agent: give the user agency_phone and the agency hours.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "quote_handle": "<quote_handle>",
      "quote_id": "<quote_id>"
    },
    "name": "zebra_get_rc2_price"
  }
}

Input Schema

NameRequiredDescriptionDefault
quote_idYesThe quote_id passed to zebra_submit_rc2_answers.
quote_handleYesThe 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.

Output Schema

NameRequiredDescriptionDefault
priceNoThe carrier's final price on its recommended plan. Replaces the quote's estimated price.
agency_phoneNoThe licensed agency the user calls to finish buying the policy. Absent while in_progress.
continue_urlNoWhere the user can finish online with a licensed agent during agency hours.
price_statusYesin_progress: the carrier's final price is still being fetched. priced: price holds the final price. unavailable: there won't be an automated final price; a licensed insurance agent gives it instead.
payment_plansNoEvery plan the carrier offers at the final price.
agency_call_messageNoWhat to tell the user next: whether the agency is open now or when it opens, the phone number, and the agency hours. Present it as written. Absent while in_progress.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.6/5.0
Behavior5/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Annotations only declare readOnly/idempotent/non-destructive, but the description adds substantial behavioral context beyond that: the 3-5 minute carrier latency, that each call blocks waiting, the price_status state machine (in_progress/priced/unavailable), and the requirement to present agency_call_message verbatim rather than telling the user to call when closed. It also discloses the retry contract via the retryable field.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The status-handling rules are front-loaded and follow a readable state-by-state structure. It is somewhat long and drifts into downstream policy-purchase workflow detail, but nearly every sentence maps to a decision the agent must make, so there is little true waste.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

An output schema exists, so return-value explanation is not required, yet the description still covers how to interpret price_status outcomes and which fields (price, payment_plans, agency_phone, continue_url) to surface. Combined with annotations, nothing an agent needs to call or interpret this tool is missing.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so both quote_id and quote_handle are already documented, including the 24-hour handle expiry and session-restart guidance. The description adds no additional syntax or format meaning for the parameters, so the baseline 3 applies.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The first sentence states a specific verb and resource ('Get the carrier's final price') and anchors it to a prerequisite action ('after zebra_submit_rc2_answers'), which distinguishes it from siblings like zebra_get_rc2_questions and zebra_get_rc1_rates. An agent can identify the tool's role without opening the schema.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description gives explicit when-to-use rules (call after answers are submitted), a polling loop instruction ('While price_status is in_progress, keep calling this tool'), a stop condition (10 minutes), and explicit fallbacks to a licensed agent when unavailable. It also handles the failure path with the retryable flag, so alternatives and exclusions are fully specified.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources