Skip to main content
Glama

Get note details

get-note-details
Read-onlyIdempotent

Retrieves complete ordered fields with per-field hashes, tags, note type, modification time, and generated card IDs for 1-20 Anki notes, enabling safe field updates using expected hashes.

Instructions

Returns complete ordered fields with per-field hashes, tags, note type, modification time, and generated card IDs. Use fields[name].hash as expectedFieldHashes[name] when updating fields.

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

Input Schema

NameRequiredDescriptionDefault
noteIdsYesOne to 20 note IDs whose complete fields and metadata should be returned

Output Schema

NameRequiredDescriptionDefault
notesYes
missingNoteIdsYes

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, closed-world, and non-destructive, so the safety profile is covered. The description adds genuinely useful behavior beyond that: fields are returned in order, each field carries its own hash, and that hash functions as an optimistic-concurrency token for later updates — context an agent could not derive from the annotations alone.

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 sentences, no filler. The payload description comes first and the actionable hash workflow follows, so the most decision-relevant information is front-loaded.

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, so return values need not be explained, and the one required parameter is fully covered by the schema. The remaining gap is edge-case behavior for invalid or missing note IDs, which is minor for a bulk read tool.

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?

With a single parameter at 100% schema coverage, the schema already documents noteIds and its 1–20 bound. The description adds nothing about ID semantics, ordering of results, or what happens to IDs that do not resolve, so it sits at the baseline.

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 and resource ("Returns complete ordered fields...") and enumerates exactly what comes back: per-field hashes, tags, note type, modification time, and generated card IDs. That payload list distinguishes it from a card-oriented sibling like get-card-details, though it never names an 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?

There is real guidance, but it is about what to do with the output ("Use fields[name].hash as expectedFieldHashes[name] when updating fields") rather than when to call this tool instead of get-card-details. No exclusions or preconditions are stated, so usage context is implied rather than spelled out.

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