Skip to main content
Glama

Reorder tracks

reorder_tracks
DestructiveIdempotent

Partner accounts only. Put the tracks of a release in the given order. Send every track id of the release.

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": {
      "articleId": "<articleId>",
      "trackIds": "<trackIds>"
    },
    "name": "reorder_tracks"
  }
}

Input Schema

NameRequiredDescriptionDefault
trackIdsYes
articleIdYesRelease id from list_releases or create_release.

Output Schema

NameRequiredDescriptionDefault
errorNoPresent when the call did not succeed.
reasonNonot_a_partner when the signed-in account has no partner account.
successNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already flag destructiveHint=true and idempotentHint=true, but the description earns credit by explaining why: every track id must be sent, implying a full-replacement operation where omissions matter. It also adds the partner-account authorization requirement, which annotations do not express.

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, with the access restriction front-loaded and the operational constraint last. Nothing is redundant or padded.

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?

For a destructive two-parameter mutation with a published output schema, this covers eligibility, the full-replacement requirement, and ordering intent. Minor gaps remain — e.g., whether omitted tracks are removed and what ordering index the first element maps to — but nothing essential to correct invocation is missing.

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 only 50% — articleId is documented in-schema while trackIds is not — so the description must compensate, and it does by specifying that trackIds is the complete ordered list for the release. That adds real semantic meaning (completeness and ordering) beyond the schema's minItems constraint.

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?

The description uses a specific verb ('put the tracks of a release in the given order') and names the resource, so it is clearly a track-ordering mutation rather than listing or removing tracks. It is unambiguous on its own, though it does not explicitly contrast itself against siblings like list_tracks or remove_track.

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?

'Partner accounts only' is a real eligibility gate, and 'Send every track id of the release' tells the agent the call must be a full-set replacement rather than a partial edit. It stops short of naming alternatives or stating when-not-to-use beyond the partner restriction.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources