Skip to main content
Glama

Create Codecks Space

codecks_create_space

Creates a new space within an existing Codecks project, with optional icon and default deck type, to organize decks by workflow or topic.

Instructions

Create a new space within an existing project.

Implementation note: this updates the project's spaces array via projects/update.

Args:

  • project_id (string): Project ID that will own the new space

  • name (string): Space name

  • icon (string | null, optional): Optional icon slug (e.g., tasks, gdd)

  • default_deck_type (string): Default deck type for decks in this space (default: task)

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

Returns: The created space with its numeric space_id and project context.

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": {
      "project_id": "<project_id>",
      "name": "<name>"
    },
    "name": "codecks_create_space"
  }
}

Input Schema

NameRequiredDescriptionDefault
iconNoOptional icon slug (e.g., tasks, gdd); use null for no icon
nameYesSpace name
project_idYesProject ID that will own the new space
session_idNo[DEPRECATED] Client session ID - not required for MCP usage
default_deck_typeNoDefault deck type for decks created in this spacetask

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?

Annotations already declare readOnlyHint=false, destructiveHint=false, idempotentHint=false and openWorldHint=true, so the mutation/safety profile is known. The description usefully adds the implementation mechanism ('updates the project's `spaces` array via projects/update'), implying a side effect on the parent project, plus the return shape — but says nothing about permissions, error cases, or whether repeated calls create duplicates.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The purpose sentence is front-loaded and the implementation note is genuinely informative, but the Args section duplicates a schema that already has full parameter descriptions, and the Returns block repeats what could be inferred. Roughly a third of the text earns its place.

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 5-parameter creation tool with no output schema, the description covers what the tool does, the mechanism, and what comes back (space_id plus project context), which is enough for correct invocation. It would be complete with a note on uniqueness/duplicate-name behavior or required permissions.

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 every parameter is already documented in the input schema, and the description's Args block largely restates those same descriptions. Minor added value: an icon example ('tasks, gdd') and the default deck type value, though both also appear in the schema. Baseline 3 applies when the schema does the heavy lifting.

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 opening sentence states a specific verb and resource — 'Create a new space within an existing project' — which tells an agent exactly what is produced and that a project must already exist. It implicitly separates itself from create_project and create_deck, but never explicitly names a sibling (e.g. update_space or add_decks_to_space_after) to clarify the boundary.

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 when-to-use / when-not-to-use guidance and no mention of alternatives such as codecks_update_space or codecks_add_decks_to_space_after. The only contextual hint is the implicit requirement that the project exist, derived from the phrase 'within an existing project'; prerequisites and sequencing are left to inference.

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