Skip to main content
Glama

quote_frames

Get a quote before batch frame generation. Specify episode, frame type, and optional model to see estimated points and price breakdown with zero deduction.

Instructions

报价:给某一集批量出帧要多少点。返回 frames_to_generate、estimated_points、quote_id。零扣费。frame_type 默认 first_frame(只给缺首帧的镜出);last_frame 只给「已有首帧且缺尾帧」的镜出;both 两者都补。★报价按实际会用的模型与分辨率分档,响应带 price_breakdown(逐档张数与单价);打算在 generate_frames 里临时换模型,报价时就要把同一个 image_model 传进来,否则两边不是一个价。

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
episode_idYes
frame_typeNo默认 first_frame;last_frame=补尾帧;both=首尾都补
image_modelNo按这个模型报价(须与随后 generate_frames 传的一致;不传=用 drama 级设定,默认香蕉2)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.57

TDQS

A4.3/5.0
Behavior5/5

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

With no annotations supplied, the description carries the full burden and does so well: it discloses zero deduction, the exact return fields, price tiering by model/resolution, price_breakdown content, and the consequence of mismatching image_model. It also reveals the default model/level assumption when image_model is omitted.

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

Conciseness5/5

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

The description is front-loaded with the core purpose, then presents return values, frame_type options, and the pricing caveat in a compact, scannable format. Every sentence contributes necessary information with no filler.

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 a tool with no output schema and no annotations, the description covers the important operational details: what is returned, what costs nothing, how frame_type selects shots, and how to keep pricing consistent with generate_frames. It could be slightly stronger by stating explicitly that the returned quote_id is meant to be used with generate_frames, but the connection is strongly implied.

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?

The schema already covers frame_type and image_model, and the description adds meaningful detail: the precise conditions for first_frame/last_frame/both and why image_model must match generate_frames. episode_id remains lightly described, but the purpose statement identifies it as the episode being quoted.

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 operation: quoting how many points are needed to batch-generate frames for an episode, and names the key response fields (frames_to_generate, estimated_points, quote_id). It is specific enough to distinguish from shot-level or scene-level quotation siblings, though it does not explicitly name an alternative.

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 actionable context: explains frame_type semantics with default behavior, and instructs that image_model must match the one later passed to generate_frames or the prices will differ. It does not explicitly state when to use quote_frames versus quote_shot_frame or quote_scene_images, so it stops short of a full 5.

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

Deploy Server

Other Tools