Skip to main content
Glama

从上传剧情由Pavo生成分集

pavo_script_import_file
Idempotent

Validates an existing upload receipt and local source-file SHA, extracts plot data, then requests Pavo AI to generate planned script episodes without re-uploading or full script parsing.

Instructions

使用本账号成功上传回执,核本地源文件SHA并提取剧情,以requirements调用官网AI生成分集,不再调用projects/upload完整剧本解析。兼容原上传回执,但源文件须仍存在且未改;不下载任意URL或重新上传。计划集数1至100;可能消耗额度,需本次生成授权,不自动确认大纲。

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "upload_operation_id": "<upload_operation_id>",
      "ratio": "<ratio>",
      "style": "<style>",
      "operation_id": "<operation_id>",
      "planned_episode_count": "<planned_episode_count>"
    },
    "name": "pavo_script_import_file"
  }
}

Input Schema

NameRequiredDescriptionDefault
ratioYes
styleYes
operation_idYes
upload_operation_idYes
planned_episode_countYes

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.1

TDQS

A3.8/5.0
Behavior5/5

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

Even with annotations present, the description adds substantive behavior: it consumes quota, requires per-session generation authorization, and does not auto-confirm the outline. It also states that the source file must still exist and be unchanged, and that it will not download URLs or re-upload. That is exactly the operational context an agent needs before invoking a costly generation task, and it is consistent with openWorldHint=true and destructiveHint=false.

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 purpose and the key precondition come first, followed by exclusions and the quota/authorization caveat, so the ordering is sensible for a single dense sentence chain. It is tight overall, though the semicolon-chained clauses pack several distinct facts together, and the reference to a non-existent 'requirements' field is wasted text.

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?

An output schema exists, so return values need no explanation, and the mutation/quota/auth profile is well covered. The remaining gap is the input side: with 0% schema coverage, an agent still cannot tell what 'ratio' or the nested 'style' object should contain, which is material for a tool that spends quota on generation. Adequate but incomplete for a five-parameter generative mutation.

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

Parameters2/5

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

Schema description coverage is 0% for five required parameters, including a nested style object, so the description carries the full burden and largely fails to meet it. It constrains planned_episode_count to 1-100 and implies upload_operation_id comes from a prior upload receipt, but ratio, style, and operation_id are never explained, and 'requirements' is mentioned without a matching parameter. Only partial compensation for the coverage gap.

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 uses specific verbs and a clear resource: verify the local source file's SHA from a successful upload receipt, extract the story, and call the official-site AI to generate episodes. It also distinguishes this tool from the full-script parsing path (projects/upload 完整剧本解析) and from re-uploading. It loses a point for referencing 'requirements', which is not among the five schema parameters, creating mild ambiguity about what is actually being submitted.

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?

It gives a clear precondition (a successful upload receipt from this account, source file still present and unmodified), an explicit 'don't' (no downloading arbitrary URLs, no re-uploading, no full-script parsing), and a scope limit (1-100 planned episodes). What it does not do is name a sibling alternative such as pavo_script_import_text or pavo_script_create_ai and state when an agent should choose those instead.

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