Skip to main content
Glama

Create Codecks Deck

codecks_create_deck

Create a new deck in Codecks by specifying its title, project, user, and space, with optional deck type and cover metadata.

Instructions

Create a new deck in Codecks.

Args:

  • title (string): Deck title

  • project_id (string): Project ID for the deck

  • user_id (string): Your user ID

  • space_id (number): Space ID

  • deck_type (string, optional): Deck type (e.g., hero, mixed)

  • cover_file_data (object, optional): Cover file metadata

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

Returns: API response payload with the created deck.

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": {
      "title": "<title>",
      "project_id": "<project_id>",
      "user_id": "<user_id>",
      "space_id": "<space_id>"
    },
    "name": "codecks_create_deck"
  }
}

Input Schema

NameRequiredDescriptionDefault
titleYesDeck title
user_idYesYour user ID
space_idYesSpace ID
deck_typeNoOptional deck type (e.g. hero, mixed)
project_idYesProject ID for the deck
session_idNo[DEPRECATED] Client session ID - not required for MCP usage
cover_file_dataNoCover file metadata (optional)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3.1/5.0
Behavior3/5

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

Annotations already declare the safety profile (readOnlyHint=false, destructiveHint=false, idempotentHint=false, openWorldHint=true), so the bar is lower. The description adds only a thin return statement ('API response payload with the created deck') and says nothing about required permissions, duplicate-deck behavior, or what space/project constraints apply despite the non-idempotent flag.

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 is front-loaded, but the Args/Returns docstring block duplicates the schema almost word for word and adds length without information. Roughly half the text could be deleted with no loss of guidance.

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 seven-parameter, four-required create tool with no output schema, the description covers the field inventory and gestures at the return value, but omits the required-vs-optional split as a whole, authorization needs, and failure modes. It is workable because the schema and annotations carry the rest, but not self-sufficient.

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 schema already documents all seven parameters and the description merely restates them near-verbatim. The one substantive deviation is worse than the schema: it describes session_id as 'Client session ID from web app' while the schema marks it '[DEPRECATED] ... not required for MCP usage', which could mislead an agent into populating it.

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 gives a specific verb and resource — 'Create a new deck in Codecks' — which is immediately distinguishable from siblings like codecks_update_deck and codecks_delete_deck. It does not explicitly name or contrast those siblings, so it stops short of a 5.

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, or alternative guidance at all; the body is a bare argument list. An agent must infer that this is the create path versus codecks_create_space or codecks_update_deck purely from the name.

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