Skip to main content
Glama

prepare_quote_request

Read-onlyIdempotent

Validate a quote draft against the native questionnaire and return missing/invalid questions and the canonical consent prompt. Before asking the user again, inspect any prior explicit instruction in the SAME conversation and supply its EXACT verbatim text as prior_user_message. The server indicates whether that prior statement is explicit enough to reuse; never infer consent from a generic quote search. Read-only and no partner side effects.

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": {
      "insurance_type": "<insurance_type>",
      "answers": "<answers>"
    },
    "name": "prepare_quote_request"
  }
}

Input Schema

NameRequiredDescriptionDefault
answersYes
insurance_typeYes
prior_user_messageNoOptional exact quote of the user's own prior instruction from this same conversation, never an LLM paraphrase, boolean or speculative assent. Server assesses whether it already authorizes AssurancesLabs to register this request and contact the user.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / prior_user_message
      Added value: +{
      +  "description": "Optional exact quote of the user's own prior instruction from this same conversation, never an LLM paraphrase, boolean or speculative assent. Server assesses whether it already authorizes AssurancesLabs to register this request and contact the user.",
      +  "maxLength": 1000,
      +  "type": "string"
      +}
  2. Added

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, destructiveHint=false and idempotentHint, so the closing 'Read-only and no partner side effects' adds little beyond restating them. The genuinely additive behavior is the server-side adjudication: the server decides whether the prior statement is explicit enough to reuse, which the agent cannot determine itself. It does not say what happens when validation fails outright or how the canonical consent prompt should be surfaced.

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 validation contract is front-loaded in the first sentence, then consent-handling constraints follow in priority order. It is dense but each sentence carries a rule. The trailing read-only sentence duplicates annotations and could be dropped without loss.

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

Completeness3/5

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

The return payload is described well enough that the absent output schema is not a gap. However, for a tool whose core input is an untyped answers object, the definition says nothing about what keys are expected or how they map to the native questionnaire, leaving the agent to guess at the most load-bearing parameter.

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?

With 33% schema description coverage, only prior_user_message is documented, and the description largely repeats the schema's own wording about exact verbatim text and no paraphrase or speculative assent. The two required parameters, insurance_type and especially the free-form answers object (nested, additionalProperties: true), get no explanation of shape or expected keys in either the schema or the description.

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?

The definition opens with a specific verb and resource: validate a quote draft against the native questionnaire, and it names the two outputs (missing/invalid questions and the canonical consent prompt). It differentiates itself indirectly by warning against inferring consent from a 'generic quote search', but it never names a concrete sibling such as get_quote_requirements, so the distinction is implied rather than stated.

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?

It gives a clear workflow trigger: before asking the user again, inspect prior instructions in the SAME conversation and pass them verbatim as prior_user_message. The negative guidance ('never infer consent from a generic quote search') is explicit. What is missing is when to call this versus the sibling requirement/consent tools, or whether it should be called on every draft revision.

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