Skip to main content
Glama

Get a claim notice

get_claim_notice
Read-onlyIdempotent

One notice of damage that was sent to a carrier or forwarder, with its full text exactly as it went out, the recipient, the language and when it was sent. The text is the legal record of what was said and when, so quote it, never paraphrase it as if it were the original. Use it after get_shipment_details lists a shipment's claim_notices (ids such as "cln_31"), for "what exactly did we tell the forwarder". The entry has a shipment_url: link the shipment's container or air waybill number to it, never a made-up URL.

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": {
      "claim_notice_id": "<claim_notice_id>"
    },
    "name": "get_claim_notice"
  }
}

Input Schema

NameRequiredDescriptionDefault
claim_notice_idYesA claim notice id such as "cln_31", as listed by get_shipment_details.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already cover read-only, idempotent, non-destructive, closed-world, so the safety profile is settled. The description adds behavior the annotations cannot: the text is a legal record that must be quoted verbatim, and the `shipment_url` must be bound to a real container or AWB number rather than fabricated. Return-field composition is partly covered too; only error/not-found behavior is left unstated.

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 sentences, front-loaded with what the record is, then the quoting rule, then the retrieval path and URL instruction. Dense but every sentence carries an operational instruction; the only mild cost is that the quoting and URL rules are packed into long sentences.

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?

There is no output schema, and the description compensates by naming the returned fields (text, recipient, language, sent time, shipment_url) and how to use them. Combined with annotations and a fully documented single parameter, an agent has everything needed to call it and interpret the result correctly.

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% and the single parameter already documents the `cln_31` format and its origin in get_shipment_details, which is precisely what the description repeats. Nothing new about the parameter's semantics, constraints, or lookup-failure behavior is added, so the baseline 3 applies.

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 (one notice of damage sent to a carrier/forwarder) and enumerates the returned fields: full text, recipient, language, sent time. It also distinguishes itself from sibling list-level access by tying the id source to get_shipment_details, so an agent can tell it apart from the list/search tools without opening a schema.

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?

Gives an explicit prerequisite and chaining rule: "Use it after get_shipment_details lists a shipment's `claim_notices` (ids such as \"cln_31\")", and pairs it with the concrete user intent it serves ("what exactly did we tell the forwarder"). That is a clear when-to-use signal with the alternative (the shipment listing) named.

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