Skip to main content
Glama

stat-api — Sports Data

graphql_query

Run a GraphQL query against the same data with relations — nest from a game to its teams/players/odds in one call. Root fields are leagues (nfl, nba, …), each exposing its tables with the same filter arguments as REST plus first/after pagination. Do NOT send introspection queries (the schema is huge) — use describe_table instead; the SDL is at https://api.stat-api.com/api/v1/graphql/sdl. Requires an API key; every row resolved anywhere in the tree counts against quota.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
queryYes
variablesNo

TDQS

A4.7/5.0
Behavior5/5

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

With no annotations provided, the description carries the full burden and does so excellently. It discloses API key requirements, per-row quota accounting, pagination semantics, and warns about the schema size. This goes well beyond minimal safety details.

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?

The description is concise yet packed with essential information: purpose, query structure, a critical warning, and authentication/quota details. Every sentence earns its place with no redundancy.

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

Completeness5/5

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

For a complex GraphQL tool with no output schema, the description covers all critical operational aspects: what it does, how to structure queries, where to find the schema, what not to do, and quota implications. The optional output shape is inherently defined by the query itself, so no further explanation is needed.

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 coverage is 0%, so the description must compensate. It provides meaningful context for the query parameter (root fields, filters, pagination) but does not explain the variables parameter at all. Partial compensation, but a gap remains.

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 clearly states it runs a GraphQL query to fetch relational data in one call, specifying the verb, resource, and unique value proposition (nested relations). It differentiates itself from siblings like query_table by emphasizing GraphQL and relational nesting.

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

Usage Guidelines5/5

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

Explicitly tells users when not to use it (introspection queries) and directs them to use describe_table instead, providing a clear alternative. It also implies the ideal use case: needing relational data in a single call vs REST.

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.4/5.0
Disambiguation5/5

Each tool targets a distinct purpose: metadata discovery (list_leagues, list_tables, describe_table), data retrieval (query_table, get_record, graphql_query), convenience queries (games_on_date, game_markets, search_players), and account management (api_usage). No two tools have overlapping boundaries despite some sharing the ability to access data.

Naming Consistency4/5

Most tools follow a clear verb_noun pattern (describe_table, get_record, list_leagues, list_tables, query_table, search_players), but a few use noun-only names (api_usage, game_markets, games_on_date, graphql_query). The naming is still readable and lowercase snake_case throughout, but the mix prevents a perfect score.

Tool Count5/5

10 tools is well-scoped for a sports data API: it provides the essential discovery, schema inspection, querying, and retrieval operations, plus a few convenience wrappers. The count is neither too thin nor bloated.

Completeness5/5

The tool set fully covers the lifecycle of a read-only data API: exploring available leagues/tables, understanding table schemas, querying with filters and pagination, fetching by primary key, and accessing relational data via GraphQL. Convenience tools for games, markets, and player search address common use cases, and any data not directly exposed can be accessed through query_table.