Skip to main content
Glama

Get card states

get_card_states
Read-onlyIdempotent

Get the user's spaced-repetition state (due date, stability, difficulty) for every card in one flashcard set they can read.

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": {
      "setId": "<setId>"
    },
    "name": "get_card_states"
  }
}

Input Schema

NameRequiredDescriptionDefault
setIdYesFlashcard set id

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive and closed-world, so the safety burden is mostly covered. The description still adds real value beyond them: it discloses the return payload (due date, stability, difficulty) and the access constraint that only readable sets are eligible. It omits pagination/behavior for nonexistent or unreadable sets.

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?

A single front-loaded sentence with no filler; the scope ('every card in one flashcard set') and payload are stated up front in one pass.

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 names the returned fields, and annotations cover the safety profile. For a one-parameter read tool this is largely sufficient, though edge-case behavior (unreadable set, empty set) is unstated.

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 coverage is 100% with setId fully described, so the schema carries parameter meaning. The description only reinforces that the id refers to 'one flashcard set' and adds no format or constraint detail beyond the min/max length already in the schema. 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 (get) and resource (spaced-repetition state per card in one flashcard set), and enumerates the returned fields (due date, stability, difficulty). It implicitly separates itself from broad siblings like get_due_cards by scoping to a single set, but 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?

The phrase 'for every card in one flashcard set they can read' implies the usage context (single-set SRS inspection) but gives no explicit when-to-use/when-not or pointer to get_due_cards versus get_flashcard_set. An agent must infer the routing decision.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources