Skip to main content
Glama

get_teacher_section

Read-onlyIdempotent

Fetch and read a teacher's ZJU homepage section as Markdown; use the returned cursor to continue paging the same snapshot with the same teacher and section.

Instructions

读取指定栏目 Markdown;next_cursor 续读同一快照,保留教师和栏目参数。

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": {
      "teacher_ref": "<teacher_ref>",
      "section_id": "<section_id>"
    },
    "name": "get_teacher_section"
  }
}

Input Schema

NameRequiredDescriptionDefault
cursorNo
freshnessNolive
max_charsNo本页最多返回的正文字符数
section_idYes从基本信息工具发现的栏目 ID
teacher_refYes教师主页 URL 或别名
allow_stale_on_errorNo

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.9/5.0
Behavior4/5

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

Beyond the read-only and idempotent annotations, it discloses snapshot consistency across continuation requests and the need to preserve identifying parameters. It does not explain cache freshness or stale fallback on errors, but the snapshot guarantee is meaningful additional behavioral context.

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 compact clauses front-load the purpose and then provide the continuation rule, with no filler or repetition. The wording is dense but efficient and actionable.

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?

The required inputs are covered by the schema, the output schema reduces the need to describe return values, and the description supplies the key pagination invariant. For a six-parameter read tool, however, omitting the semantics of freshness and allow_stale_on_error leaves meaningful invocation choices underexplained.

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?

With 50% schema coverage, the description usefully clarifies the otherwise undocumented cursor workflow by linking next_cursor to same-snapshot continuation and parameter retention. It adds nothing for freshness or allow_stale_on_error, so it only partially compensates for the undocumented parameters.

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 gives a concrete operation and resource: read the Markdown for a specified section. Its single-section scope is clear, but it does not explicitly distinguish the tool from get_teacher_profile or get_teacher_full_profile.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

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

It explicitly explains the continuation case: use next_cursor to keep reading the same snapshot while retaining the teacher and section parameters. This is useful operational context, although there is no guidance on when to prefer this tool over the profile siblings or when to choose live versus cached reads.

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