Skip to main content
Glama
Alieforwang

xunfeiPpt MCP Server

by Alieforwang

create_ppt_by_outline

Create a PowerPoint presentation from an outline and template. Input the outline content and template ID to generate the PPT slides.

Instructions

根据大纲创建PPT - 使用直接创建方式(绕过API bug)。使用说明:1. 用于根据已生成的大纲创建PPT。2. 大纲需通过create_outline或create_outline_by_doc工具生成。3. template_id需通过get_theme_list工具获取。4. 工具会返回任务ID(sid),需用get_task_progress轮询查询进度。5. 任务完成后,可从get_task_progress结果中获取PPT下载地址。6. 需先设置环境变量AIPPT_APP_ID和AIPPT_API_SECRET。

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
textYesPPT生成的内容描述,用于指导PPT生成
authorNoPPT作者名称,将显示在生成的PPT中XXXX
searchNo是否联网搜索,True表示联网搜索补充内容,False表示不联网
outlineYes大纲内容,需从create_outline或create_outline_by_doc工具返回的JSON响应中提取['data']['outline']字段的值。该字段包含生成的大纲内容,格式为dict
ai_imageNoAI配图类型,仅在is_figure为True时生效。可选值:normal-普通配图(20%正文配图),advanced-高级配图(50%正文配图)normal
is_figureNo是否自动配图,True表示自动配图,False表示不配图
template_idYesPPT模板ID,需通过get_theme_list工具获取
is_card_noteNo是否生成PPT演讲备注,True表示生成,False表示不生成

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.9/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does well: it discloses the async contract (returns sid), the required downstream polling step, where the download URL surfaces, and an authentication prerequisite (AIPPT_APP_ID / AIPPT_API_SECRET). Failure modes, timeouts, and rate limits are not covered, keeping it short of a 5.

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?

Front-loaded with the core action before the numbered usage steps, and each step earns its place by advancing the workflow. Slight redundancy with the schema descriptions in points 2 and 3 keeps it from being maximally tight.

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

Completeness4/5

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

For an 8-parameter async tool with no annotations and no output schema, the description compensates well by explaining the sid/polling/download flow. What remains missing is how the tool relates to the other creation siblings, but the operational picture is essentially complete.

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?

Schema coverage is 100%, so the schema already documents all eight parameters. The description only restates the outline/template_id sourcing that the schema descriptions already contain, adding no new semantic detail (e.g. acceptable outline shapes or default behavior). Baseline 3 applies.

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?

States a specific verb+resource (创建PPT based on 大纲) and notes the direct-creation variant that bypasses an API bug. It references the sibling tools for prerequisites, but never explicitly contrasts itself with create_ppt_task or create_full_ppt_workflow, so an agent can't fully disambiguate the creation siblings from the description alone.

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?

Gives a clear numbered workflow: use it only after an outline exists, obtain template_id via get_theme_list, then poll with get_task_progress. This is strong context, but it never states when a different creation tool (e.g. create_full_ppt_workflow) would be the better choice.

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