Skip to main content
Glama

get_teacher_profile

Read-onlyIdempotent

Reads a ZJU teacher’s basic info, research areas, citable evidence, and section list from a homepage URL or alias without loading all section bodies.

Instructions

读取教师基本信息、研究方向、原文证据和栏目清单,不加载所有栏目正文。

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_profile"
  }
}

Input Schema

NameRequiredDescriptionDefault
freshnessNolive
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

B3.3/5.0
Behavior3/5

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

Annotations already declare readOnly, idempotent, openWorld, and non-destructive, so safety is covered. The description adds one genuinely useful behavioral fact — section bodies are not loaded, which bounds the response size and token cost — but says nothing about caching, staleness, or what happens when a live fetch fails, all of which the freshness/allow_stale_on_error params imply are relevant.

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?

A single compact sentence that front-loads the returned fields and then the scope limit. Nothing is redundant or boilerplate.

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?

An output schema exists, so return values need not be described, and the content-scope statement is helpful. However, two of three parameters (freshness, allow_stale_on_error) control meaningful retrieval behavior and go unexplained, leaving the definition adequate but not complete for the tool's actual calling surface.

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 coverage is only 33%: only teacher_ref is documented ('教师主页 URL 或别名'). The freshness enum and allow_stale_on_error boolean carry no explanation in the schema, and the description does not compensate — it never mentions live-vs-cached reads or stale fallback, which are exactly the decisions an agent must make before calling.

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 (教师基本信息) plus the exact payload it returns: research directions, original-text evidence, and section list. The closing clause '不加载所有栏目正文' delimits scope against profile/section readers, though it never names those siblings 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?

The negative scoping clause implies when to use this instead of a fuller read (when you want an overview without section bodies), but the agent must infer that from behavior rather than being told 'use get_teacher_full_profile / get_teacher_section when...'. No prerequisites or exclusions beyond the body-text note.

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