Skip to main content
Glama

get_teacher_full_profile

Read-onlyIdempotent

Read a ZJU teacher’s full profile or selected homepage sections, with paging and partial results when a section fails.

Instructions

读取全部或指定栏目;单栏失败返回 partial。续读时保留 teacher_ref 和 section_ids。

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>"
    },
    "name": "get_teacher_full_profile"
  }
}

Input Schema

NameRequiredDescriptionDefault
cursorNo
freshnessNolive
max_charsNo本页最多返回的正文字符数
section_idsNo
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.5/5.0
Behavior3/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 one genuine behavioral nugget beyond that: a failed individual section yields partial results rather than an error. It does not explain freshness/caching behavior or what 'partial' looks like in the response, leaving gaps.

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?

Two compact sentences, action first then the continuation rule, with no filler. It is efficient, though arguably under-specified for a 6-parameter paginated tool rather than wordy.

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 explained, and annotations carry the safety profile. What remains thin is parameter semantics for freshness/allow_stale_on_error, but the core call pattern (fetch all, or specific section_ids, continue with retained refs) is fully conveyed.

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 coverage is 33%, with cursor, freshness and allow_stale_on_error undocumented anywhere. The description partially compensates by tying section_ids to continuation ('续读时保留 teacher_ref 和 section_ids'), making the pagination pattern inferable, but it says nothing about freshness or stale fallback semantics, which are exactly the params the schema leaves blank.

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 verb+resource is clear: read all sections or specified sections of a teacher's full profile. By saying 全部或指定栏目 it implicitly distinguishes itself from the single-section sibling get_teacher_section, but it never explicitly names the sibling or states what "full" means versus get_teacher_profile.

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 only implied: fetch everything, or pass section_ids to narrow scope, and retain teacher_ref/section_ids when continuing. There is no explicit when-not guidance and no named alternative tool, so an agent must infer that search_teachers/get_teacher_section precede this call.

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