Skip to main content
Glama

query_test_result

Obtain each student's test record and the necessary mark_mode_id to start grading.

Instructions

[批改第1步] 查询所有学生的答题情况,返回 mark_mode_id(后续批改必需)和每位学生的 record_id

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
group_idYes课程组id(通过 query_teacher_groups 获取)
paper_idYes试卷ID(通过 query_group_tasks 获取)
publish_idYes发布id(来自 query_group_tasks 的 publish_id 字段)
detail_levelNo答题粒度:summary=得分/状态,full=含答题内容summary
Behavior3/5

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

No annotations provided, so description must carry full burden. It states it queries data and returns specific fields, implying a read operation. It does not detail auth, rate limits, or error states, but is adequate for understanding basic behavior.

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 a single sentence that is front-loaded with a step indicator and captures the core purpose efficiently. It avoids unnecessary details.

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?

With 4 parameters and no output schema, the description mentions key return values (mark_mode_id, record_id) which is helpful. However, it lacks details on pagination, error handling, or performance, leaving some gaps given the query-all nature.

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?

All parameters have descriptions in the schema (100% coverage), so baseline is 3. The description adds workflow context but does not significantly enhance parameter understanding beyond the schema.

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 clearly states it queries test results for all students and returns key IDs for grading. It uses specific verbs and resources, and while it does not explicitly differentiate from siblings, the context of grading step 1 distinguishes it.

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 marks it as the first step in grading and notes that mark_mode_id is required for subsequent steps, providing clear context for when to use it within a grading workflow. It does not specify when not to use, but the guidance is strong.

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/Sav1ouR520/xiaoya-teacher-mcp-server'

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