Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions packages/mcp/src/protocol-compat.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down
2 changes: 1 addition & 1 deletion packages/mcp/src/server.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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(),
Expand Down
Loading