Skip to main content
Glama

Move course in collection

move_course_in_collection
Destructive

Moves a course one position earlier (-1) or later (1) in a collection.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idYesThe collection id, as returned by list_collections or create_collection.
courseIdYesId of a course that is already in this collection.
directionYes-1 moves the course one position earlier in the collection; 1 moves it one position later.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
courseIdYesThe course that was added or moved.
collectionIdYesThe collection the course is in.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior3/5

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

Annotations already declare destructiveHint=true and idempotentHint=false, so the mutation profile is covered by structured data. The description adds no further behavioral context (no side effects, no authorization notes, no return behavior), so it neither helps nor contradicts the annotations.

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 tight sentence with the operation and the direction semantics front-loaded; every clause earns its place and nothing is 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?

With an output schema present and annotations carrying the safety profile, the description does not need to explain return values. It is nearly complete for a simple relative-reorder tool, though it omits any mention of prerequisites or what happens at the boundary positions.

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 all three parameters are already documented in the schema, including the -1/1 meaning of direction. The description merely restates that same direction semantics, adding no syntax or format value beyond the schema. Baseline 3 applies.

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 (moves) plus resource (a course in a collection) and the exact semantics of the operation (one position earlier or later). This clearly separates it from siblings like add_course_to_collection, remove_course_from_collection, and reorder_screens.

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: the description explains the direction parameter but never states when to reach for this tool versus the sibling add/remove collection tools, nor any prerequisite (the course must already be in the collection). Adequate but leaves routing to inference.

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