Skip to main content
Glama

fudan_jw_teaching_week

Read-onlyIdempotent

Queries the Fudan undergraduate teaching week and its Monday–Sunday date range for a given Beijing date, defaulting to today; reports when a date falls outside known semesters.

Instructions

按北京时间的日期查询对应本科教学周及周一至周日范围,默认今天。日期超出已知学期范围时说明限制。

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

Input Schema

NameRequiredDescriptionDefault
dayNo
semester_idNo

Output Schema

NameRequiredDescriptionDefault
dayNo
pageNo
textNo
weekNo
totalNo
sourceNo复旦教务 · 本科开课与教学大纲
statusYes
lessonsNo
messageYes
sectionsNo
week_endNo
lesson_idNo
semestersNo
fetched_atNo
week_startNo
assessmentsNo
semester_idNo
total_pagesNo
syllabus_urlNo
selected_coursesNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive, openWorld, so the safety profile is covered. The description adds valuable behavior beyond that: the date interpretation timezone (北京时间), the default-to-today behavior, and what happens for out-of-range dates. Return shape is left to the output schema, which exists.

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?

Two short sentences, zero filler, with the core function stated first and the edge-case caveat second. Every clause carries information an agent needs.

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?

An output schema exists, so return values need not be described, and annotations cover the safety profile; the description fills in timezone, default, and out-of-range behavior. The remaining gap is the undocumented semester_id semantics, which is meaningful but secondary for a small two-parameter lookup tool.

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

Parameters3/5

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

Schema description coverage is effectively 0% per the signal, so the description must carry parameter meaning. It clarifies the day parameter (Beijing-time date, defaults to today) but says nothing about semester_id, leaving an agent to guess how the semester selection affects the returned teaching week.

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 a specific resource (本科教学周及周一至周日范围) with the input basis (北京时间日期). It is distinguishable from timetable/course-list siblings, though it does not explicitly name which sibling to use for related needs.

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 description supplies a default (默认今天) and an edge-case behavior (日期超出已知学期范围时说明限制), which is real usage context. It gives no explicit when-to-use vs. when-not guidance or alternatives for looking up semester or timetable data.

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