Skip to main content
Glama

Get library items

tp_get_library_items
Read-onlyIdempotent

List workout templates from a library by supplying its library_id. Provides a slim overview for browsing available templates.

Instructions

List the workout templates in one library (slim listing). library_id from tp_get_libraries. For a template's full interval structure use tp_get_library_item.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
athleteNoTarget athlete name or ID (coach accounts only). Omit to use your own profile.
library_idYes
Behavior4/5

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

Annotations already cover read-only, idempotent, non-destructive behavior. The description adds context with 'slim listing' (implying a lightweight response) and the relationship to other library tools. It does not detail pagination or return fields, but the annotation coverage lowers the bar.

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, with the purpose front-loaded and each sentence adding essential value: the first defines the scope, the second covers parameter sourcing and an alternative for related functionality. No waste.

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?

For a simple list tool with two parameters and strong annotations, the description covers purpose, parameter source, and alternative usage. The lack of return payload details is partially mitigated by 'slim listing', but the absence of any output schema means a bit more detail on response structure would be ideal.

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 describes 'athlete' but leaves library_id undocumented. The description compensates by explaining that library_id comes from tp_get_libraries and is the identifier for the library being listed. This provides meaningful context beyond the raw 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 states the specific verb 'List' and resource 'workout templates in one library', immediately clarifying the tool's function. It also distinguishes from siblings by noting 'slim listing' and explicitly referencing tp_get_library_item for full interval structure.

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?

Provides explicit guidance: library_id should come from tp_get_libraries, and if full interval structure is needed, use tp_get_library_item instead. This clearly communicates when to use this tool versus an alternative.

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/JamsusMaximus/TrainingPeaks-MCP'

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