check_species_rules
Analyze a counterpoint line against a cantus firmus and detect rule violations in first through fifth species counterpoint.
Instructions
Check species counterpoint rules.
Analyzes a counterpoint line against a cantus firmus for rule violations.
Args: cantus_firmus: List of pitches for the cantus firmus (e.g., ["C4", "D4", "E4"]) counterpoint: List of pitches for the counterpoint line species: Species number (1-5): 1 = Note against note 2 = Two notes against one 3 = Four notes against one 4 = Syncopation/suspensions 5 = Florid (free)
Returns: Analysis with intervals and rule violations
Examples: - First species: check_species_rules(["C4", "D4", "E4"], ["G4", "A4", "C5"], species=1)
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": {
"cantus_firmus": "<cantus_firmus>",
"counterpoint": "<counterpoint>"
},
"name": "check_species_rules"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cantus_firmus | Yes | ||
| counterpoint | Yes | ||
| species | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||