Skip to main content
Glama

create_code_question

Add a programming question to a test paper. Configure language, test cases, time and memory limits, and a reference code solution.

Instructions

创建编程题

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
paper_idYes试卷ID(通过 query_group_tasks 获取)
questionYes编程题。各字段说明: title_raw 题干富文本,建议分行写:题目说明 / 输入格式 / 输出格式 / 样例 description 解析或补充说明,不能放参考代码 program_setting 配置语言、code_answer 参考代码、in_cases 测试输入列表、内存/时间限制
need_detailNo是否在返回中包含完整题目内容(选项、答案等),仅需确认成功时设为 false
need_parseNotrue 返回纯文本(plain),false 返回原始富文本结构(raw)
Behavior1/5

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

No annotations are provided, so the description bears full responsibility. The phrase '创建编程题' only states the action and fails to disclose behavioral traits such as side effects, permissions, error conditions, or impact on the system.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness2/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is extremely short (4 Chinese characters), which could be concise, but it is under-specified and fails to provide necessary context. It does not earn its place as it offers no value beyond the name.

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

Completeness1/5

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

Given the complexity of the tool (4 parameters, nested CodeQuestion schema) and the absence of annotations and output schema, the description is severely incomplete. It does not help the agent understand the tool's purpose in context.

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?

The input schema has 100% description coverage, so the structured data already explains all parameters. The description adds no additional meaning beyond what the schema provides, earning the baseline score of 3.

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

Purpose3/5

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

The description '创建编程题' restates the tool's name (create_code_question) without adding specificity. It conveys that the tool creates a programming question but does not differentiate it from sibling tools like create_multiple_choice_question or create_single_choice_question, which also create questions.

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

Usage Guidelines1/5

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

The description provides no guidance on when to use this tool versus alternatives. There is no mention of prerequisites, context, or when not to use it, leaving the agent without decision support.

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