Skip to main content
Glama

File a warranty claim

file_warranty_claim

Records a warranty claim when an item faults, capturing the problem, provider reference, status, and filing date so you can track the claim and follow up later.

Instructions

Records a claim made under one of an item's warranties: what went wrong, the provider's claim number (reference) and its status (filed by default, today by default). Use it when the person says they've contacted the maker or seller about a fault; get the warrantyId from get_item. Follow it up later with update_warranty_claim. Claims with no news for two weeks show in what_needs_attention.

Input Schema

NameRequiredDescriptionDefault
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
problemYesWhat 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
warrantyIdYesThe warranty's id, from get_item

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 / 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"
    • addedInput schema / properties / warrantyId / description
      Added value: +"The warranty's id, from get_item"
  2. First observedv0.1.0

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already flag this as a non-read-only, non-destructive, closed-world write, so the description's job is lighter. It still adds real value by disclosing defaulting behavior (status defaults to filed, filedOn defaults to today) and the downstream consequence that stale claims surface in what_needs_attention. It doesn't say anything about the returned record, which leaves a small gap.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Three sentences, front-loaded with the what, then the when, then the follow-up path. No filler and the essential prerequisite is placed before the alternative-tool reference.

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?

For a nine-parameter creation tool with no output schema, the description covers required fields, defaults, provenance of the warrantyId, and the lifecycle handoff to update_warranty_claim. It is nearly complete, though it never mentions that closure fields (resolution, resolvedOn) can also be supplied at creation time.

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 schema description coverage at 100%, the schema already documents all nine parameters. The description goes slightly beyond it by stating the status and filedOn defaults, which the schema does not spell out for status, so it is a baseline-level contribution rather than a strong one.

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: "Records a claim made under one of an item's warranties," and enumerates the core payload (problem, reference, status). It is clearly distinguishable from update_warranty_claim, which is named separately as the follow-up path.

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?

It names the trigger condition ("when the person says they've contacted the maker or seller about a fault"), the prerequisite ("get the warrantyId from get_item"), and the alternative for later changes ("Follow it up later with update_warranty_claim"). That covers when, how to prepare, and what to use instead.

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