Skip to main content
Glama

Add a note to a shipment

add_shipment_note

Changes data: adds a paragraph to the end of one shipment's notes, as the person who connected this app, and records it in the organization's audit log. Everyone in the organization sees the notes on the shipment's page. Use it only when the user asks to note, record or write something on a shipment, and write the text they asked for. It only appends: what colleagues wrote stays, and nothing here edits or removes notes, which a person does in Trackberry. Each call adds the text again, so do not repeat a call that succeeded. text is Markdown, and the notes hold 20000 characters in all. Answers with the notes as they now stand.

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>",
      "text": "<text>"
    },
    "name": "add_shipment_note"
  }
}

Input Schema

NameRequiredDescriptionDefault
textYesThe paragraph to add, plain text or Markdown.
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.4/5.0
Behavior4/5

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

Adds substantial context beyond the annotations: attribution to the connecting user, org-wide visibility, audit-log recording, append-only semantics, and non-idempotency with concrete advice not to retry. The remaining gap is the response shape detail, which is only summarized as 'the notes as they now stand' rather than described as a field.

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 and audit-log behavior, then usage rules, then constraints. Every sentence carries information, but the append-only explanation and the Trackberry handoff overlap slightly and could be tightened.

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?

No output schema exists, and the description covers the return ('answers with the notes as they now stand'), the visible side effects, the size limit, and the retry hazard. For a two-parameter append tool this is enough to invoke it correctly without guessing.

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% and both parameters are documented in the schema, so the baseline applies. The description only adds that `text` is Markdown and that 20000 characters is the total notes limit, not a per-call cap — useful, but thin relative to what the schema already provides.

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: adds a paragraph to the end of one shipment's notes. It also names the acting identity and the audit-log record, which no sibling tool description covers, so an agent can tell it apart from read-side tools like get_shipment or search_shipments.

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 trigger ('only when the user asks to note, record or write something on a shipment') and an explicit out-of-scope case ('nothing here edits or removes notes, which a person does in Trackberry'). It also tells the agent to pass the user's text verbatim rather than paraphrasing, and to avoid repeating a successful call.

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