Skip to main content
Glama
B3r3z

Intervals.icu MCP Server

by B3r3z

get_custom_item_by_id

Retrieve a custom item definition from Intervals.icu by its numeric ID, choosing compact or full detail to get only the essential fields or the complete parsed data.

Instructions

Read one custom-item definition by positive integer ID.

detail='compact' omits content, images, scripts, and unknown fields with explicit omission lists and a full continuation. detail='full' preserves the complete parsed upstream object under data.item and places derived metadata outside it, including arbitrary content and source-like strings as untrusted data. An upstream {} remains the compatibility NOT_FOUND error; other malformed objects are invalid.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
detailNocompact
api_keyNo
item_idYes
athlete_idNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
dataYes
errorNo
queryNo
sourceYes
statusYes
coverageYes
warningsNo
paginationNo
request_idNo
schema_versionNo1.0

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.1/5.0
Behavior4/5

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

With no annotations, the description carries the behavioral burden and does so well: it explains the compact vs. full detail modes, what each preserves or omits, that full mode treats upstream content as untrusted data, and how an upstream '{}' maps to NOT_FOUND. This is substantive behavior beyond the name and schema.

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 purpose is front-loaded in a single clear sentence, and the remaining sentences earn their place by explaining detail modes and error behavior. The full-mode sentence is dense but contains necessary distinctions.

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?

Given that an output schema exists, the description does not need to explain return values. It covers ID constraints, detail variants, untrusted-data semantics, and the NOT_FOUND edge case. It is slightly incomplete only in not clarifying the roles of api_key and athlete_id, but it remains sufficient for correct invocation.

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 0%, so the description must compensate. It adds real meaning for item_id ('positive integer') and detail ('compact' vs. 'full' with behavioral differences), but api_key and athlete_id are left entirely unexplained, leaving a clear gap.

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 and resource: 'Read one custom-item definition by positive integer ID.' It clearly distinguishes this single-item lookup from the sibling get_custom_items by emphasizing 'one' and 'ID.'

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?

The description establishes a clear context: use this tool when you need a single custom-item definition identified by a positive integer ID. It does not explicitly name alternatives or exclusions, but the singular/ID framing is an unambiguous usage cue.

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