Skip to main content
Glama

update_shipper_advice

Destructive

Submit shipper advice codes RA or RT for consignment records, with per-record verification and confirmation before applying changes.

Instructions

Submit shipper advice codes RA or RT. Verify the meaning and consequence with carrier and confirm each record with user before setting confirm=true.

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": {
      "advices": "<advices>"
    },
    "name": "update_shipper_advice"
  }
}

Input Schema

NameRequiredDescriptionDefault
advicesYes
confirmNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already flag destructiveHint=true, openWorldHint=true and idempotentHint=false; the description adds material context beyond them by treating the operation as consequential enough to require carrier verification and per-record user confirmation. It still does not spell out what a call with confirm=false actually does, which matters for a destructive tool.

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?

Two short sentences with the action first and the safety caveat second, no filler. The only inefficiency is that the instruction to verify meaning with the carrier restates the ambiguity rather than resolving it.

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 destructive mutation with no output schema, the definition covers the safety-critical part: confirmation discipline before flipping confirm=true. What is missing is the semantics of the default confirm=false path and any indication of what a successful submission returns.

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 0%, so the description must carry parameter meaning, and it only partially does: it explains the confirm gate but not the effect of leaving confirm at its default of false. The advices array fields (id, cn_number, shipper_advice_status, shipper_remarks) get no explanation, and notably the description defers the meaning of RA/RT to the carrier rather than defining it.

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 ('Submit shipper advice codes RA or RT'), so an agent can tell this writes shipper advice records rather than reading them. It does not explicitly contrast with read-side siblings such as shipper_advice_list or shipper_advice_by_date, leaving that differentiation to inference.

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?

It gives a real precondition ('Verify the meaning and consequence with carrier and confirm each record with user before setting confirm=true'), which is useful when-to guidance. It stops short of naming alternatives or explaining when this tool should not be used, so usage is implied rather than fully routed.

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