Skip to main content
Glama
Sports Hub MCP Server

Sports Hub MCP Server

by danmorris27

openliga: Get last match by team

openliga_get_last_match_by_team
Read-onlyIdempotent

Retrieve a team's last completed match by providing its numeric team ID. Find team IDs with get_teams to check recent results.

Instructions

Get the last completed match for a team. Use get_teams to find team IDs.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "team_id": "<team_id>"
    },
    "name": "openliga_get_last_match_by_team"
  }
}

Input Schema

NameRequiredDescriptionDefault
fieldsNoKeys to keep (comma-separated).
team_idYesThe numeric team ID

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.4.1

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already cover the safety profile (readOnly, idempotent, openWorld), lowering the bar. The description's only added behavioral detail is the 'completed' qualifier, indicating unplayed matches are skipped; it says nothing about return shape or edge cases such as a team with no completed matches.

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

Conciseness5/5

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

Two tight sentences with the core action front-loaded and the helper pointer second. No filler or redundancy.

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 simple read-only single-record lookup with full schema coverage and annotations carrying the safety profile, this is nearly complete. The absence of an output schema means the description could say slightly more about what the returned match contains, but nothing needed to call it correctly is missing.

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

Parameters3/5

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

Schema description coverage is 100%, so both parameters ('team_id' and 'fields') are already documented in the schema. The description adds no syntax, format, or field-selection meaning beyond what the schema provides, so the baseline of 3 applies.

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

Purpose4/5

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

States a specific verb and resource ('Get the last completed match for a team'), and the 'completed'/'last' qualifier implicitly separates it from the sibling openliga_get_next_match_by_team. It stops short of naming that sibling outright, so the distinction must be inferred.

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

Usage Guidelines3/5

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

Provides one actionable prerequisite ('Use get_teams to find team IDs'), which is genuinely helpful. However it gives no explicit guidance on when to choose this over openliga_get_next_match_by_team or openliga_get_matches_by_league_season; the distinction is only implied by 'last completed'.

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

Deploy Server

Other Tools