Skip to main content
Glama

Get expression curve

get_curve
Read-onlyIdempotent

Read an OpenUtau voice part’s expression curve (e.g., dyn, pitd, tenc) to retrieve part-relative [tick, value] points with min, max, and default values; no changes are made.

Instructions

Read an expression curve of a voice part in OpenUtau (dyn, pitd, tenc, brec, genc, voic, ...): points as [tick, value] (part-relative), min, max, default. Changes nothing. Draw one with set_curve. / パートの表情カーブを読みます:[ティック, 値] の点、min・max・default。描くのは set_curve。

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": {
      "part": "<part>",
      "abbr": "<abbr>"
    },
    "name": "get_curve"
  }
}

Input Schema

NameRequiredDescriptionDefault
abbrYesExpression abbreviation, e.g. "dyn", "vel", "tenc". / 表情の略称
partYesVoice part index from 0, counting voice parts only (see get_project voice_parts). / ボイスパート番号(0 から、ボイスパートのみ数える)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changedv0.5.0
    • addedInput schema / properties / abbr / description
      Added value: +"Expression abbreviation, e.g. \"dyn\", \"vel\", \"tenc\". / 表情の略称"
    • addedInput schema / properties / part / description
      Added value: +"Voice part index from 0, counting voice parts only (see get_project voice_parts). / ボイスパート番号(0 から、ボイスパートのみ数える)"
  2. Changed3 schema fields changedv0.4.0
    • removedInput schema / properties / abbr / title
      Removed value: -"Abbr"
    • removedInput schema / properties / part / title
      Removed value: -"Part"
    • removedInput schema / title
      Removed value: -"get_curveArguments"
  3. First observedv0.1.0

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive and closed-world, so the bar is lower; 'Changes nothing' reinforces that. More valuable is that the description discloses the return shape (points as [tick, value], plus min, max, default) in the absence of an output schema, though it doesn't say what happens when a curve is empty or unset.

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?

Front-loaded with the verb and resource, then return shape, then the behavioral note, then the alternative. The only cost is the full bilingual duplication, which is deliberate locale support rather than wasted prose.

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 carries the return-value burden and does so adequately by listing the point format and min/max/default. It is nearly complete for a two-parameter read tool; only edge-case behavior (no curve set, point ordering) is left unstated.

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?

Schema coverage is 100%, so the schema baseline alone would be 3, but the description adds real meaning: tick values are part-relative, and it extends the abbreviation example set beyond the schema's 'dyn, vel, tenc' to include pitd, brec, genc, voic. That clarifies both parameters beyond their schema text.

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 ('Read') and resource ('expression curve of a voice part in OpenUtau'), enumerates the curve abbreviations it covers (dyn, pitd, tenc, brec, genc, voic), and names the sibling that performs the opposite operation (set_curve). An agent can distinguish it from set_curve and set_note_expression without opening any schema.

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

Usage Guidelines4/5

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

Gives clear context (reading curve data for a voice part) and explicitly routes write intent to set_curve with 'Draw one with set_curve.' It does not state exclusions relative to other read tools like get_project or list_notes, so it stops short of full when/when-not guidance.

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