Skip to main content
Glama

get_song_musical_context

Read-onlyIdempotent

Retrieve key, scale, time signature, quantization, groove, swing, and Arrangement loop context to guide editing and arrangement decisions in Ableton Live.

Instructions

Read key, scale, time signature, quantization, groove, swing, and Arrangement loop context.

Input Schema

NameRequiredDescriptionDefault

No arguments

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changedv0.3.1
    • removedOutput schema / additionalProperties
      Removed value: -true
    • addedOutput schema / anyOf
      Added value: +[
      +  {
      +    "properties": {
      +      "groove": {
      +        "type": "object"
      +      },
      +      "key": {
      +        "type": "object"
      +      },
      +      "loop": {
      +        "type": "object"
      +      },
      +      "quantization": {
      +        "type": "object"
      +      },
      +      "stateVersion": {
      +        "minimum": 1,
      +        "type": "integer"
      +      },
      +      "timeSignature": {
      +        "properties": {
      +          "denominator": {
      +            "type": "integer"
      +          },
      +          "numerator": {
      +            "type": "integer"
      +          }
      +        },
      +        "required": [
      +          "numerator",
      +          "denominator"
      +        ],
      +        "type": "object"
      +      }
      +    },
      +    "required": [
      +      "stateVersion",
      +      "timeSignature"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "properties": {
      +      "error": {
      +        "properties": {
      +          "message": {
      +            "type": "string"
      +          },
      +          "outcome": {
      +            "enum": [
      +              "unknown",
      +              "not_executed"
      +            ]
      +          }
      +        },
      +        "required": [
      +          "message",
      +          "outcome"
      +        ],
      +        "type": "object"
      +      }
      +    },
      +    "required": [
      +      "error"
      +    ],
      +    "type": "object"
      +  }
      +]
  2. Changed2 schema fields changedv0.3.0
    • removedInput schema / required
      Removed value: -[]
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "additionalProperties": true,
      +  "type": "object"
      +}
  3. First observedv0.1.0

TDQS

A3.7/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, openWorldHint=false and destructiveHint=false, so the safety profile is fully covered. The description's only added value is enumerating which fields are retrievable, but with an output schema present even that is largely redundant.

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?

A single front-loaded sentence with no filler; every listed field earns its place and nothing is repeated.

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 an output schema covering return values and annotations covering safety, the description needs only to scope the read, which it does. It could be a notch stronger by noting that this reflects song-level (not clip-level) settings and that clip groove context lives in get_clip_groove_context.

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. The description correctly implies a parameterless global read of the song's musical settings, with nothing to clarify further.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb ('Read') and enumerates the exact musical-context fields returned: key, scale, time signature, quantization, groove, swing, and Arrangement loop context. An agent can tell it apart from the setter sibling set_song_musical_context by the 'Read' verb, though it never names that sibling explicitly.

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?

Usage is only implied — reading song musical context is presumably a precursor to set_song_musical_context or to planning scale/grid operations, but the description does not say so or name any alternative. No exclusions or preconditions are given.

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