Skip to main content
Glama
FL Studio MCP (fLMCP)

FL Studio MCP (fLMCP)

Count Playlist Tracks

playlist_track_count
Read-onlyIdempotent

Returns the current FL Studio project's total Playlist track lane count, enabling bounds checks on 1-based Playlist track indices. Read-only.

Instructions

Return the total number of Playlist track lanes in the current FL Studio project.

Use for bounds checks on 1-based Playlist track indices; use playlist_all_tracks to list named/active tracks with mute, solo, and color metadata. Read-only.

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": "playlist_track_count"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.6.0

TDQS

A4.6/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and a closed world, so safety is covered. The description adds genuinely useful behavioral context beyond that: the count is 1-based indexable and serves as the upper bound for track indices. The trailing 'Read-only.' merely restates readOnlyHint, a minor redundancy.

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?

Two tight sentences, front-loaded with the action and followed by routing guidance. The final 'Read-only.' clause is redundant with the annotations and could be dropped without loss.

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?

A zero-parameter counter with an output schema and rich annotations needs little more than what is here. The description supplies purpose, the meaning of the returned number, and sibling routing, leaving nothing an agent needs in order to call it correctly.

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 tool takes zero parameters, so the baseline of 4 applies. The description correctly adds nothing about arguments and instead clarifies the semantics of the value itself (a lane count bounding 1-based indices).

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?

States a specific verb and resource ('Return the total number of Playlist track lanes') plus the scope ('current FL Studio project'). It is clearly distinguishable from playlist_all_tracks and the playlist_track_info sibling, which returns per-track detail rather than a count.

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?

Gives an explicit when-to-use ('bounds checks on 1-based Playlist track indices') and names the alternative tool with the condition that selects it ('to list named/active tracks with mute, solo, and color metadata'). No inference required.

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

Deploy Server

Other Tools