Skip to main content
Glama

Get cardPreset

codecks_get_card_preset
Read-onlyIdempotent

Retrieve a single Codecks card preset by ID with optional field selection, relation expansion, and markdown or JSON output.

Instructions

Get a single cardPreset by ID with optional field selection.

Available fields: createdAt, data, name Relations: account, creator

Example selection: ["createdAt", "data", "name"]

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_card_preset"
  }
}

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.7/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, destructiveHint=false and openWorldHint=true, so the safety profile needs no restating. The description adds the enumerable field and relation surface, but says nothing about behavior on a missing ID, what happens when a relation is requested but unavailable, or how the nullable/guarded relation expansion degrades.

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?

Three short lines, front-loaded with the operation and immediately followed by the two facts needed to build a selection. The example is small and directly actionable; nothing is padded or repeated.

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 no output schema, the description usefully enumerates the available fields and relations, effectively conveying the return surface for a four-parameter read tool. The only remaining gap is failure behavior on an invalid ID, which is minor for a read-only lookup.

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?

Although schema coverage is 100%, the schema's `selection` property is an untyped array of `{}` items with no enumeration, so the description's explicit field list (createdAt, data, name) and relation list (account, creator) supply meaning the schema cannot. The worked example further removes ambiguity about the array's shape.

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 opens with a specific verb+resource: "Get a single cardPreset by ID", which unambiguously separates it from the list-style sibling implied by the name. It stops short of naming codecks_list_card_preset explicitly, so it does not fully close the sibling-differentiation gap.

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 rather than stated: "Get a single ... by ID" signals the direct-lookup case, and the optional field-selection note hints at a lighter-weight read. There is no explicit statement of when to prefer this over listing or over fetching a full card, and no exclusion guidance.

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