• WINNER
  • LOGIC
  • DATA
  • HUMAN

How to calculate two-legged tie winners with your agent

Connect this MCP to your AI client to automate knockout stage math. Once connected, your agent handles the aggregate scoring and away goals logic for you.

Ask AI about this page

Our technology reaches across leading technology and enterprise teams.

  • Amazon
  • NVIDIA
  • Red Hat
  • Fidelity Investments
  • Intuit
  • OLX Brasil
  • Writesonic
  • Artium
  • Trolley
Bunny World Voxel Workspace

Short answer

How do I find the winner of a two-legged tie using AI?

Your agent calculates the winner by summing the scores from both legs and applying the away goals rule if the aggregate score is tied. You'll get a clear determination of which team advances based on the specific tournament rules you provide.

The outcomes

What your agent delivers.

Your agent processes the match data to produce these results.

WINNER

Advancement status

Your agent identifies which team moves to the next round based on the aggregate score and away goals.

LOGIC

Tie-break breakdown

You get a clear explanation of why the away goals rule was or wasn't applied to the tie.

DATA

Score validation

Your agent checks that the leg scores provided are mathematically consistent before running the evaluation.

HUMAN

Manual review

You decide if the final result matches your specific tournament regulations or if a penalty shootout is required.

The workflow

What your agent does when the scores arrive.

Your agent handles the heavy lifting of comparing scores across multiple matches.

  1. Check the scores

    Your agent first ensures the scores from both legs are valid and complete.

    validate_scores
  2. Sum the totals

    Your agent calculates the aggregate score for both competing teams.

    evaluate_tie
  3. Apply away goals

    If the aggregate is tied, your agent checks which team scored more goals at the opponent's stadium.

    evaluate_tie
  4. Declare the winner

    Your agent outputs the final result of the tie.

    evaluate_tie

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 Away Goals Rule Evaluator 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 evaluation immediately.

Starting points

Swap the bracketed info with your actual match scores and team names.

Away Goals Rule Evaluator Connector

You're all set. Choose your MCP client and follow the setup instructions.

Connector linkhttps://edge.vinkius.com/vk_preview_Z7IsXkiTWbmnT6pItJFRaU7VO9XwmCKddtOl9v3e/mcp

Claude Desktop

Follow the steps below to connect in seconds.

  1. 1In Claude Desktop, open Settings → Connectors.
  2. 2Click “Add custom connector” and paste the connector link above as the remote MCP server URL.
  3. 3Click Add and start a new chat, Away Goals Rule Evaluator capabilities are ready to use.
Configuration · claude_desktop_config.jsonCopy
{
  "mcpServers": {
    "away-goals-rule-evaluator-mcp": {
      "url": "https://edge.vinkius.com/vk_preview_Z7IsXkiTWbmnT6pItJFRaU7VO9XwmCKddtOl9v3e/mcp"
    }
  }
}
Copy into chat04
  • 01

    Calculate the winner for the tie between Team A and Team B. Leg 1: 2-1. Leg 2: 1-2.

  • 02

    Who advances in this knockout tie? Team X won the first leg 3-0, and Team Y won the second leg 1-0.

  • 03

    Evaluate this tie: Home team scored 2 in leg 1 and 0 in leg 2. Away team scored 1 in leg 1 and 1 in leg 2.

  • 04

    Check the aggregate score for the match between the Lions and the Tigers using the scores in this spreadsheet.

  • Claude
  • ChatGPT
  • Cursor
  • VS Code
  • Windsurf
  • Claude Code
  • JetBrains
  • Cline

Start here

Connect Away Goals Rule Evaluator once, then ask.

Click the link to connect the MCP to your client. Your login credentials stay encrypted and private.

Connect Away Goals Rule Evaluator to your agent

FAQ

How this task behaves.

  • 01

    Can your agent change the actual match scores?

    No. Your agent only reads the scores you provide to calculate the outcome.

  • 02

    Does it handle penalty shootouts?

    No. Your agent only evaluates the tie based on aggregate scores and away goals. You must handle shootout logic yourself.

  • 03

    Can I use this for group stage matches?

    No. This specific tool is designed for two-legged knockout ties.

  • 04

    Will it work if I give it incomplete scores?

    No. Your agent will use the validation tool to flag the error if a leg score is missing.

  • 05

    Does your agent decide which tournament rules to use?

    No. You must tell your agent if the away goals rule is active for your specific tournament.

  • More questions about Away Goals Rule Evaluator? The Connector page answers them. See everything the Away Goals Rule Evaluator 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 Away Goals Rule Evaluator 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 Connect

TypeScript · 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.

    Away Goals Rule Evaluator 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 Away Goals Rule Evaluator 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.