diff --git a/packages/mcp/src/protocol-compat.test.ts b/packages/mcp/src/protocol-compat.test.ts index 139b44db..c3d49360 100644 --- a/packages/mcp/src/protocol-compat.test.ts +++ b/packages/mcp/src/protocol-compat.test.ts @@ -98,6 +98,11 @@ describe('MCP protocol compatibility', () => { maxLength: 128, description: expect.stringMatching(/never pass conversation text/i), }); + expect( + toolSchemas.get('get_container')?.properties?.include?.description, + ).toMatch( + /transport_events: Event summary.*get_container_transport_events/, + ); for (const name of [ 'list_shipments', diff --git a/packages/mcp/src/server.ts b/packages/mcp/src/server.ts index f7e8ab18..072a73df 100644 --- a/packages/mcp/src/server.ts +++ b/packages/mcp/src/server.ts @@ -1105,7 +1105,7 @@ export function createTerminal49McpServer( "Optional related data to include. Default: ['shipment'] covers most use cases. " + '• shipment: Routing, BOL, line, ref numbers (lightweight, always useful) ' + '• pod_terminal: Terminal name, location, availability (lightweight, needed for demurrage questions) ' + - '• transport_events: Full event history, rail tracking (heavy 50-100 events, use for journey/timeline questions)', + '• transport_events: Event summary (count, rail event count, and latest event); use get_container_transport_events for the full timeline', ), }), outputSchema: z.object({}).passthrough(),