Skip to main content
Glama

Draft claim text

draft_claim_text
Read-onlyIdempotent

Returns a claim letter template for a carrier and issue type with placeholders such as [TRACKING NUMBER] and [YOUR NAME]. It accepts no name, email, phone, address or tracking number; the user fills those in themselves.

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": "draft_claim_text"
  }
}

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.
ship_dateNoShip date, YYYY-MM-DD.
value_usdNoValue of the item in US dollars.
item_descriptionNoWhat was shipped, in a few words. No personal details.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already establish readOnly, idempotent, non-destructive, and closed-world behavior, so the bar is lower. The description still adds real value beyond them: it discloses that the return value is a placeholder-filled template and that no name, email, phone, address, or tracking number is accepted — telling the agent not to attempt to supply PII it might otherwise try to pass.

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?

Two sentences, zero filler. The output form is front-loaded and the input constraint follows immediately, so the agent gets the two facts it needs in reading order.

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?

With no output schema, the description must describe the return value, and it does — a template with bracketed placeholders. Combined with 100% schema coverage and safety annotations, this is nearly complete; only the template's rough structure or length is unstated, a minor gap for a read-only text generator.

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 coverage is 100% with enums documented for carrier, issue, and filer, so the schema already carries parameter meaning. The description only echoes that carrier and issue type drive the template and adds nothing about the optional ship_date, value_usd, or item_description parameters.

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?

The description states a specific verb and resource — 'Returns a claim letter template' — scoped by carrier and issue type, and it clarifies the output is a template with placeholders rather than a filled letter. It does not name any sibling (check_claim_eligibility, evidence_checklist) to differentiate itself explicitly, so it stops short of a 5.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

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

Usage is only implied: an agent can infer this is the step where letter text is produced, but there is no statement of when to call it versus check_claim_eligibility or evidence_checklist, and no prerequisites. The negative constraint about what not to pass is helpful but is a behavioral note, not routing guidance.

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