Skip to main content
Glama
lacausecrypto

Sports Hub MCP Server

mlb: Get teams

mlb_get_teams
Read-onlyIdempotent

List MLB teams with IDs, names, venues, divisions, and leagues by season. Filter fields and sport ID to get only the team data needed.

Instructions

List MLB teams with their IDs, names, venues, divisions, and leagues.

Input Schema

NameRequiredDescriptionDefault
fieldsNoKeys to keep (comma-separated).
seasonNoSeason year
sportIdNoSport ID (1=MLB)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changedv1.4.1
    • removedInput schema / $schema
      Removed value: -"http://json-schema.org/draft-07/schema#"
    • addedInput schema / properties / fields
      Added value: +{
      +  "description": "Keys to keep (comma-separated).",
      +  "type": "string"
      +}
  2. Changed1 schema field changedv1.3.0
    • removedInput schema / additionalProperties
      Removed value: -false
  3. First observedv1.2.0

TDQS

B3.4/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, and openWorldHint, so the safety profile is covered and the description's burden is lighter. The description adds the shape of the returned records (IDs, names, venues, divisions, leagues), but says nothing about pagination, result size, or whether the list is season-dependent despite a season parameter.

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?

One front-loaded sentence with no filler; the verb and resource lead and the returned attributes follow. Nothing needs to be trimmed.

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 zero-required-parameter reference list with full schema coverage and annotations covering safety, the description is nearly sufficient. The only meaningful gap is not clarifying the interaction between the season/sportId parameters and the returned team set.

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 all three parameters (fields, season, sportId) are already documented in the schema, which sets the baseline at 3. The description adds no extra meaning about how fields filtering or season selection affects the output.

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?

Names a specific verb (List) and resource (MLB teams) and enumerates the payload (IDs, names, venues, divisions, leagues), so the agent knows exactly what comes back. It does not explicitly differentiate itself from other team-listing siblings such as espn_get_teams, openliga_get_teams, or sportsdb_search_teams, though the MLB prefix and the venue/division/league fields do implicitly scope it.

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

Usage Guidelines2/5

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

There is no when-to-use statement, no prerequisites, and no mention of alternative team-lookup tools. Usage is only inferable from the tool being a flat reference list, so the agent gets no routing help.

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