Skip to main content
Glama

Get course info

get_course_info
Read-onlyIdempotent

Información de un campo del catálogo. Con name: los campos que coinciden, sin valoración (la de cada barra solo viene en el detalle); si coincide uno solo, devuelve ya su detalle. Con course_id: sus barras (color, slope, course rating, par y metros) y sus hoyos. Un slope, un diferencial o los metros de un hoyo salen de la barra que juega él y se dicen con su barra. Para contestar sobre un campo que nombra el jugador usa get_course_profile (ficha corta por recorrido y barra); esta herramienta es para los ids de campo y de barra (tee_id) de una vuelta.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "get_course_info"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameNoTexto a buscar por nombre de campo.
course_idNoID exacto del campo (si se conoce).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.5/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent and non-destructive, so safety is covered; the description adds real behavioral detail beyond that by disclosing the mode-switch (name search returns a match list without ratings, a single match auto-returns detail) and enumerating the returned tee attributes and holes, which matters because there is no output schema. It stops short of describing ordering, result limits or empty-match behavior, so a 4 rather than a 5.

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?

The payload content and the sibling routing are front-loaded, and each sentence carries distinct information (catalog scope, name mode, course_id mode, tee-relative metrics, alternative tool). Sentences are long and run together, but nothing is redundant.

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 no output schema, the description takes on the burden of describing return values and does so for both modes, including the tee-relative caveat that slope or hole meters belong to the tee the player plays. Complete enough for an agent to call and interpret it, with only minor gaps around result counts and no-match handling.

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?

Schema coverage is 100%, so baseline would be 3, but the description adds meaning the schema does not: `name` is a partial text search that can yield multiple courses and deliberately omits ratings, while `course_id` is exact and triggers the full tee-and-hole payload. That clarifies the consequence of choosing each parameter rather than just restating the field descriptions.

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 states a specific verb+resource (retrieve catalog course info) and then breaks down the two modes exactly: with `name` it returns matching course fields without ratings, and with `course_id` it returns tees (color, slope, course rating, par, meters) plus holes. It also explicitly distinguishes itself from the sibling get_course_profile, so an agent can pick the right tool without opening 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 an explicit routing rule: if the player names a course, use get_course_profile (short card per course and tee); this tool is for course_ids and tee_ids of a round. It also states the mode-selection condition (single name match falls through to full detail), covering both when-to-use and which parameter selects which behavior.

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.