Skip to main content
Glama

persist_variants

Persist verified question variants to obtain real question IDs, returning a view URL for review.

Instructions

把变式落库拿真实 qid(owner=登录老师)。🔴 落库前须逐题 verify_variant(说明书铁律)。

参数: thread_id;item_ids: 只落指定几题(item_id/seq 字符串列表);缺省=全部入库。 返回: {ok, results:[{item_id, question_id:str}], view_url}(题库页深链,老师视觉验收入口)。

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
item_idsNo
thread_idYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior3/5

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

With no annotations provided, the description partially covers behavior: it indicates the tool is a write operation (storing), mentions ownership by logged-in teacher, and outlines return values. However, it does not disclose mutability, idempotency, or full authorization requirements.

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, with a clear structure: action, prerequisite, parameters, return value. Each sentence contributes meaning, though it could be slightly more streamlined.

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?

The description covers the tool's purpose, parameters (mostly), and output format. However, the required thread_id parameter is not defined, and the 'manual' reference is vague. For a tool with two parameters, this is adequate but not fully complete.

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?

Given 0% schema description coverage, the description compensates well by explaining item_ids (optional list, default stores all) and the return structure, but does not explain the required thread_id parameter beyond its name.

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 the action: store variants into database to get real question IDs. It distinguishes itself from siblings by mentioning the prerequisite verify_variant, though not explicitly comparing with other tools.

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 description specifies a prerequisite (verify each variant before storing) and explains default behavior for the item_ids parameter, but lacks explicit guidance on when not to use this tool or alternatives.

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