Skip to main content
Glama
anki-workflow-mcp

anki-workflow-mcp

by Gugart43

Table Build

table_build

Validate TableSpec JSON and render it to single-line, style-free HTML for Anki tables, returning pass/fail status with diagnostics.

Instructions

Validate a TableSpec JSON string, render it to single-line HTML without inline styles, and run table checks. Returns {status: 'PASS'|'FAIL', html: str, diagnostics: list}.

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": {
      "spec_json": "<spec_json>"
    },
    "name": "table_build"
  }
}

Input Schema

NameRequiredDescriptionDefault
spec_jsonYes

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.1

TDQS

B3/5.0
Behavior3/5

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

With no annotations, the description carries the full burden: it usefully discloses that HTML is rendered single-line and free of inline styles, implying a pure transformation rather than a file write. It does not say whether a FAIL status still yields html, what diagnostics contain, or whether validation errors raise instead of returning FAIL — gaps that matter for a no-annotation mutation-adjacent tool.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two dense sentences with the operations front-loaded and no filler. The return-shape sentence partially duplicates the output schema, but it is short and does orient the agent, so the cost is minor.

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

Completeness3/5

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

An output schema exists, so restating the return shape is optional rather than necessary, and the core pipeline is described adequately. However, for a tool whose only input is an undefined 'TableSpec JSON', the description leaves the central input format and the FAIL-path semantics unexplained, which is a meaningful gap relative to its complexity.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The single parameter spec_json has 0% schema description coverage — the schema only declares it as a string. The description adds that it is a 'TableSpec JSON string', identifying the format, but never explains what a TableSpec is or what fields it requires, so the agent still cannot construct a valid input from the definition alone.

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 names three specific operations (validate a TableSpec, render to single-line HTML without inline styles, run table checks) on a clearly identified resource. It is far more specific than the title 'Table Build', though it never names or contrasts with the sibling table_from_markdown, so differentiation is left 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 Guidelines2/5

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

There is no explicit guidance on when to choose this tool over table_from_markdown or when not to use it. The implicit signal is that this tool takes a TableSpec JSON rather than markdown, but the description never states that condition, leaving the agent to work it out from the parameter name.

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