Skip to main content
Glama

Jerry Insurance

Update application

jerry_update_application
Idempotent

Save application facts the customer gave, in their own words. Every field is optional and merges into what's saved, so send only facts that are new or changed.

  • Items with an id update that driver, car or home; items without one are added. included puts an item on the quote or leaves it off.

  • Add a car by vin, by licensePlate and licensePlateState, or by year, make and model. Send year, make and model only when there's no VIN or plate, since those set them. A final price needs the VIN.

  • Answer any other requirement in answers, by its path. A fact that has its own field here comes back rejected as typed_field if it's sent in answers.

  • coverage and history.currentMonthlyPremiumCents are optional and never block quotes. Send them only when the customer asks for a coverage level or specific coverages, or says what they pay now.

  • Drivers and cars Jerry found are in the status's suggested list, each with an id that starts with suggested:. Once the customer confirms one, send that id in drivers or vehicles with included: true. Returns the status, with suggested. rejected lists values Jerry didn't save and why: fix the format yourself and send them again, and ask the customer only when the fact itself is missing or wrong. clarify lists values to choose from. The rest of the write is saved either way.

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>",
      "application": "<application>",
      "idempotencyKey": "<idempotencyKey>"
    },
    "name": "jerry_update_application"
  }
}

Input Schema

NameRequiredDescriptionDefault
sourcesNoWhere these facts come from; defaults to ['customer'].
intentIdYesThe shopping intent id returned by an earlier shopping tool.
permissionNoRequired once when sources include anything but customer.
provenanceNoOptional. Where this write's facts came from. Jerry doesn't save it.
applicationYes
idempotencyKeyYesUnique key for safely retrying this customer action

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / application / properties / homes / items / properties / dogBreeds / description
      Previous value: -"Listed breeds only; empty when none."New value: +"Send [] if no dog is a listed breed; omit until asked."
  2. Changed2 schema fields changed
    • changedInput schema / properties / application / properties / answers / items / properties / value / anyOf
      Previous value: -[
      -  {
      -    "type": "string"
      -  },
      -  {
      -    "type": "number"
      -  },
      -  {
      -    "type": "boolean"
      -  },
      -  {
      -    "items": {
      -      "type": "string"
      -    },
      -    "type": "array"
      -  }
      -]New value: +[
      +  {
      +    "type": "string"
      +  },
      +  {
      +    "type": "number"
      +  },
      +  {
      +    "type": "boolean"
      +  },
      +  {
      +    "items": {
      +      "type": "string"
      +    },
      +    "type": "array"
      +  },
      +  {
      +    "additionalProperties": true,
      +    "properties": {},
      +    "type": "object"
      +  },
      +  {
      +    "items": {
      +      "additionalProperties": true,
      +      "properties": {},
      +      "type": "object"
      +    },
      +    "type": "array"
      +  }
      +]
    • changedInput schema / properties / application / properties / answers / items / properties / value / description
      Previous value: -"One of the requirement's options, by value or label (true or false for yes/no), or a list for a multi-select."New value: +"One of the requirement's options, by value or label (true or false for yes/no), or a list, object, or list of objects."
  3. Changed1 schema field changed
    • addedInput schema / properties / application / properties / homes / items / properties / insuranceType
      Added value: +{
      +  "description": "New home only: which of the round's home policy types (home, renter or condo) it is for. Needed when the round has several home types and not exactly one is still without an included home.",
      +  "type": "string"
      +}
  4. Changed1 schema field changed
    • addedInput schema / properties / provenance
      Added value: +{
      +  "additionalProperties": false,
      +  "description": "Optional. Where this write's facts came from. Jerry doesn't save it.",
      +  "properties": {
      +    "confidence": {
      +      "description": "How sure you are, from 0 to 1.",
      +      "maximum": 1,
      +      "minimum": 0,
      +      "type": "number"
      +    },
      +    "source": {
      +      "description": "agent_inferred if you inferred any fact in this write, else document if any came from a shared document, else user_stated: the customer said it all.",
      +      "enum": [
      +        "user_stated",
      +        "document",
      +        "agent_inferred"
      +      ],
      +      "type": "string"
      +    }
      +  },
      +  "required": [
      +    "source"
      +  ],
      +  "type": "object"
      +}
  5. First observed

TDQS

A4.6/5.0
Behavior5/5

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

Annotations already declare this is non-readOnly, idempotent and non-destructive. The description adds substantial behavior beyond that: partial saves still succeed despite rejected fields, rejected reasons require format fixes versus customer clarification, suggested items merge by id, and a final price requires a VIN.

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 definition is long but front-loaded and bulleted around distinct decision points, which suits a deeply nested schema with many cross-field rules. Some density is unavoidable, though a few bullets combine multiple rules and could be split for faster scanning.

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?

For a complex write tool with nested objects and no output schema, the description explains what is returned, how rejected and clarify results should be handled, and which facts are optional or non-blocking. An agent has enough context to call and recover from partial writes.

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 description coverage is high at 83%, so the baseline is 3. The description still adds useful cross-field meaning: id presence updates versus adds, included toggles quote membership, answers reject fields that have their own typed location, and coverage/premium fields never block quoting.

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 description opens with a specific verb and resource: save application facts the customer gave, in their own words. It clearly establishes mutation semantics and merge behavior, which distinguishes it from read-oriented siblings such as jerry_get_status.

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 concrete when-to-send guidance: only new or changed facts, coverage and premium only when the customer asks, year/make/model only when no VIN or plate exists, and suggested: ids only after confirmation. It does not explicitly name alternative tools or state when not to use this tool, which keeps it from a 5.

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