Skip to main content
Glama

Get dueCard

codecks_get_due_card
Read-onlyIdempotent

Retrieve a single due card by ID with optional field and relation selection, plus markdown or JSON output for inspecting card details and related account, card, and user data.

Instructions

Get a single dueCard by ID with optional field selection.

Available fields: createdAt Relations: account, card, user

Example selection: ["createdAt"]

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

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 readOnly, idempotent, openWorld, and non-destructive behavior, so the safety profile is covered. The description adds field selection and available relations, but it does not explain default selection behavior, missing-ID handling, or how relation expansion interacts with include_relations.

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?

The description is short and front-loaded: the first sentence states the core operation. The field list, relation list, and example are compact and directly useful, with no unnecessary wording.

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 low-complexity read-only retrieval tool, the description covers the main call intent, selectable fields, relations, and a selection example. The lack of an output schema is partly offset by these details, though it could say more about default return behavior or relation expansion.

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 description coverage is 100%, so the baseline is 3. The description adds concrete allowed fields ('createdAt'), relation names ('account, card, user'), and an example selection array, which gives useful meaning beyond the generic schema description of the selection parameter.

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 states a specific verb and resource: get a single dueCard by ID. The word 'single' implicitly distinguishes it from the list_due_card sibling, but it does not explicitly name or contrast with alternatives.

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?

The description implies usage when a dueCard ID is known and one record is needed, but it does not explicitly say when to use this versus codecks_list_due_card or other retrieval tools. No exclusions or prerequisites are stated.

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