Skip to main content
Glama
AnkiWeb MCP Server
by jklnr

ankiweb_auth_status

Read-onlyIdempotent

Check whether AnkiWeb is signed in and usable for deck and card calls, returning the block reason and next action so you can sign in, resolve account issues, or proceed to study.

Instructions

Check whether AnkiWeb is signed in AND usable for deck/card calls.

Returns signed_in, usable (authenticated), blocked_reason, and next_action:

  • signed_in: false -> call ankiweb_login.

  • signed_in: true, usable: false -> account needs an action at action_required_url (e.g. email_verification_required).

  • signed_in: true, usable: true -> ready to list decks and study.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "ankiweb_auth_status"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.0

TDQS

A4.7/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, and destructiveHint=false, so safety is covered. The description goes further by disclosing the tri-state outcome model, the blocked_reason concept, and a concrete example of a blocking condition (email_verification_required), which is real behavioral context beyond the annotations. It stops short of describing failure modes such as network/auth errors, keeping it at a 4.

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?

Front-loads the purpose in one sentence, then presents the three state branches as compact mappings from observed values to next actions. Every line carries decision-relevant information; the parenthetical `authenticated` alias is the only minor redundancy.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a zero-parameter status check with an output schema and full annotations, the description supplies everything an agent needs: what it reports, how to interpret each combination, and which tool to call next. Return-field shapes are covered by the output schema, so no gap remains.

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?

The tool takes zero parameters, so there is nothing for the description to disambiguate and the baseline of 4 applies. Schema coverage is 100% and the input schema is an empty object, so no compensation is needed.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and resource — checking whether AnkiWeb is signed in AND usable for deck/card calls — and immediately distinguishes the two states that matter. An agent can tell this apart from ankiweb_login because the description routes to that sibling by name.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Gives an explicit decision table: signed_in false means call ankiweb_login; signed_in true with usable false means the account needs action at action_required_url; both true means proceed to list decks and study. When-to-use, when-not-to-use, and the alternative are all named.

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