Skip to main content
Glama

export_special

Generate question and answer PDFs from a special with formatted layout. Optionally include analysis and star ratings. Increments usage count per item.

Instructions

把专项导出成题目卷 / 答案卷双 PDF(苏俊宇卷版式,HTML→无头 Chrome→PDF)。

导出即对专项内每道 item used_count+1(认证计数=拿去上课的信号,不可逆软计数)。 🔴 卷面纪律:★ 仅 with_stars=True 显示(默认隐藏);【解析】仅 with_analysis=True 附带; 卷面绝不出现内部词(层/素材/薄弱)。

参数: special_id: 专项 id(字符串)。 papers: ['question','answer'] 任子集,缺省两卷都出。 with_analysis: 答案卷是否含解析(默认 True)。 with_stars: 是否显示难度星标(默认 False=隐藏)。 返回: {ok, special_id, question_url?, answer_url?, marked_count};空专项(无题) → {ok:false, reason}。

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
papersNo
special_idYes
with_starsNo
with_analysisNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior5/5

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

The description discloses key behavioral traits: side effect of incrementing an 'used_count' counter on each item (irreversible), and specifics about page content (stars, analysis, no internal terms). This goes beyond what annotations would provide, and since no annotations exist, the description fully bears the burden.

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 well-structured with sections, bullet points, and clear explanations. It is somewhat long but every sentence adds value. Minor redundancy could be trimmed, but overall it is efficient.

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 the tool's complexity (4 parameters, side effects, output schema), the description is complete. It covers purpose, parameters, side effects, return format, and edge cases (empty special). No gaps identified.

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

Parameters5/5

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

The input schema has 0% description coverage, so the description fully compensates by explaining each parameter in detail (special_id, papers, with_analysis, with_stars) including defaults and behavior. This adds significant meaning beyond the raw schema.

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's purpose: export a special (a set of questions) into question and answer PDFs. It uses a specific verb ('导出') and resource ('专项'), distinguishing it from sibling tools like 'compose_special' or 'bind_special_to_lesson'.

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 explains what the tool does but does not explicitly state when to use it versus alternatives. There is no guidance on prerequisites or when not to use it. Usage is implied by the tool's purpose.

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