Skip to main content
Glama

Ada Çetin Sigorta Aracılık

Teklif durumu

get_quote_status
Read-onlyIdempotent

Returns the state of a quote run: its offers (each with an offerRef and its coverages: the company's coverage lines as title and value; offers also differ in their main coverages, not only in price), the companies that gave no offer with the reason (failures[].reason, category, retryable, fields), the selected offer, and the payment and policy state. Offers that already arrived are listed while quoting is still running. It waits up to waitSeconds (default 20) for the run to finish; if it is still running the answer has status: quoting, the pending companies and a next hint, and calling this tool again with the same quoteRef keeps waiting for the run, so no user message is needed in between. Changes nothing.

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": {
      "quoteRef": "<quoteRef>"
    },
    "name": "get_quote_status"
  }
}

Input Schema

NameRequiredDescriptionDefault
quoteRefYes`quoteRef` from start_quote.
waitSecondsNoWhile quoting is still running, wait up to this many seconds for it to finish before answering (default 20, max 25; 0 = answer at once).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, non-destructive and closed-world, so "Changes nothing" is largely a restatement. The genuinely additive content is the wait/timeout contract: it blocks up to waitSeconds (default 20), returns status: quoting with a pending list and a next hint on timeout, and is safe to re-invoke — that is real behavioral value, though return formatting/pagination of the offer list is not covered.

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

Conciseness3/5

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

Purpose is front-loaded, but the body is one dense paragraph with deeply nested parentheses ("coverages: the company's coverage lines as title and value; offers also differ in their main coverages, not only in price") that would read far better as a short list of returned fields. Nothing is strictly wasted, but the structure makes the return contract harder to scan than it needs to be.

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?

There is no output schema, so the description carries the full burden of describing the response, and it does: offers, per-offer coverages, failure reasons with retryable/fields, selection, payment and policy state, plus the timeout shape. For a two-parameter status tool that is complete.

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

Parameters4/5

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

Schema coverage is 100%, so both quoteRef and waitSeconds are already documented, making 3 the baseline. The description earns above baseline by explaining the consequence of the wait parameter (what the answer looks like when the wait elapses) and the re-poll contract on quoteRef, which the schema alone does not convey.

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?

Opens with a specific verb+resource ("Returns the state of a quote run") and then enumerates exactly what that state contains: offers with offerRef/coverages, failures with reason/category/retryable/fields, the selected offer, and payment/policy state. An agent can tell this is the read-side polling counterpart to start_quote without inspecting 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 Guidelines4/5

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

Gives clear operating context: it is called with a quoteRef from start_quote, it polls while quoting is running, and re-calling with the same quoteRef continues waiting so no user message is needed in between. It does not name downstream alternatives such as select_offer or get_payment_link, so the transition out of polling is left implicit.

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