Skip to main content
Glama

Get cardHistory

codecks_get_card_history
Read-onlyIdempotent

Retrieve a single Codecks card history entry by ID, optionally selecting diff, version, or timestamp fields and expanding related account, card, or changer data.

Instructions

Get a single cardHistory by ID with optional field selection.

Available fields: diff, version, versionCreatedAt Relations: account, card, changer

Example selection: ["diff", "version", "versionCreatedAt"]

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

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 openWorld behavior, so the safety profile is covered. The description adds nothing about lookup failure behavior for a bad ID or whether relation expansion may silently fall back, which is the kind of context that would go beyond the annotations.

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?

Short and front-loaded: the core behavior is the first clause, followed by the selectable fields and relations. The trailing example partially restates the field list directly above it and is the only mildly redundant element.

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?

There is no output schema, so the description carries some burden for describing what a cardHistory record is and what an agent gets back; it gives field names but no sense of the record's meaning or shape. Adequate for a simple single-record lookup, but not fully self-sufficient.

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 the baseline is 3, but the description earns an extra point by enumerating the valid selection values (diff, version, versionCreatedAt) and relation names (account, card, changer) that the schema only vaguely calls 'fields/relations'. It still says nothing about include_relations or response_format beyond what the schema already states.

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?

States a specific verb+resource: 'Get a single cardHistory by ID with optional field selection.' The word 'single' distinguishes it from the sibling list_card_history tools, though it never names that alternative explicitly.

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 only implied by 'by ID' — an agent can infer this fetches one known record rather than browsing, but there is no statement of when to prefer this over codecks_list_card_history or how to obtain a valid ID.

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