Skip to main content
Glama

Cito UFC & MMA API

Resolve Entity

resolve_entity
Read-onlyIdempotent

Natural-language / fuzzy query → best typed entity ID(s) + game (player, team, event, tournament, match, fighter).

When to use:

  • User named an entity without an ID ("T1", "s1mple", "IEM Cologne", "Islam Makhachev")

  • Need a canonical id/slug before profile or match tools

Prefer over search_entities when you want one best match (or small ranked set) to chain. Prefer search_entities when browsing many results with pagination.

Do not use when: you already have a stable id/slug from a prior tool.

Empty/ambiguous results still return ok:true with best=null or needsDisambiguation=true — pick from candidates or refine q/game/type. Does not emit AMBIGUOUS_ENTITY as a hard error.

Parallel-safe: yes. API calls: 1–5. Example: { "q": "T1", "game": "lol", "type": "team", "limit": 5 }

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "q": "<q>"
    },
    "name": "resolve_entity"
  }
}

Input Schema

NameRequiredDescriptionDefault
qYesSearch text (name or tag). Keep short.
gameNoStrongly recommended. If omitted, fans out across primary games and ranks candidates.
typeNoEntity type bias. Example: "team".any
limitNoMax ranked candidates (default 5, max 10).

Output Schema

NameRequiredDescriptionDefault
okYestrue if the tool succeeded
dataNoResult payload when ok is true; null on error
metaYes
errorNo
partialNo
paginationNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.5/5.0
Behavior5/5

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

Annotations already declare readOnly/openWorld/idempotent/non-destructive, but the description adds behavior annotations cannot express: unresolved or ambiguous input returns ok:true with best=null or needsDisambiguation=true rather than an AMBIGUOUS_ENTITY hard error, plus parallel-safety and a 1–5 API-call budget. That is exactly the recovery-path information an agent needs to handle a null result without aborting.

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?

Front-loaded summary followed by labeled when-to-use / prefer / do-not-use / behavior blocks, which is easy to scan. Minor redundancy between the ok:true sentence and the AMBIGUOUS_ENTITY sentence keeps it just short of ideal.

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 it correctly avoids describing the return shape in detail, yet still flags the meaningful branch cases (best=null, needsDisambiguation=true). Guiding that game should be supplied is present; a brief note on how ranked candidates differ in confidence would close the last gap.

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% and the schema already explains q, the game enum, the type bias with default "any", and limit bounds including the omitted-game fan-out behavior. The description adds only a sample payload and a passing instruction to refine q/game/type, so the schema does the substantive work and baseline 3 applies.

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 first line states a precise transformation: natural-language/fuzzy query in, best typed entity ID(s) plus game out, and enumerates the entity kinds it resolves. That distinguishes it cleanly from search_entities without the agent needing to open either schema.

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?

It gives positive triggers with concrete example queries ("T1", "s1mple", "IEM Cologne"), a stated precondition (need a canonical id before profile/match tools), an explicit alternative rule (prefer search_entities for browsing with pagination), and a negative case (do not use when you already have a stable id/slug).

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.

Resources