Skip to main content
Glama
408OS CLI MCP
by Paxton-PKJ

Get objective answer & mistake records (auto-enriched with year & question index)

408os_get_answer_history
Read-only

Queries your objective 408os answer submissions by date or preset, then resolves each question to exam year, question index, anki tags, and clickable exercise URL in one call.

Instructions

Queries the user’s objective answer submissions on 408os (study_history) and automatically resolves every question to its exam year, question_index (e.g. "2016 年第 5 题"), 3-level anki_tags (科目::章::知识点), and clickable exercise_url in a single call.

Best tool for questions like:

  • "我昨天错了哪些 408 题目?" -> preset: "yesterday", result_filter: "wrong" (both are the defaults!)

  • "今天/最近 7 天做了哪些题?" -> preset: "today" or "last_7_days", result_filter: "all"

  • "2026-12-02 那天的错题" -> date: "2026-12-02", result_filter: "wrong"

Important distinction: this returns objective choice submissions (OBJECTIVE_ANSWER_RECORD), not self-rated 掌握/不熟/不会 marks and not ungraded subjective/essay answers.

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": "408os_get_answer_history"
  }
}

Input Schema

NameRequiredDescriptionDefault
endNoExplicit window end (`YYYY-MM-DD` or ISO-8601 with offset, exclusive). Must pair with `start`.
dateNoSingle calendar date in Asia/Shanghai (`YYYY-MM-DD`, e.g. `2026-12-02`).
startNoExplicit window start (`YYYY-MM-DD` or ISO-8601 with offset, inclusive). Must pair with `end`.
presetNoConvenient Asia/Shanghai (+08:00) window preset. Defaults to `yesterday` when neither `date` nor `start`/`end` is given.
max_recordsNoMaximum submission records to fetch across pages (default 100, max 300).
question_idNoOptional filter for one specific `question_id`.
include_stemNoAlso attach cleaned question stem & options text to each unique question (default false).
result_filterNoFilter by objective correctness: `wrong` (default), `correct`, or `all`.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.6/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false and openWorldHint=false, so the safety profile is covered. The description adds real behavioral context beyond that: automatic per-question enrichment fields, implicit defaults (preset=yesterday, result_filter=wrong), and pagination bounds via max_records. It stops short of describing response shape or any rate/limit behavior, so not a 5.

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-loaded one-sentence summary of purpose and enrichment, followed by a compact bulleted example list and a single boundary sentence. The parenthetical '(both are the defaults!)' is the only mildly informal element and it carries genuine information, so nothing is wasted.

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?

For an 8-parameter read tool with no output schema, the description largely compensates by naming exactly which fields are auto-resolved per question. It leaves the overall response envelope (record list shape, ordering, what a record contains beyond the enriched fields) undescribed, which is the remaining gap.

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?

Schema description coverage is 100%, so the baseline is 3, and the description earns an extra point by showing how parameters combine in practice (preset with result_filter, date with result_filter) and by flagging that the defaults are already 'yesterday'+'wrong'. It still doesn't explain interaction rules when date and start/end are supplied together, but the added value over schema is real.

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 (queries objective answer submissions on 408os study_history) and enumerates the enrichment applied per question (year, question_index, anki_tags, exercise_url). It also draws an explicit boundary against what it does not return (self-rated 掌握/不熟/不会 marks, ungraded subjective answers), which no sibling tool name alone would convey.

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?

Provides concrete when-to-use examples mapping natural-language queries to exact parameter combinations (yesterday+wrong, today/last_7_days+all, date+wrong). The 'Important distinction' paragraph functions as an explicit when-not-to-use rule, steering the agent away from tools that handle self-rated or subjective answers.

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