Skip to main content
Glama
xjtlu-library-mcp

xjtlu-library-mcp

by seally-web

exam_detail

Retrieve full details for a single exam or paper, including title, course code, year, semester, department, confidentiality deadline, and browse/download permissions for the PDF.

Instructions

看一条试卷/论文的完整信息:标题、课程码、学年、学期、院系、保密截止日, 以及 can_browse / can_download(决定能否取到 PDF)。

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": {
      "record_id": "<record_id>"
    },
    "name": "exam_detail"
  }
}

Input Schema

NameRequiredDescriptionDefault
db_codeNoEXAMXJTLU
record_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.3

TDQS

B3.2/5.0
Behavior3/5

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

No annotations exist, so the description carries the full behavioral burden. It does add real value by disclosing that the response includes can_browse / can_download flags that gate whether a PDF can be fetched, but it is silent on permissions needed, behavior when a record is missing or access is denied, and which database is being read.

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?

A single front-loaded sentence that leads with the action and then the field list; the enumeration of returned fields is slightly long but each item is informative. No filler or redundant phrasing.

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?

With no output schema, the field enumeration usefully substitutes for a return-value description, and the access flags cover the most important downstream question. However, for a tool with two undocumented parameters and no annotations, the definition leaves an agent guessing about the identifier and database selector.

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% and the description mentions neither parameter. record_id is required but its provenance (presumably an ID from search results) is unstated, and db_code with its default EXAMXJTLU is completely undocumented in both schema and description.

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 and resource: retrieve the complete record for one exam paper/thesis ("看一条试卷/论文的完整信息"), and enumerates the fields returned. The word "一条" signals single-record detail versus the list-style sibling exam_search, though no sibling is named 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?

Usage is implied rather than stated: an agent can infer this is the detail lookup for a record obtained elsewhere, but the description never says where record_id comes from or when to prefer this over exam_search/exam_databases. No exclusions or prerequisites are given.

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