Skip to main content
Glama
FL Studio MCP (fLMCP)

FL Studio MCP (fLMCP)

Find Pattern by Name

pattern_find_by_name
Read-onlyIdempotent

Look up a pattern's 1-based index by exact, case-insensitive name; returns no match as None instead of raising an error.

Instructions

Find a pattern's 1-based index by exact case-insensitive name match.

Use when you know a pattern's exact name; use pattern_list to browse all patterns or search partial names. Returns index=None and name=None when no pattern matches instead of raising an error.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "name": "<name>"
    },
    "name": "pattern_find_by_name"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameYesExact pattern name to look up (case-insensitive, e.g. 'Drums').

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv0.6.1
    • addedInput schema / properties / name / description
      Added value: +"Exact pattern name to look up (case-insensitive, e.g. 'Drums')."
  2. 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 readOnly, idempotent, non-destructive, closed-world behavior, so safety is covered. The description adds genuinely new behavior: a miss returns index=None and name=None rather than raising, which changes how the agent should handle the result. It does not discuss ambiguity or duplicate names, a minor remaining gap.

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?

Three short sentences, front-loaded with the core action, then routing guidance, then the edge-case return. No filler or repetition.

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?

For a single-parameter lookup with full schema coverage, complete annotations, and an output schema covering return shape, the description supplies everything else the agent needs: when to use it, what it returns, and what a no-match looks like.

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 coverage is 100% and the single parameter already documents 'exact pattern name, case-insensitive, e.g. Drums'. The description's 'exact case-insensitive' phrasing largely restates that. Baseline 3 applies since the schema does the heavy lifting.

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 ('Find a pattern's 1-based index') plus the matching rule ('exact case-insensitive name match'), so the agent knows precisely what comes back. It also implies the contrast with pattern_list, which returns a browsable set rather than a single index.

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?

Explicitly names the precondition ('when you know a pattern's exact name') and the alternative for the opposite case ('use pattern_list to browse all patterns or search partial names'). The boundary between this tool and the browsing tool is fully drawn.

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