Skip to main content
Glama
varzesh3-mcp

varzesh3-mcp

by sepehr071

Head to head

v3_head_to_head
Read-onlyIdempotent

Get past meetings between two football teams and a won/drawn/lost summary for the selected team by scanning recent matches across competitions.

Instructions

Get the past meetings of two football teams with a won/drawn/lost summary for team_id.

No upstream head-to-head page: this scans the last depth*24 matches of team_id (all competitions) for the opponent; raise depth to look further back. Each meeting has an id for v3_match.

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>",
      "opponent_id": "<opponent_id>"
    },
    "name": "v3_head_to_head"
  }
}

Input Schema

NameRequiredDescriptionDefault
depthNoPages of 24 matches to scan (5 is about 4 seasons).
limitNoNewest first.
team_idYesTeam id from v3_search or v3_standings, e.g. 6 (Perspolis).
opponent_idYesTeam id from v3_search or v3_standings, e.g. 6 (Perspolis).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed4 schema fields changedv0.2.0
    • changedInput schema / properties / depth / description
      Previous value: -"How many pages of 24 past matches of team_id to scan (5 is about 4 seasons)."New value: +"Pages of 24 matches to scan (5 is about 4 seasons)."
    • changedInput schema / properties / limit / description
      Previous value: -"How many meetings to list, newest first."New value: +"Newest first."
    • changedInput schema / properties / opponent_id / description
      Previous value: -"Team id from v3_search or v3_standings, e.g. 6 (Perspolis), 4 (Esteghlal)."New value: +"Team id from v3_search or v3_standings, e.g. 6 (Perspolis)."
    • changedInput schema / properties / team_id / description
      Previous value: -"Team id from v3_search or v3_standings, e.g. 6 (Perspolis), 4 (Esteghlal)."New value: +"Team id from v3_search or v3_standings, e.g. 6 (Perspolis)."
  2. First observedv0.1.1

TDQS

A4.6/5.0
Behavior5/5

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

Discloses a genuinely non-obvious trait not covered by the readOnly/idempotent annotations: there is no upstream head-to-head endpoint, so results are derived by scanning the last depth*24 matches of team_id across all competitions, meaning history can be incomplete. It also reveals the asymmetry of the W/D/L summary and the downstream match id, which an agent could not infer from the annotations.

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?

Three short sentences, front-loaded with the outcome, then the caveat, then the handoff. The 'No upstream head-to-head page' clause is justified because it explains why depth exists at all.

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?

There is no output schema, and the description does a good job of sketching what comes back (meetings with ids plus a W/D/L summary) and how far back it reaches. It stops short of describing the shape of the summary object or how meetings are ordered beyond the schema's 'newest first', which would have made it fully self-contained.

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?

With 100% schema coverage the baseline is 3, and the description earns above that by explaining that depth*24 matches of team_id are scanned for the opponent 'in all competitions', which clarifies what the depth integer actually traverses. It adds no further detail on limit or id formats, which the schema already covers.

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?

States a specific verb and resource — 'get the past meetings of two football teams' — plus the aggregate produced ('won/drawn/lost summary for team_id'). The two-team framing clearly separates it from single-team siblings like v3_team_matches and from single-fixture v3_match.

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?

Gives actionable guidance on the depth knob ('raise depth to look further back') and routes the agent forward by noting each meeting carries 'an id for v3_match'. It does not explicitly state when to prefer v3_team_matches or v3_scores instead, so there is no full exclusion rule.

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