Skip to main content
Glama

refresh

Regenerate index.html, how.html, and static assets for one or all flashcard decks using existing deck.json, without changing the JSON.

Instructions

Re-render index.html, how.html, and static for each deck from deck.json (no JSON edits).

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": "refresh"
  }
}

Input Schema

NameRequiredDescriptionDefault
slugNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.2/5.0
Behavior3/5

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

No annotations are provided, so the description carries the full load. It usefully discloses a non-destructive trait (deck.json is not modified), which is real behavioral information, but it says nothing about whether existing index.html/how.html contents are overwritten, whether authored edits are lost, permissions required, or what the call returns.

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?

One front-loaded sentence with no filler; the verb leads and the parenthetical adds a constraint rather than restating the name. Slightly penalized because 'static' is unexplained jargon and the deck-scoping detail is squeezed into a vague 'for each deck'.

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?

For a low-complexity tool with an optional parameter and no output schema, this covers the core action and the JSON-preservation guarantee. It is still incomplete on the one thing the schema leaves blank: what the optional slug does and what the default scope is.

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?

Schema description coverage is 0% for the single 'slug' parameter, and the description does not compensate. 'For each deck' suggests an all-decks default, but it never clarifies that passing slug narrows the operation to one deck, which is exactly the ambiguity an agent must resolve before calling.

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 (re-render) and enumerates the concrete artifacts produced (index.html, how.html, static) plus the source (deck.json). The parenthetical '(no JSON edits)' implicitly separates it from save_deck, so an agent can tell it is a render-only operation.

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 '(no JSON edits)' clause implies the right context: use this when the deck data already exists and only the rendered output needs regenerating. However, it never explicitly says 'use save_deck to change data, use refresh to re-render', nor does it state prerequisites such as deck.json existing.

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