Skip to main content
Glama
FL Studio MCP (fLMCP)

FL Studio MCP (fLMCP)

Read Song Length

transport_song_length
Read-onlyIdempotent

Reads the total length of the current FL Studio song or active pattern in ticks, seconds, milliseconds, bars, and 16th-note steps for timing and arrangement checks.

Instructions

Read total length of the current FL Studio song or active pattern across time units.

Returns length in ticks, seconds, milliseconds, bars, and 16th-note steps. Use transport_status for current playhead position and playback state, or pattern_list for individual pattern step lengths. 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": "transport_song_length"
  }
}

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.5/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, and destructiveHint=false, so safety is covered and the trailing 'Read-only' is largely redundant. The description does add genuine behavioral context the annotations cannot convey: the value tracks whichever is current (song vs. active pattern), which affects interpretation of the result.

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?

Three short sentences, front-loaded with the action and scope, followed by return units and sibling routing. The closing 'Read-only' restates an annotation already exposed to the agent and is the one sentence that does not earn its place.

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?

With no parameters and an output schema present, the description need only establish scope and alternatives, which it does. The one remaining ambiguity is how 'current song or active pattern' is resolved when both exist, though that likely mirrors the host application's notion of focus rather than an omission.

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 is 4 and there is no parameter meaning for the description to supply. Nothing in the schema is left ambiguous by the description's silence on arguments.

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 uses a specific verb and resource ('Read total length of the current FL Studio song or active pattern') and states the measurement dimensions covered (ticks, seconds, milliseconds, bars, 16th-note steps). It distinguishes itself from 'transport_status' (playhead/playback state) and 'pattern_list' (individual pattern step lengths), so an agent can pick it without inspecting either schema.

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?

It names two concrete alternatives and the condition that selects each: 'transport_status' for playhead position and playback state, 'pattern_list' for individual pattern step lengths. Combined with its own positive scope statement, the routing decision is fully determined.

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