Skip to main content
Glama

Update a warranty claim

update_warranty_claim
Idempotent

Change a warranty claim's status, resolution, cost, or claim number as provider updates arrive. Omit fields to keep current values; closing a claim dates it today.

Instructions

Changes a warranty claim: its status (filed, in_progress, approved, denied, resolved), the resolution, what it cost (cents), the claim number. Use it when the person hears back about a claim; the claim's id is in get_item. Closing it (denied or resolved) dates it today unless resolvedOn is given. Fields left out stay as they are.

Input Schema

NameRequiredDescriptionDefault
idYesThe claim's id, from get_item
notesNoAnything else: calls made, who said what
statusNoWhere it stands: filed, in_progress, approved, denied or resolved
filedOnNoWhen the claim was made, yyyy-mm-dd; today if left out
problemNoWhat went wrong, in the person's words
costCentsNoWhat the household paid out of pocket, in cents
referenceNoThe provider's claim or case number
resolutionNoHow it ended: repaired, replaced, refunded…
resolvedOnNoWhen it was closed, yyyy-mm-dd

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed9 schema fields changedv0.1.1
    • addedInput schema / properties / costCents / description
      Added value: +"What the household paid out of pocket, in cents"
    • addedInput schema / properties / filedOn / description
      Added value: +"When the claim was made, yyyy-mm-dd; today if left out"
    • addedInput schema / properties / id / description
      Added value: +"The claim's id, from get_item"
    • addedInput schema / properties / notes / description
      Added value: +"Anything else: calls made, who said what"
    • addedInput schema / properties / problem / description
      Added value: +"What went wrong, in the person's words"
    • addedInput schema / properties / reference / description
      Added value: +"The provider's claim or case number"
    • addedInput schema / properties / resolution / description
      Added value: +"How it ended: repaired, replaced, refunded…"
    • addedInput schema / properties / resolvedOn / description
      Added value: +"When it was closed, yyyy-mm-dd"
    • addedInput schema / properties / status / description
      Added value: +"Where it stands: filed, in_progress, approved, denied or resolved"
  2. First observedv0.1.0

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare safe-read=false, idempotent=true, destructive=false, so the safety profile is covered. The description adds genuinely new behavior: partial-update semantics ("Fields left out stay as they are") and a side effect not in the schema — closing a claim stamps today's date unless resolvedOn is supplied.

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?

Three short sentences ordered well: what changes, when to use it, then the non-obvious dating rule. Tight overall, though the field list ("what it cost (cents), the claim number") is a partial restatement of what the schema already names.

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 nine-parameter mutation tool with no output schema, the description covers the trigger, the update semantics, and the one hidden side effect; remaining field meanings sit in a fully-covered schema. Nothing an agent needs in order to call this correctly is missing.

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%, so the schema already documents all nine parameters, making 3 the baseline. The description does add one piece of meaning the schema lacks — the status/resolvedOn defaulting interaction — but it omits notes, problem, and filedOn and mostly restates field meanings already in the schema.

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 ("Changes a warranty claim") and enumerates the mutable fields: status, resolution, cost, claim number. An agent can tell this apart from file_warranty_claim from the name plus the field list, though the sibling is never named explicitly.

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?

"Use it when the person hears back about a claim" gives a concrete trigger condition, and "the claim's id is in get_item" routes the agent to the right source for the required parameter. No explicit when-not guidance or named alternative (e.g., file_warranty_claim for new claims) is provided.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.