Skip to main content
Glama
davehenke

rekordbox-mcp

get_track_file_path

Retrieve the file system path for a specific track in rekordbox by providing its unique track identifier.

Instructions

Get the file system path for a specific track.

Args: track_id: The unique track identifier

Returns: Dictionary containing file path information

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
track_idYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • The main handler function for the 'get_track_file_path' tool. It is decorated with @mcp.tool() which also serves as its registration in the FastMCP server. The function retrieves the track by ID from the database and returns a dictionary with track_id, file_path, and file_name.
    @mcp.tool()
    async def get_track_file_path(track_id: str) -> Dict[str, str]:
        """
        Get the file system path for a specific track.
        
        Args:
            track_id: The unique track identifier
            
        Returns:
            Dictionary containing file path information
        """
        if not db:
            raise RuntimeError("Database not initialized.")
        
        track = await db.get_track_by_id(track_id)
        if not track:
            raise ValueError(f"Track with ID {track_id} not found")
        
        return {
            "track_id": track_id,
            "file_path": track.file_path or "",
            "file_name": track.file_path.split("/")[-1] if track.file_path else ""
        }
Behavior2/5

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

No annotations are provided, so the description carries the full burden of behavioral disclosure. It states the tool retrieves a file path but doesn't disclose critical traits: whether it's read-only (implied by 'Get' but not explicit), what happens if the track_id is invalid (e.g., errors or null returns), or any permissions/rate limits. The description adds minimal context beyond the basic operation.

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?

The description is appropriately sized and front-loaded: the first sentence states the core purpose, followed by structured 'Args' and 'Returns' sections. Every sentence earns its place by providing essential information without redundancy, making it efficient and easy to parse.

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

Completeness3/5

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

Given the tool's low complexity (1 parameter, simple retrieval) and the presence of an output schema (implied by 'Returns' note), the description is minimally complete. It covers the basic operation and parameter meaning but lacks behavioral details (e.g., error handling) and usage guidelines, which are gaps for a tool with no annotations.

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?

The description adds meaningful semantics beyond the input schema. The schema has 0% description coverage (only 'Track Id' as a title), but the description explains that 'track_id' is 'The unique track identifier,' clarifying its purpose. With 1 parameter and no schema descriptions, this compensation is adequate, though it could detail format (e.g., numeric vs. string).

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the tool's purpose: 'Get the file system path for a specific track.' It uses a specific verb ('Get') and resource ('file system path'), and distinguishes itself from siblings like 'get_track_details' by focusing on file paths rather than track metadata. However, it doesn't explicitly differentiate from 'search_tracks_by_filename', which might also involve file paths.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description provides no guidance on when to use this tool versus alternatives. It doesn't mention when to choose this over 'get_track_details' (which might include path info) or 'search_tracks_by_filename', nor does it specify prerequisites like requiring a valid track ID from another tool. Usage is implied only by the tool name and description.

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/davehenke/rekordbox-mcp'

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