Skip to main content
Glama

Mark a shipment as received at the warehouse

mark_in_warehouse
DestructiveIdempotent

Changes data: sets one shipment's status to in_warehouse (received at the warehouse), as the person who connected this app, and records it in the organization's audit log. This cannot be undone from here, so confirm with the user which shipment before calling it, and use it only when they say the cargo has been received. Only admins and owners can do this in Trackberry, and the answer says so for anyone else. A shipment that is waiting for approval or in error cannot be marked. Safe to repeat: a shipment already in the warehouse is left as it is. Answers with the shipment.

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

Input Schema

NameRequiredDescriptionDefault
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.2/5.0
Behavior3/5

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

Annotations already declare destructiveHint=true, idempotentHint=true and readOnlyHint=false. The description goes beyond them usefully by naming the audit-log record, the non-reversible effect, the admin/owner requirement and the blocked statuses, and by explaining the repeat behavior ('already in the warehouse is left as it is') rather than merely restating it. Strong value added on every axis, though it does not cover failure handling or partial-failure responses in more depth.

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?

Front-loaded with 'Changes data:' to signal mutation immediately, then layered preconditions, permissions and idempotency in short declarative sentences. No filler, and every sentence contributes a distinct operational fact.

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?

Covers the mutation, its reversibility, the permission model, invalid source states, repeat-call behavior and what is returned ('Answers with the shipment') despite no output schema. Minor gap only in not describing error formatting for the non-admin case beyond 'the answer says so'.

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?

Only one parameter, and the schema already documents it fully at 100% coverage. The description adds no format or sourcing detail beyond what the schema says, so the baseline 3 applies rather than a higher score.

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 the specific verb and resource plus the exact target state: 'sets one shipment's status to in_warehouse (received at the warehouse)'. The 'Changes data:' prefix and the parenthetical gloss make the effect unambiguous and distinguishable from adjacent tools like archive_shipment or add_shipment_note.

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 call conditions ('only when they say the cargo has been received'), a confirmation requirement ('confirm with the user which shipment'), and exclusions ('a shipment that is waiting for approval or in error cannot be marked'). It also states the permission gate (admins and owners), so an agent knows both when to call and when it will fail.

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