From 4c23bbb06341fff3a4957999803fa426d3687e6d Mon Sep 17 00:00:00 2001 From: Cursor Agent Date: Thu, 10 Sep 2026 18:59:41 +0000 Subject: [PATCH 1/3] fix: clarify container transport event include Co-authored-by: Akshay Dodeja --- packages/mcp/src/server.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(), From b0cf08c4b752c4021e425ac69506a9ed53d78141 Mon Sep 17 00:00:00 2001 From: Cursor Agent Date: Thu, 10 Sep 2026 19:03:17 +0000 Subject: [PATCH 2/3] test: assert container event summary description Co-authored-by: Akshay Dodeja --- packages/mcp/src/protocol-compat.test.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/packages/mcp/src/protocol-compat.test.ts b/packages/mcp/src/protocol-compat.test.ts index 139b44db..62e64758 100644 --- a/packages/mcp/src/protocol-compat.test.ts +++ b/packages/mcp/src/protocol-compat.test.ts @@ -98,6 +98,9 @@ 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', From 4651389556465b3d0eefe5a0c755ca9c8141bcbd Mon Sep 17 00:00:00 2001 From: Cursor Agent Date: Thu, 10 Sep 2026 19:04:25 +0000 Subject: [PATCH 3/3] chore: format MCP schema expectation Co-authored-by: Akshay Dodeja --- packages/mcp/src/protocol-compat.test.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/packages/mcp/src/protocol-compat.test.ts b/packages/mcp/src/protocol-compat.test.ts index 62e64758..c3d49360 100644 --- a/packages/mcp/src/protocol-compat.test.ts +++ b/packages/mcp/src/protocol-compat.test.ts @@ -100,7 +100,9 @@ describe('MCP protocol compatibility', () => { }); expect( toolSchemas.get('get_container')?.properties?.include?.description, - ).toMatch(/transport_events: Event summary.*get_container_transport_events/); + ).toMatch( + /transport_events: Event summary.*get_container_transport_events/, + ); for (const name of [ 'list_shipments',