Skip to main content
Glama

Check for better late rates

check_late_arrivals
Idempotent

Checks whether a slower carrier has come back with a better price since the options were first shown. has_improvement is true only when a new rate beats the earlier best by at least $100 a year or 5%. Useful when the customer hesitates over price after seeing options. If nothing improved, it's best to say so plainly rather than suggest a better price is coming.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
quote_idYesThe quote session id to check for late-arriving carrier rates.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
messageNo
optionsNo
has_improvementNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed5 schema fields changed
    • changedOutput schema / description
      Previous value: -"Any carrier rates that arrived after the first response."New value: +"Whether a slower carrier has beaten the first-quoted best price, plus the refreshed options."
    • addedOutput schema / properties / has_improvement
      Added value: +{
      +  "type": "boolean"
      +}
    • addedOutput schema / properties / message
      Added value: +{
      +  "type": "string"
      +}
    • removedOutput schema / properties / new_options
      Removed value: -{
      -  "type": "array"
      -}
    • addedOutput schema / properties / options
      Added value: +{
      +  "type": "array"
      +}
  2. First observed

TDQS

A3.9/5.0
Behavior3/5

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

The description adds real behavioral value by disclosing the improvement threshold ('beats the earlier best by at least $100 a year or 5%'), which no structured field provides. However, annotations declare readOnlyHint=false while the description frames the operation purely as a passive 'check', leaving unexplained whether the call re-queries carriers or mutates the quote session. With annotations present the bar is lower, but this gap is notable.

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?

Four sentences, front-loaded with the core purpose followed by usage and result-handling guidance; every sentence carries information. Slightly longer than strictly needed, but nothing is filler.

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

Completeness4/5

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

An output schema exists, and the description still explains the key field's semantics (has_improvement and its threshold), which goes beyond requirement. Combined with clear usage and reporting guidance, the definition is near-complete; the only missing piece is any note on why the tool is flagged as non-read-only.

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 description coverage is 100% and the single quote_id parameter is fully documented in the schema, so baseline 3 applies. The description's phrase 'since the options were first shown' loosely reinforces that quote_id scopes to an existing options session, but adds no format or constraint detail beyond the schema.

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?

States a specific verb and resource ('checks whether a slower carrier has come back with a better price') plus the triggering condition ('since the options were first shown'), which separates it cleanly from siblings like get_quote_options and check_quote_status. An agent can route to it 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 Guidelines4/5

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

Gives a clear situational trigger ('useful when the customer hesitates over price after seeing options') and explicit guidance for the negative case ('say so plainly rather than suggest a better price is coming'). It stops short of naming a concrete alternative tool, so it is strong context rather than full when/when-not routing.

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