Skip to main content
Glama

Sports Betting Stats MCP

hgservices/apify-actor-espn

hgservices--apify-actor-espn
Destructive

This tool calls the Actor "hgservices/apify-actor-espn" and retrieves its output results. Actor description: Get live scores, schedules, and game results from ESPN — covering NBA, NFL, MLB, NHL, MLS, EPL, NCAA, and more. Find the next game of any team. No API key needed. Filter by team, date, or status. Empty results explain why.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "hgservices--apify-actor-espn"
  }
}

Input Schema

NameRequiredDescriptionDefault
dateNoDate for 'single' date mode, as YYYYMMDD (or YYYY-MM-DD).
teamsNoOnly return games of these teams. Use an ESPN code (LAL, GS, NY, WSH), a common code (GSW, NYK, WAS, LAK) or a team name (Lakers, Golden State Warriors). An entry applies to every selected league. To limit it to one league, add a league prefix, for example nba:LAC. Entries that match no team are reported in a notice item. Leave empty for all teams.
endDateNoLast day for 'range' date mode, as YYYYMMDD (or YYYY-MM-DD). A range can be up to 366 days. A longer range is cut to 366 days, and the run reports this in a notice item.
leaguesNoLeague codes: nba, wnba, ncaam (NCAA men's basketball), ncaaw (NCAA women's basketball), nfl, ncaaf (NCAA football), mlb, nhl, mls, epl (English Premier League), laliga, ucl (UEFA Champions League). Ask only for the leagues you need: each league costs one request per day. Example values: ["nba","nfl","mlb","nhl","ncaam","wnba"]
dateModeNonextGames: the next games that are not over, from today - per league the next game day, or with 'teams' the next game of each team. Use it for 'when do they play next'. Many leagues skip days (NFL: mostly Thu, Sun, Mon), so 'today' is often empty. today, tomorrow, yesterday: one day. thisWeek: Mon-Sun. thisWeekend: Sat-Sun. next7Days, last7Days: 7 days from or to today. single: 'date'. range: 'startDate' to 'endDate', up to 366 days. Days are in 'timezone'. Example values: "today"today
liveOnlyNoOnly games in progress at the moment of the run. Often empty: most games are in the evening (US time). For a schedule or scores, leave it false and read status.state of each game.
timezoneNoIANA timezone (for example America/New_York, America/Los_Angeles, Europe/London). It sets what today, tomorrow and the other relative modes mean, and the time in dateLocal. Use the user's timezone. Example values: "America/New_York"America/New_York
waitSecsNoMax seconds (0–45, default 30) to cap the wait for the Actor run to reach terminal state. For long-running Actors the response returns at the cap with the current run status; follow `nextStep` to poll via get-actor-run. Set to 0 to fire-and-forget.
startDateNoFirst day for 'range' date mode, as YYYYMMDD (or YYYY-MM-DD).
gameStatusNopre = scheduled (not started), in = in progress, post = final (also postponed or canceled). Keep all three unless you need only one kind, for example ["post"] for results only. Example values: ["pre","in","post"]
networkFilterNoOnly games on these networks, as ESPN names them (for example ESPN, TNT, ABC, Prime Video). Not case-sensitive.
homeAwayFilterNoOnly with teams: all games of those teams, only their home games, or only their away games. With dateMode nextGames, it finds the next home (or away) game. Example values: "all"all
includeNoticesNoWhen a run returns no games, or the Actor ignored or changed part of the input, write one item with type 'notice' at the start of the dataset. It says why (for example: no NFL games today, the next ones are on Thursday) and what to change. Game items have type 'game'. Turn this off if your pipeline must get game items only. The explanation is also in the run's status message and in the SUMMARY record. Example values: true
nationalTvOnlyNoOnly games on a US national TV or streaming network (ESPN, ABC, TNT, FOX, NBC, CBS, Prime Video and others).
startingWithinHoursNoOnly scheduled games that start in the next N hours (1-72). Games in progress and final games are kept.

Output Schema

NameRequiredDescriptionDefault
tipNoAdvisory guidance RAG Web Browser wrote to its key-value store under the reserved "TIP" key
runIdYesActor run ID
statsNoRun statistics
statusYesRun status: READY | RUNNING | TIMING-OUT | TIMED-OUT | ABORTING | ABORTED | SUCCEEDED | FAILED
actorIdYesStable Apify Actor ID from the run record
summaryYesPast-tense summary of the run state
exitCodeNoActor process exit code; populated for terminal states (especially FAILED)
nextStepYesOne primary follow-up action with identifiers interpolated
storagesYesDataset and key-value store metadata, keyed by alias. "default" is always the primary entry.
actorNameNo"username/actor-name"
startedAtNoISO timestamp when the run started
finishedAtNoISO timestamp when the run finished (terminal states only)
statusMessageNoPass-through from Apify run.statusMessage
apifyConsoleUrlNoPersonalized Apify Console link to the run; present only for Console sessions

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added
  2. Removed
  3. Added
  4. Removed
  5. Added
  6. Removed
  7. Added
  8. Removed
  9. Added
  10. Removed
  11. Added
  12. Removed
  13. Added
  14. Removed
  15. Added
  16. Removed
  17. Added
  18. Removed
  19. Added
  20. Removed
  21. Added

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already declare openWorldHint=true and destructiveHint=true, so the agent knows this is an external, side-effecting-seeming call; the description does not contradict that. It adds useful context that empty results are self-explaining ('Empty results explain why') and that no API key/credential is required. It does not disclose the async run/wait mechanics (waitSecs cap, polling follow-up via get-actor-run) or the dataset-item shape, which matter for this wrapper tool.

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

Conciseness4/5

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

Two sentences, front-loaded with what the tool does, then the Actor's capability summary. The only mild redundancy is the repeated tool/Actor name and the generic 'retrieves its output results' phrasing, but there is no filler or digression.

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?

With an output schema present and 100% parameter coverage, the description does not need to explain return values or field formats, and it correctly delegates the 'why empty' behavior to the documented notice item. The remaining gap is the run lifecycle (wait cap, polling next step) for this async Actor wrapper, which is only covered inside the waitSecs parameter description.

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% across all 15 parameters, and the input schema already explains dateMode semantics, team-code formats, and the notice mechanism in detail. The description only echoes those filters at a high level ('team, date, or status') and adds no syntax or default guidance beyond the schema. Baseline 3 is appropriate when the schema does the heavy lifting.

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?

The description names a specific resource and outcome: it invokes the 'hgservices/apify-actor-espn' Actor and returns ESPN live scores, schedules, and game results across named leagues, with team/date/status filtering. That is far more than a restatement of the title and lets an agent recognize the sports-data use case. It does not differentiate itself from siblings like get-dataset-items or get-actor-run, which likely expose the same underlying data.

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?

Usage is implied rather than stated: 'Find the next game of any team' and 'Filter by team, date, or status' hint at intent, and 'No API key needed' removes a prerequisite concern. However, it never says when to prefer this Actor call over the sibling polling/retrieval tools, nor when not to use it (e.g., for non-ESPN sports data).

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.