Skip to main content
Glama

Reorder Decks in a Space

codecks_add_decks_to_space_after

Moves specified decks to a position immediately after a target deck within a Codecks space, enabling precise deck ordering.

Instructions

Move decks to a position after a target deck inside a space.

Args:

  • deck_ids (string[]): Deck IDs to move

  • target_id (string): Target deck ID to insert after

  • target_project_id (string): Target project ID

  • target_space_id (number): Target space ID

  • session_id (string, optional): Client session ID from web app

Returns: API response payload with ordering results.

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": {
      "deck_ids": "<deck_ids>",
      "target_id": "<target_id>",
      "target_project_id": "<target_project_id>",
      "target_space_id": "<target_space_id>"
    },
    "name": "codecks_add_decks_to_space_after"
  }
}

Input Schema

NameRequiredDescriptionDefault
deck_idsYesDeck IDs to move
target_idYesTarget deck ID to insert after
session_idNo[DEPRECATED] Client session ID - not required for MCP usage
target_space_idYesTarget space ID
target_project_idYesTarget project ID

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3.2/5.0
Behavior3/5

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

The annotations already declare that this is a non-read-only, non-idempotent, open-world operation, and the description does not contradict them. It adds only that the result contains ordering information, and says nothing about whether other decks are shifted, what happens when a deck is already in place, or which permissions are required.

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?

The purpose is stated up front in a single clear sentence, and it is easy to scan. The Args and Returns blocks largely duplicate the input schema and return a vague payload description, so they add little and inflate the length somewhat.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a tool with five parameters, no output schema, and safety already covered by annotations, the description is adequate but thin. The behavior of the reorder operation (shifts to other decks, failure conditions for an invalid target) and the vague "ordering results" return are not explained, and the absence of any return-shape detail would help the agent verify success.

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 the input schema already documents all five parameters; the description repeats the same parameter text almost word for word. It also omits the schema's note that session_id is deprecated, but that omission does not change the value the description adds, which is marginal beyond the schema.

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 gives a specific verb and resource: "Move decks to a position after a target deck inside a space." This clearly separates it from create_deck, delete_deck, and list_decks, though it does not explicitly name which sibling handles alternative reordering scenarios.

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

Usage Guidelines2/5

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

There is no guidance on when to use this tool versus alternatives, and no mention of prerequisites such as whether the target deck must already be in the space or whether the caller needs a specific role. The agent has to infer all usage conditions from the one-line purpose statement.

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