Skip to main content
Glama

Record a CFS release date

record_cfs_release
DestructiveIdempotent

Changes data: records the day an LCL shipment's forwarder released the cargo at its container freight station (CFS), as the person who connected this app, and records it in the organization's audit log. It replaces a release date read from a forwarder's email or typed before, and from then on a later email does not override it. Use it only when the user gives the date, and say what you are about to record first. Only an LCL shipment has one (the answer says so otherwise), and the date must be today or earlier and within two years. Recording the date it already has changes nothing more. Sends nothing. Undo it with remove_cfs_release. Get the shipment_id from search_shipments. Answers with the release: released_on and its source.

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": {
      "shipment_id": "<shipment_id>",
      "released_on": "<released_on>"
    },
    "name": "record_cfs_release"
  }
}

Input Schema

NameRequiredDescriptionDefault
released_onYesThe day the cargo was released, YYYY-MM-DD.
shipment_idYesA shipment id such as "shp_123", as returned by search_shipments.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.8/5.0
Behavior5/5

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

Annotations already flag a destructive, idempotent write; the description goes further by explaining overwrite semantics ('replaces a release date read from a forwarder's email or typed before, and from then on a later email does not override it'), that the action is attributed to the connecting user and written to the audit log, that a no-op re-record changes nothing, and that it sends nothing externally.

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-loads the mutation warning ('Changes data'), then constraints, then reversal and sourcing. Dense but every clause carries a distinct rule; the only cost is a slightly run-on block of constraints packed into one paragraph.

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?

For a two-parameter mutation with no output schema, the description covers preconditions, overwrite behavior, attribution, audit logging, idempotence, side effects, and the returned fields (`released_on` and its `source`). An agent can call this correctly and explain the result without further information.

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 the baseline is 3, but the description adds real meaning: it constrains released_on to today or earlier and within two years, and routes the agent to search_shipments for shipment_id. It doesn't add format detail beyond the schema, which already covers YYYY-MM-DD.

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 ('records the day an LCL shipment's forwarder released the cargo at its CFS') with explicit scope (LCL only, forwarder release, not other dates). It is clearly distinguishable from remove_cfs_release, which it names as the inverse.

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 explicit when-to-use ('only when the user gives the date'), a required interaction step ('say what you are about to record first'), preconditions (LCL only, date today or earlier and within two years), and the alternative for reversal (remove_cfs_release). Nothing is left to inference.

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