Skip to main content
Glama

list_kg_tree

Retrieve the knowledge point hierarchy to select leaf IDs for exam paper composition. Returns top-level nodes with nested children.

Instructions

查平台知识点树(组卷的知识点白名单源)。返回顶层节点 + children 嵌套。

编排层(Claude Code)据此选要考查的知识点叶子 id,喂给 compose_paper 的 outline.subjectId。 返回: {ok, nodes:[{id,name,children?}, ...]};空树 → {ok:true, nodes:[]} 不报错。

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior5/5

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

With no annotations, the description fully bears the burden and delivers: it explains the return format, nesting structure, and empty tree handling. This enables the agent to predict behavior accurately.

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?

The description is concise, front-loading the main action. It includes usage context and return format in three sentences, which is efficient and well-structured.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given zero parameters and an output schema that is partially described, the description is complete. It covers the return type, structure, and edge case (empty tree), and explains how the output is used.

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

Parameters4/5

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

The tool has zero parameters, so the description does not need parameter details. Baseline is 4 as per guidelines, and the description adds no unnecessary param info.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the tool queries the knowledge point tree for composing papers. It specifies the return structure (top-level nodes with children) and its role in feeding IDs to compose_paper, distinguishing it from sibling tools.

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?

The description implies usage before compose_paper to obtain subject IDs, providing clear context. However, it lacks explicit when-not-to-use or alternative tools, which is acceptable given the specific role.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/RuntimeAll/teacher-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server