Skip to main content
Glama

Rank phonemizers for a singer

rank_phonemizers
Read-onlyIdempotent

Ranks installed phonemizers by phonemizing sample lyrics and scoring how many requested sounds a singer's voicebank covers, helping you choose a matching phonemizer without changing the project.

Instructions

Find the best phonemizer for a singer: phonemizes sample lyrics with each installed classic phonemizer and scores the share of requested sounds the voicebank has (1.0 = all). Needs the bridge; can take a minute. Returns best (type), best_tag and ranking (type, tag, score, phonemes, missing, error). Nothing in the project changes. / 各音素化器でサンプル歌詞を音素化し、音源にある音の割合で順位付けします(1.0 = 全部)。best と ranking を 返します。プロジェクトは変更しません。

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": {
      "singer": "<singer>"
    },
    "name": "rank_phonemizers"
  }
}

Input Schema

NameRequiredDescriptionDefault
textNoYour own lyrics to test instead of the built-in samples. / 試す歌詞
singerYesVoicebank id or name (see list_singers). / 音源の ID か名前
languageNo"EN", "JA" or omit for both. / 言語(省略で両方)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changedv0.5.0
    • addedInput schema / properties / language / description
      Added value: +"\"EN\", \"JA\" or omit for both. / 言語(省略で両方)"
    • addedInput schema / properties / singer / description
      Added value: +"Voicebank id or name (see list_singers). / 音源の ID か名前"
    • addedInput schema / properties / text / description
      Added value: +"Your own lyrics to test instead of the built-in samples. / 試す歌詞"
  2. Changed10 schema fields changedv0.4.0
    • removedInput schema / properties / language / anyOf
      Removed value: -[
      -  {
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • removedInput schema / properties / language / default
      Removed value: -null
    • removedInput schema / properties / language / title
      Removed value: -"Language"
    • addedInput schema / properties / language / type
      Added value: +"string"
    • removedInput schema / properties / singer / title
      Removed value: -"Singer"
    • removedInput schema / properties / text / anyOf
      Removed value: -[
      -  {
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • removedInput schema / properties / text / default
      Removed value: -null
    • removedInput schema / properties / text / title
      Removed value: -"Text"
    • addedInput schema / properties / text / type
      Added value: +"string"
    • removedInput schema / title
      Removed value: -"rank_phonemizersArguments"
  3. First observedv0.1.0

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already declare readOnlyHint and idempotentHint, and the description reinforces this with 'Nothing in the project changes'. It adds genuinely new behavioral context the annotations can't convey: a hard dependency on the bridge and an expected runtime of about a minute.

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 English text is front-loaded with the purpose, then mechanism, prerequisites, and return shape; every sentence carries information. The bilingual duplication is appropriate for a bilingual tool, though the parenthetical return-field list is slightly dense.

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 output schema, the description usefully enumerates the returned fields (best, best_tag, ranking with type, tag, score, phonemes, missing, error). Combined with prerequisite and latency notes, this is nearly complete; only guidance on language-specific ranking behavior is absent.

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 100%, so the schema already documents text, singer, and language. The description adds meaning only indirectly, by explaining that 'text' substitutes for built-in sample lyrics and that scoring measures the voicebank's coverage of requested sounds; the language parameter is not mentioned at all.

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 the best phonemizer for a singer') and explains the mechanism (phonemize sample lyrics, score the share of sounds the voicebank has). This is clearly distinct from the sibling list_phonemizers, which merely enumerates them.

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

Usage Guidelines3/5

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

Gives operational context ('Needs the bridge', 'can take a minute') that helps an agent decide when it's worth calling, and implies it should be used to choose among installed phonemizers. However, it never explicitly routes the agent to list_phonemizers as a prerequisite or states when not to use it.

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