Skip to main content
Glama

Get deckAssignment

codecks_get_deck_assignment
Read-onlyIdempotent

Retrieve a single Codecks deck assignment by ID, with optional field selection and related account, deck, or user data.

Instructions

Get a single deckAssignment by ID with optional field selection.

Available fields: lastAssignedAt Relations: account, deck, user

Example selection: ["lastAssignedAt"]

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": {
      "id": "<id>"
    },
    "name": "codecks_get_deck_assignment"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesModel ID
selectionNoSelection array (fields/relations)
response_formatNoOutput format: 'markdown' for human-readable or 'json' for structured datamarkdown
include_relationsNoAttempt safe first-level relation expansion with guarded fallback

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already declare readOnly, idempotent, non-destructive, and open-world behavior, so the safety profile is covered. The description adds the enumerable field ('lastAssignedAt') and relation names (account, deck, user), which is useful context, but says nothing about what happens when an unknown ID is supplied or how guarded relation expansion falls back.

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?

Front-loaded with the core action, then compact lists of fields, relations, and an example – no filler sentences. The single-value field list and inline example make it slightly fragmented rather than prose, but nothing is wasted.

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?

This is a simple read-only getter and the description covers identification, selection, and relation options. With no output schema, however, it never indicates what a returned deckAssignment looks like beyond the two field/relation lists, leaving the response shape partly inferred.

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 100%, so baseline is 3, and the description earns an upgrade by enumerating the legal values for the otherwise opaque 'selection' array (field: lastAssignedAt; relations: account, deck, user) plus a concrete example. It still leaves 'include_relations' semantics to the schema alone.

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 names a specific verb and resource ('Get a single deckAssignment by ID') and signals single-record retrieval, which implicitly separates it from the list siblings such as codecks_list_deck_assignment. It does not explicitly name an alternative, but the ID-based scope is unambiguous.

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 implied by 'by ID' – fetch one record when you already hold its identifier. There is no explicit when-to-use versus the sibling list/get-by-assignee variants, and no mention of prerequisites such as scope or permissions.

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