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.

Example tool call

This call uses example arguments supplied in the tool’s input schema.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "query": "Manchester United"
    },
    "name": "search_teams"
  }
}

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.2/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, openWorldHint, idempotentHint and destructiveHint=false, so the safety profile is covered. The description adds genuine context beyond them: the open-world source is named, the fields returned are listed, and the downstream chaining to team_events_next/team_events_last is spelled out. It does not state result limits or how ambiguous multi-match queries are resolved.

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?

Two sentences, front-loaded with the action and coverage, followed by returns and the chaining hint. No filler, no restatement of the title, and every clause carries information an agent would act on.

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?

An output schema exists, so enumerating return fields is partly redundant, but it usefully exposes the team id as the join key to the event tools. With annotations handling safety, the only real gap is query-matching behavior for an open-world search tool.

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?

There is one required parameter with 0% schema description coverage, so the description must carry the meaning. 'By name' implies what query holds, but it says nothing about partial vs exact matching, case sensitivity, or maximum results, which matters for short queries like 'United'.

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 (Search) plus resource (sports teams) and names the backing data source (TheSportsDB), then scopes coverage explicitly: football/soccer clubs in any league worldwide including lower divisions, plus NBA, NFL, MLB. The 'by name' phrasing separates it from league-scoped siblings such as league_teams without opening another schema.

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 clear context for when to call it (looking up a team by name) and an explicit next step: reuse the returned team id with team_events_next / team_events_last for fixtures and results. It stops short of stating exclusions, e.g. that listing all teams in a league is a different operation, so the agent must infer the boundary with 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.