Skip to main content
Glama
bjornj12

golf-coach

build_visualization

Read-onlyIdempotent

Generate a self-contained animated HTML page from Trackman golf data, displaying shot flight, swing metrics, and practice drills for coaching diagnosis.

Instructions

Render a coaching diagnosis into a self-contained animated HTML page.

Returns {html} — one standalone document (inline canvas/JS, no network, no external resources) ready to drop straight into a Claude HTML artifact.

data shape (all optional; the viz adapts): {title, subtitle, diagnosis, handedness "RH"|"LH", shots:[{launchDirection,launchAngle,carry,total, totalSide,curve,maxHeight,landingAngle,hangTime}], swing:{clubPath,faceAngle,faceToPath}, targets:[{label,value,target,low, high,met}], blocks:[{name,detail,goal,where "range"|"home", links:[{label,url}]}]}. Renders the measured flight (side view + top-down, animated) and drills grouped range/home. See the trackman-visualizer prompt.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
dataYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior5/5

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

Beyond annotations (readOnlyHint, idempotentHint), the description discloses key behaviors: the output is self-contained with no network/external resources, the visualization adapts because all data is optional, and it renders specific components (measured flight, drills grouped by range/home). This gives the agent a solid mental model.

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 description is front-loaded with the core purpose and returns format, then dives into data shape. While lengthy, the detail is necessary for a single complex parameter. The reference to a 'trackman-visualizer prompt' is slightly cryptic but does not undermine clarity.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given one parameter with poor schema coverage, the description fully defines the input structure and output format. Annotations already cover safety, so no extra behavioral safety info is needed. The tool is complex, and the description leaves no critical gaps.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The input schema only describes 'data' as an object with additionalProperties true, giving zero field-level detail. The description compensates fully by enumerating the complete data shape, including nested shots, swing, targets, and blocks arrays with their fields. This is essential for the agent to construct valid input.

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 opens with a specific verb+resource: 'Render a coaching diagnosis into a self-contained animated HTML page.' This clearly distinguishes it from sibling tools like trackman or session_analysis by focusing on visualization output. The return type and artifact context further clarify its unique role.

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?

It provides clear context: use this when you have a coaching diagnosis and need a standalone HTML page ready for an artifact. However, it does not explicitly name alternatives or state when not to use it, so it falls short of a 5.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/bjornj12/golf-coach'

If you have feedback or need assistance with the MCP directory API, please join our Discord server