Skip to main content
Glama

List a shipment's customer tracking links

list_share_links
Read-onlyIdempotent

The customer tracking links of one shipment, active and revoked, newest first. Each has an id such as "shl_41", the customer_reference and label it was made for, its url (the public tracking page for that customer; a revoked link has none), whether it is active, the automation that made it (id and name, null for one a person made), and when it was created or revoked. Anyone who holds an active url can open the shipment's public tracking page. Use it for "which links did we give Acme" and before revoke_share_link, which needs the id.

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": "list_share_links"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoHow many results to return, 1 to 100.
shipment_idYesA shipment id such as "shp_123", as returned by search_shipments.
starting_afterNoPaging cursor: the id of the last result of the previous page. Only when has_more was true.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint and non-destructive, so safety is covered; the description adds value beyond that by disclosing the returned fields, noting revoked links have no `url`, and warning that anyone holding an active url can open the public tracking page. That security implication is genuinely useful context an agent would not get from structured fields.

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-loaded with the resource and ordering, then the return fields, then usage. The middle sentence is a long enumeration of fields and reads as a run-on, but every clause carries information; little could be cut without losing behavior detail.

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?

With no output schema, the description compensates by enumerating the returned fields (id, customer_reference, label, url, active, automation, timestamps) and the null cases. Combined with annotations and the fully documented schema, an agent has everything needed to call it and interpret results.

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 all three parameters (shipment_id, limit, starting_after) are documented in the schema itself. The description only implies shipment scoping and adds no new meaning about limit ranges or cursor semantics, so 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 resource with scope and ordering: 'The customer tracking links of one shipment, active and revoked, newest first.' It also distinguishes the tool from create/revoke siblings by naming revoke_share_link as a downstream consumer, so an agent can identify it without opening the schema.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Gives a concrete trigger phrase ('which links did we give Acme') and an explicit sequencing rule (call this before revoke_share_link, which needs the id). It does not say when to prefer a different listing tool or handle the empty/no-links case, but the usage context is clear.

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