Skip to main content
Glama

Check claim eligibility

check_claim_eligibility
Read-onlyIdempotent

Checks whether a shipping claim can still be filed. Given a carrier, an issue and optional ship or delivery date, returns eligibility, the computed filing deadline and days left, the earliest filing date if any, the default liability, the carrier's claim page and dated sources. Optional filer (shipper, recipient or other) adds whether that party may file. Informational only; do not include names, contact details, addresses or tracking numbers.

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": {
      "carrier": "<carrier>",
      "issue": "<issue>"
    },
    "name": "check_claim_eligibility"
  }
}

Input Schema

NameRequiredDescriptionDefault
filerNoWho is filing: shipper, recipient or other. Optional; omit it if unknown.
issueYesIssue: lost, damaged, missing_contents or late.
carrierYesCarrier: ups, fedex, usps or dhl.
serviceNoService level, for example Ground. No personal details.
ship_dateNoShip date, YYYY-MM-DD.
delivery_dateNoDelivery date (or expected delivery date), YYYY-MM-DD.
declared_value_usdNoDeclared value in US dollars.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive and closed-world, so the description only needs to add context — which it does, by describing the returned fields (deadline, days left, default liability, dated sources) and flagging the output as informational rather than an actual filing. No permission, rate-limit or failure behavior is mentioned.

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?

Front-loaded with the core question, then the return payload, then the privacy constraint — an efficient ordering. It is dense but almost every clause carries distinct information; the privacy note is the only element that could arguably be a schema annotation instead.

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?

With no output schema, the description carries the return-shape burden and does so fully (eligibility, deadline, days left, earliest filing date, liability, claim page, sources), while also covering the safety/PII constraint. Nothing material for correct invocation is missing.

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 coverage is 100%, so parameter meaning is already well documented; the description adds real value beyond it by explaining the conditional effect of filer ('adds whether that party may file') and that ship/delivery dates are optional drivers of the deadline computation.

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 shipping claim can still be filed') and immediately scopes the inputs (carrier, issue, optional date). The enumerations of returned values make the tool's role distinct from drafting (draft_claim_text) or checklist tools.

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?

Provides clear context for use plus a scope limit ('Informational only') and an input constraint ('do not include names, contact details, addresses or tracking numbers'). It also explains the conditional value of the optional filer parameter, though it never names an alternative sibling or says explicitly when not to use this tool.

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