Skip to main content
Glama

Jerry Insurance

Wait for results

jerry_wait
Read-onlyIdempotent

Wait for quotes or a final price after requesting them. Quotes usually take about a minute and nearly always come within 4 minutes. Returns as soon as they're ready, or after timeoutSeconds (at most 20) with the status so far and reason timeout, which only means this call's wait ended; call again while they're still running. When quotes are ready, it returns the quote list too. A final price is ready once it's resolved. If a Jerry agent takes a final price over (manual), or quotes or a final price take longer than usual (delayed), the wait stops with that reason, and the status's nextStep says what happens next. Calling again on delayed quotes or a delayed price keeps waiting.

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": {
      "intentId": "<intentId>",
      "for": "<for>"
    },
    "name": "jerry_wait"
  }
}

Input Schema

NameRequiredDescriptionDefault
forYesquotes after jerry_request_quotes; final_price after jerry_request_final_price requested it.
intentIdYesThe shopping intent id returned by an earlier shopping tool.
timeoutSecondsNoLongest time to wait, in seconds; default 20, at most 20.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive, closed-world behavior, yet the description adds substantial context beyond them: expected latency (about a minute, nearly always under 4), the 20-second wait cap, the three terminal reasons (timeout/manual/delayed), and that the status carries a nextStep. It does not describe the shape of the returned status object in detail, but with no output schema that is a minor omission rather than a contradiction.

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?

Front-loaded with the core action in the first sentence, and the timing expectations are placed immediately after. The retry guidance is stated twice ('call again while they're still running' and 'Calling again on delayed quotes... keeps waiting'), which is slightly redundant but serves to distinguish the timeout case from the delayed case.

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?

With no output schema, the description carries the return-value burden itself and does so: quote list on readiness, status plus reason on exit, and nextStep for manual/delayed outcomes. For a three-parameter polling tool this covers everything an agent needs to call it, interpret the result, and decide whether to poll again.

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 the baseline is 3, and the description earns above that by explaining that timeoutSeconds only bounds this single call's wait and that the wait is resumable afterward, plus clarifying the meaning of 'resolved' for final_price. The `for` enum semantics are largely restated from the schema rather than extended.

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

Purpose4/5

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

Opens with a specific verb and resource: 'Wait for quotes or a final price after requesting them,' which immediately separates it from fetching siblings like jerry_get_quotes by pinning it to the post-request phase. It stops short of naming an alternative tool to use instead in any situation, so sibling differentiation is implicit rather than explicit.

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?

Explicitly states the precondition (call after jerry_request_quotes / jerry_request_final_price), the retry rule ('call again while they're still running'), and that a timeout reason does not mean failure. It also specifies that calling again on delayed quotes or a delayed price keeps waiting, which resolves the main ambiguity an agent would have.

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