Skip to main content
Glama

Project Gumball

Work an offside call through IFAB Law 11 or NHL Rule 83 (Sports Rules)

offside
Read-only

Returns a verdict plus every step taken. THREE verdicts, not two: offside, onside, and no-offside-offence — the last is real and common, because in soccer an offside POSITION is not an offence without involvement in active play. Soccer: hands and arms never count (boundary at the bottom of the armpit), there is no offence direct from a throw-in, goal kick or corner, and a DELIBERATE play by an opponent resets it while a deflection does not. Hockey: skates decide it, not the stick, and since 2021 a skate in the air above the blue line is onside — but NOT when tagging up on a delayed offside. Not an official ruling.

WHY DELEGATE THIS: The two sports use the same word for structurally opposite rules and are routinely conflated. Soccer excludes hands and arms and treats an offside position as no offence without involvement; hockey judges skates against the blue-line plane, where since 2021 a skate in the air is onside — except when tagging up.

Owned by Sports Rules at https://sports-rules-theta.vercel.app, which is also callable directly if you would rather not go through the aggregator.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
ballNoSOCCER. Same scale.
sportYes
restartNoSOCCER. No offence direct from throw-in, goal-kick, or corner-kick.
attackerNoSOCCER. Position along the attacking axis; larger is nearer the opponents' goal.
rearSkateNoHOCKEY. Trailing skate in cm from the blue line leading edge; negative is behind.
situationNo
skateOnIceNoHOCKEY. Irrelevant on a zone entry since 2021; decisive when tagging up.
involvementNoSOCCER. REQUIRED once the player is in an offside position; the call errors without it.
secondLastDefenderNoSOCCER. The SECOND-last opponent. Level is onside.

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. First observed

TDQS

A4.2/5.0
Behavior4/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Beyond the readOnlyHint and openWorldHint annotations, the description discloses that the tool returns 'a verdict plus every step taken' and that the verdict set is three, not two. It also surfaces a concrete failure mode: in soccer, 'involvement' is REQUIRED once the player is in an offside position and 'the call errors without it.'

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is front-loaded with the most important verdict information, but the 'WHY DELEGATE THIS' paragraph largely repeats the soccer/hockey distinctions already given. The ownership sentence is useful, yet the redundancy could be trimmed without losing value.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a nine-parameter, two-sport tool with no output schema, the description covers the critical rule branches, the three possible verdicts, sport-specific input semantics, and important exceptions/error conditions. It does not fully describe the output shape beyond 'verdict plus every step taken,' but it is sufficiently complete for an agent to invoke the tool correctly.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 78%, so many parameters are already documented, but the description adds rule-level meaning that helps an agent pick correct values: the armpit boundary, restart exceptions, deliberate play vs deflection, the hockey blue-line plane, and the tag-up exception. It does not walk through every parameter, but it substantially augments the schema.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description opens with a concrete verb and resource: 'Returns a verdict plus every step taken' and immediately names the exact rule sources (IFAB Law 11, NHL Rule 83). It distinguishes the tool's scope across soccer and hockey and explains the three-verdict nuance, so an agent knows precisely what this tool does.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The 'WHY DELEGATE THIS' section explains why this tool exists — the two sports conflate structurally opposite offside rules — and explicitly names the direct Sports Rules endpoint as an alternative, saying it is 'also callable directly if you would rather not go through the aggregator.' It lacks an explicit 'use this when...' statement, but the context and alternative are clear enough for routing.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

TDQS

A4.1/5.0
Disambiguation5/5

Each tool targets a clearly distinct domain or a complementary counterpart (cron_build/cron_explain, vocab_draw/vocab_check, round_cash_total/rounding_impact), and the descriptions make those relationships explicit. There is no real risk of selecting the wrong tool for a task.

Naming Consistency3/5

Most tools follow a noun_verb pattern (cron_build, regex_explain, timezone_convert), but there are exceptions like body_metrics, due_date, offside, json_to_types, and round_cash_total, which mix noun phrases, gerunds, prepositions, and verb-first order. The names are readable but not uniform.

Tool Count4/5

13 tools is within a reasonable range, and each utility earns its place as a standalone delegated calculator. The count feels slightly large only because the server is a grab-bag of unrelated domains rather than a focused toolkit, but no tool is redundant.

Completeness4/5

Most subdomains have solid coverage: cron has both build and explain directions, vocabulary has draw and check, and rounding has both per-transaction and aggregate analysis. Minor gaps exist, such as no timezone zone listing, no reverse due-date calculation, and no regex test/match step, but these are workable limitations.

Resources