Skip to main content
Glama

Search Teams

search_teams
Read-onlyIdempotent

Search TheSportsDB for sports teams by name — football/soccer clubs in any league worldwide including lower divisions, plus NBA, NFL, MLB and more. Returns team id (use with team_events_next / team_events_last for fixtures and results), sport, league, country, stadium, and description.

Input Schema

NameRequiredDescriptionDefault
queryYes

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • addedInput schema / examples
      Added value: +[
      +  {
      +    "query": "Manchester United"
      +  },
      +  {
      +    "query": "Lakers"
      +  }
      +]
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "description": "Response from TheSportsDB team search endpoint",
      +  "type": "object"
      +}
  2. First observed

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, openWorldHint=true, and destructiveHint=false. The description adds value by explaining the return payload (team id, sport, league, country, stadium, description) and the scope (worldwide leagues, lower divisions). It also provides usage context that the openWorldHint alone does not, such as the specific sports covered. This is more than 3 but not quite 5 because it doesn't mention rate limits or behavior for no results.

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 a single, front-loaded sentence that immediately states the core action 'Search TheSportsDB for sports teams by name', then efficiently adds scope, examples, and return values in a compact clause. Every phrase adds value without 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?

Given the simple parameter (single string query), the existence of annotations (readOnlyHint, idempotentHint, openWorldHint) and an output schema, the description covers the key missing details: what the tool searches (sports teams by name), its scope (worldwide leagues, multiple sports), and what information is returned. It is complete for the tool's complexity but could briefly mention that results are limited or that further lookups are needed via team_events_next/team_events_last.

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?

The schema provides 0% description coverage (no parameter descriptions) and just has an 'examples' array with two examples. The description compensates by explaining that 'query' is a team name and listing the type of data returned, which helps the agent understand what search term to provide. With only one parameter and no enums, the agent can infer most semantics from the examples and tool name, so the description adds meaningful context beyond the schema.

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 the verb 'search' and resource 'sports teams', with specific examples of team types (football/soccer clubs, NBA, NFL, MLB) and the scope (any league worldwide including lower divisions). It also lists what the tool returns, distinguishing it from similar tools like 'get_team' (which likely returns details for a specific team ID) and 'search_players'.

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?

The description explicitly names related tools for next steps (team_events_next, team_events_last) and clearly states the tool is for searching by name. It implies when to use this tool (when you need to find a team's ID, sport, league, country, etc.) but does not explicitly state when not to use it or mention alternatives among siblings like 'get_team' or 'league_teams'.

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.