- MAX DISTANCE
- AVERAGE
- SUMMARY
- HUMAN
Our technology reaches across leading technology and enterprise teams.

Short answer
How can I find the longest leg and average distance in a trip?
Your agent scans your trip list to find the single longest leg and the mean distance of all segments. You get these specific metrics immediately. Here is how it works.
The results
Where your data lands.
Your agent extracts these specific values from your trip data.
MAX DISTANCE
The longest leg
Your agent finds the single largest distance in your list. You'll see exactly which segment covers the most ground.
AVERAGE
Mean segment length
Your agent calculates the average distance for each segment. This gives you a baseline for the trip's scale.
SUMMARY
Trip overview
Your agent aggregates the distance data into a summary. You get the key numbers without doing the math yourself.
HUMAN
Manual review
You check the results against your actual itinerary. Your agent provides the numbers, but you verify the context.
The workflow
What your agent does when the data arrives.
Your agent processes your trip list through a sequence of distance calculations.
Identify segments
Your agent reads your trip list to isolate each individual leg.
find_longest_legFind the peak
Your agent compares each segment to find the one with the highest distance.
find_longest_legCalculate mean
Your agent sums all segment distances and divides by the total count.
get_average_leg_distanceFinal report
Your agent presents the longest leg and the average distance in a clear format.
find_longest_legget_average_leg_distance
Vinkius Agentic Execution Platform
State the outcome. Agents take it from there.
You don't have to drive this run by hand. Inside the Vinkius Agentic Execution Platform, agents pick up the task above and carry it to the end: you set the limits, you watch the steps, you keep all decisions.
Run it in Vinkius
Agents carry the task to the end
Agents execute Travel Distance Total tasks from end to end inside the Vinkius Agentic Execution Platform: set the outcome, and the steps run.
Take it to any compatible AI
One connection, any client
Same connection follows you to ChatGPT, Claude, Gemini and any other client you love. Switch whenever you want: your connection, your permissions and your record move with you.
Spaces
One Space per activity
A Space gathers the context, tools and tasks of one activity, so you coordinate several agents at once and follow each execution as it happens.
Limits
Autonomy inside limits you set
Permissions and spending limits are yours to define. Agents halt for your approval on anything sensitive, and you choose how far autonomy goes, step by step or end to end.
Record
All steps, on the record
Each action your agents take lands in a signed audit trail. Results are verified, mistakes are learned from, and an emergency stop is one click away.
Models
Included in your plan
A curated selection of AI models is included in your plan, and you can add your own through BYOK whenever you prefer.
Try it
Copy these to start.
Use these prompts to trigger the analysis immediately.
Starting points
Swap the bracketed text for your actual file names or data sources.
Travel Distance Total Connector
You're all set. Choose your MCP client and follow the setup instructions.
https://edge.vinkius.com/vk_preview_oDvg2XDK654vuMJzQeJeuWBxkkAFQbfu6qgpXTDz/mcpClaude Desktop
Follow the steps below to connect in seconds.
- 1In Claude Desktop, open Settings → Connectors.
- 2Click “Add custom connector” and paste the connector link above as the remote MCP server URL.
- 3Click Add and start a new chat, Travel Distance Total capabilities are ready to use.
{
"mcpServers": {
"travel-distance-total-mcp": {
"url": "https://edge.vinkius.com/vk_preview_oDvg2XDK654vuMJzQeJeuWBxkkAFQbfu6qgpXTDz/mcp"
}
}
}- 01
Find the longest leg in my trip_itinerary.csv file.
- 02
What is the average leg distance for the segments in this Google Sheet?
- 03
Analyze the travel segments in my recent trip list and tell me the longest leg.
- 04
Calculate the average distance for all legs in the provided JSON data.
Claude
ChatGPT
Cursor
VS Code
Windsurf
Claude Code
JetBrains
Cline
Start here
Connect Travel Distance Total once, then ask.
One click connects this MCP to your client. Your credentials stay encrypted, and you can start asking questions immediately.
Connect Travel Distance Total to your agentFAQ
How this task behaves
- 01
Can your agent change the distances in my original file?
No. Your agent only reads the data to perform calculations. It cannot modify your source files.
- 02
Can your agent add new segments to my trip list?
No. This connector is designed for analysis only and does not have tools to write or create new data.
- 03
Does it work with any trip format?
It works with any data format your AI client can read and pass to the connector.
- 04
Can your agent tell me the shortest leg?
No. The current tools are specifically built to find the longest leg and the average distance.
- 05
Do I need to provide the math formulas?
No. Your agent handles the calculations using its built-in tools.
More questions about Travel Distance Total? The Connector page answers them. See everything the Travel Distance Total Connector can do
Building with AI? Ship this whole workflow in your product.
Vinkius Connect is the connectivity layer for AI builders. All the capabilities used on this page, from Travel Distance Total to thousands more, arrive through one SDK, already maintained for you. One Application, unlimited seats, each with their own connectors and credentials, isolated and never exposed to Vinkius. No OAuth flows to write, no tokens to store, no APIs to chase.
Explore Vinkius ConnectTypeScript · Python · Java · Go · C# · PHP · Rust
- 01
Your customers bring their own keys.
Each user connects their own apps and keeps their own credentials. Vinkius only sees the identifier your backend sends.
- 02
Whole catalog, kept current.
Travel Distance Total plus thousands more, maintained and growing daily. No integrations to write, no token storage, no OAuth plumbing.
- 03
Any agent, any model.
Capabilities land as framework-neutral objects, with adapters for OpenAI, Anthropic, Gemini, the Vercel AI SDK, LangChain and more.
Connect Travel Distance Total to Claude, Cursor, ChatGPT & more
From idea to done
See what gets done when the agents take over the busywork
Each workflow on this page runs on the same platform. Connect your tools once, and your agents keep working in any AI you trust.









