Skip to main content
Glama

Get card details

get-card-details
Read-onlyIdempotent

Retrieve note fields and normalized scheduling information for specified card IDs, and report missing IDs separately.

Instructions

Returns note fields and normalized scheduling information for specific cards. Reports missing IDs separately.

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": {
      "cardIds": "<cardIds>"
    },
    "name": "get-card-details"
  }
}

Input Schema

NameRequiredDescriptionDefault
cardIdsYesOne to 20 card IDs whose fields and scheduling details should be returned
includeRenderedContentNoInclude rendered question and answer HTML, which may contain Anki's embedded styles. No separate CSS field is returned; use get-card-preview for HTML/CSS documents.

Output Schema

NameRequiredDescriptionDefault
cardsYes
missingCardIdsYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.1

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and openWorldHint=false, so the safety profile is covered. The description adds genuinely new behavioral context by disclosing that missing IDs are reported separately rather than causing a whole-batch failure, which is the key partial-result semantic an agent needs. It stops short of covering batching or the 20-ID cap, which the schema carries.

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?

Two short sentences, front-loaded with the primary return content and followed by the partial-failure behavior. Nothing is repeated from the schema or annotations, and no sentence could be removed without losing information.

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?

An output schema exists and the annotations fully cover the safety profile, so the description need not explain return values. For a simple two-parameter read tool it is nearly sufficient; the only real gap is the absent disambiguation from get-note-details and get-card-due-status.

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%, with both cardIds and includeRenderedContent documented in the schema, including the default and the get-card-preview cross-reference. The description adds no parameter-level meaning beyond 'specific cards', so the baseline 3 applies.

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 ('Returns') and precise resource ('note fields and normalized scheduling information for specific cards'), so the agent knows this is a per-card data read rather than a collection-level query. It does not, however, explicitly distinguish itself from the close sibling get-note-details or get-card-due-status, leaving the boundary to inference.

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: the phrase 'for specific cards' signals a lookup-by-ID pattern, and the schema's mention of get-card-preview hints at an alternative for HTML/CSS documents. The description itself contains no when-to-use or when-not-to-use statement, and no named alternative.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.